ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSVC/Oni_GameState.h
(Generate patch)

Comparing Daodan/MSVC/Oni_GameState.h (file contents):
Revision 578 by gumby, Wed Jan 12 18:47:16 2011 UTC vs.
Revision 582 by gumby, Wed Jan 19 04:35:43 2011 UTC

# Line 768 | Line 768 | typedef struct
768    int Flags;
769    int field_8;
770    ONCC* ONCC;
771 <  __int16 field_10;
771 >  __int16 ONCCnumber;
772    __int16 Team;
773    char Name[32];
774    int BodySize;
# Line 798 | Line 798 | typedef struct
798    int field_180;
799    int BNV;
800    int GraphNode;
801 <  int PelvisHeight;
801 >  float PelvisHeight;
802    int field_190;
803    Inventory Inventory;
804    Vector3 Velocity;
# Line 1256 | Line 1256 | typedef struct
1256    int field_21A8;
1257    int field_21AC;
1258    Vector3 field_21B0;
1259 <  int HeadFacing;
1260 <  int HeadPitch;
1259 >  float HeadFacing;
1260 >  float HeadPitch;
1261    int field_21C4;
1262    int field_21C8;
1263    int field_21CC;
# Line 1319 | Line 1319 | typedef struct
1319    char field_2837;
1320   } ActiveCharacter;
1321  
1322 + typedef struct
1323 + {
1324 +        char name[64];  // Must be same as ONcMaxLevelName above (for TE)
1325 +        
1326 +        void *env;
1327 +        void *objectsetup;
1328 +        void *markers;
1329 +        void *flags;
1330 +        void *triggers;
1331 +        
1332 +        void *Sky;
1333 +        float   SkyHeight;
1334 +
1335 +
1336 + } OniLevel;
1337 +
1338   typedef struct
1339   {
1340    int TimerMode;
# Line 1378 | Line 1394 | typedef struct
1394    int GameTime;
1395    int field_148;
1396    int field_14C;
1397 <  int Level;
1397 >  OniLevel* Level;
1398    int field_154;
1399    MotionBlur MotionBlur_[64];
1400    int MotionBlurCount;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)