Difference between revisions of "III/VC SCM"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
Line 11: Line 11:
 
   32 bit int                Largest mission size
 
   32 bit int                Largest mission size
 
   32 bit int                Number of missions
 
   32 bit int                Number of missions
 
 
   (mission addresses)        32 bit addresses * number of missions
 
   (mission addresses)        32 bit addresses * number of missions
 
  (MAIN code)                  MAIN section, equal to size defined earlier
 
  (MAIN code)                  MAIN section, equal to size defined earlier

Revision as of 16:42, 15 November 2005

(02 00 01)h + 32 bit int     Jump to second segment
byte                         Padding
  (Global vars)              Space for variable saving
(02 00 01)h + 32 bit int     Jump to third segment
byte                         Segment id
  32 bit int                 Number of models
  (model names)              24 byte model names * number of models(model 0 not used)
(02 00 01)h + 32 bit int     Jump to fourth segment
byte                         Segment id
  32 bit int                 MAIN size
  32 bit int                 Largest mission size
  32 bit int                 Number of missions
  (mission addresses)        32 bit addresses * number of missions
(MAIN code)                  MAIN section, equal to size defined earlier
(mission code)               The mission data, missions stored at offsets defined earlier

NOTE: this document may be missing some data