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 |
|
|
387 |
|
DoorOSD Door; //incomplete |
388 |
|
} DoorObject; |
389 |
|
|
390 |
– |
|
390 |
|
typedef struct { |
391 |
|
int32_t Flags; |
392 |
|
int32_t Frame; |
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; |
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; |