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 573 by gumby, Thu Sep 9 09:27:04 2010 UTC vs.
Revision 574 by gumby, Mon Oct 11 08:22:59 2010 UTC

# Line 360 | Line 360 | typedef struct {
360          int field_28;                   //unknown
361   } OSD_Header;
362  
363 < typedef struct
364 < {
365 <        short ID;      
366 <        short flags;
367 <
368 <        short keys;
369 <        short open_time;
370 <
371 <        float activate_radius_squared;
372 <
373 <        short state;    
374 <        short blocked_frames;                                          
375 <
376 <        short open_time_left;                                          
377 <        short some_timer;
378 <
379 <        Vector3 center_offset;                                          
380 <        char name[63];
381 <        char pad;
363 > typedef struct
364 > {
365 >        short ID;      
366 >        short flags;
367 >
368 >        short keys;
369 >        short open_time;
370 >
371 >        float activate_radius_squared;
372 >
373 >        short state;    
374 >        short blocked_frames;                                          
375 >
376 >        short open_time_left;                                          
377 >        short some_timer;
378 >
379 >        Vector3 center_offset;                                          
380 >        char name[63];
381 >        char pad;
382          void *class;
383   } DoorOSD;
384  
# Line 387 | Line 387 | typedef struct {
387          DoorOSD Door; //incomplete
388   } DoorObject;
389  
390
390   typedef struct {
391          int32_t Flags;
392          int32_t Frame;
# Line 1286 | Line 1285 | typedef struct
1285    char gap_2218[4];
1286    int field_221C;
1287    char gap_2220[8];
1288 <  int field_2228;
1288 >  Matrix4x3  * ExtraBody;
1289    char gap_222c[76];
1290    Matrix4x3 BoneMatrices[19];
1291    Matrix4x3 WeaponMatrix;
# Line 1428 | Line 1427 | typedef struct
1427   } GameState;
1428   #endif
1429  
1430 < typedef struct
1431 < {
1432 <        int                     priority;
1433 <        int timer;                                              // amount of time to display the text
1434 <        char                            prefix[10];     // prefix for the line
1435 <        char                            text[502];              // text on the line
1436 <        const char                      *identifier;
1437 <        int                     text_color;
1438 <        int                     text_shadow;
1430 > typedef struct
1431 > {
1432 >        int                     priority;
1433 >        int timer;                                              // amount of time to display the text
1434 >        char                            prefix[10];     // prefix for the line
1435 >        char                            text[502];              // text on the line
1436 >        const char                      *identifier;
1437 >        int                     text_color;
1438 >        int                     text_shadow;
1439   } COtTextEntry;
1440  
1441 < typedef struct
1442 < {
1443 <        void            *font_family;
1444 <        void *text_context;                             // text context to do the drawing
1445 <        short                   formatting;
1446 <        short                   font_size;
1447 <        char                            scale_font;
1448 <        char                            bottom_justify;
1449 <        char                            display_completion;
1450 <        char                            fade_over_bounds;
1451 <        char                            use_formatting_commands;
1452 <
1453 <        short                           bounds[4];
1454 <        short                   num_text_entries;
1455 <        short max_text_entries;
1456 <        char pad[3];
1457 <        COtTextEntry            *text_entries;                          // an array (num_text_entries long) of COtTextEntry
1458 <                int blah;
1459 <                int blah2;
1460 <                        int blah3;
1441 > typedef struct
1442 > {
1443 >        void            *font_family;
1444 >        void *text_context;                             // text context to do the drawing
1445 >        short                   formatting;
1446 >        short                   font_size;
1447 >        char                            scale_font;
1448 >        char                            bottom_justify;
1449 >        char                            display_completion;
1450 >        char                            fade_over_bounds;
1451 >        char                            use_formatting_commands;
1452 >
1453 >        short                           bounds[4];
1454 >        short                   num_text_entries;
1455 >        short max_text_entries;
1456 >        char pad[3];
1457 >        COtTextEntry            *text_entries;                          // an array (num_text_entries long) of COtTextEntry
1458 >                int blah;
1459 >                int blah2;
1460 >                        int blah3;
1461   } COtTextArea;

Diff Legend

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