Skip to content

Commit

Permalink
tr2/docs: fix syntax errors in symbol definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Nov 14, 2024
1 parent d232060 commit 43d4811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/tr2/progress.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,7 @@ typedef struct __unaligned { // decompiled
int16_t back_gun;
int16_t flare_frame;
union {
uint16_t flags;
struct ___unaligned {
uint16_t flare_control_left: 1; // 0x01 1
uint16_t flare_control_right: 1; // 0x02 2
Expand All @@ -1255,8 +1256,7 @@ typedef struct __unaligned { // decompiled
uint16_t burn: 1; // 0x10 16
uint16_t pad: 11;
};
uint16_t flags;
}
};
int32_t water_surface_dist;
XYZ_32 last_pos;
FX *spaz_effect;
Expand Down Expand Up @@ -4604,7 +4604,7 @@ typedef enum {
0x005261AC - int32_t g_OutsideTop;
0x00525B00 - int32_t g_OutsideBottom;
0x00525900 - int32_t g_BoundRooms[128]; // MAX_BOUND_ROOMS
0x005258C0 - DOOR_VBUF g_DoorVBuf[4];
0x005258C0 - PORTAL_VBUF g_DoorVBuf[4];
0x00464180 - int32_t g_BoxLines[12][2];
0x00526190 - BOOL g_CameraUnderwater;
0x005263D0 - int32_t g_BoxCount;
Expand Down
2 changes: 1 addition & 1 deletion src/tr2/global/vars_decomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@
#define g_Outside (*(int32_t*)0x005252B4)
#define g_DrawRoomsCount (*(int32_t*)0x005252B8)
#define g_IMMatrixStack (*(MATRIX(*)[256])0x005252C0)
#define g_DoorVBuf (*(DOOR_VBUF(*)[4])0x005258C0)
#define g_DoorVBuf (*(PORTAL_VBUF(*)[4])0x005258C0)
#define g_IMFrac (*(int32_t*)0x005258F0)
#define g_Anims (*(ANIM **)0x005258F4)
#define g_BoundRooms (*(int32_t(*)[128])0x00525900)
Expand Down

0 comments on commit 43d4811

Please sign in to comment.