Commit Graph
20 Commits
Author SHA1 Message Date
GreaseMonkey 889ae950fe Fix a few cases of UB incl. OoB
Behaviour should be mostly the same but there are some OoB accesses in the menu code where I've had to assume things.

Tests for each OoB case:

- Accessing of layer -1: Select a game file in the "Choose Your Reality" screen.
- Accessing of menu for the 5th player: Die in a mission.
2023-08-29 10:23:14 +12:00
Ryan Dwyer 0b1aabf345 Set names for a heap of shotdata symbols 2023-08-27 21:27:53 +10:00
Ryan Dwyer 83e8265d5b Introduce RoomNum typedef 2023-06-20 19:14:13 +10:00
Ryan Dwyer 92075c6fe7 Name almost all BG symbols 2023-05-23 19:37:20 +10:00
Ryan Dwyer aa4d7a34bd Decompile camIsPosInFovAndVisibleRoom 2022-09-18 16:46:45 +10:00
Ryan Dwyer bbf52f580b Add support for non-matching ntsc-final builds 2022-09-09 17:19:48 +10:00
Ryan Dwyer b1a36e9c2d Attempt to decompile beamRender 2022-07-16 12:22:57 +10:00
Ryan Dwyer 5d8f96f36a Decompile bgChooseRoomsToLoad and discover more room and portal flags 2022-07-11 23:42:04 +10:00
Ryan Dwyer a8139c1457 Rename player mtx properties 2022-07-11 19:02:09 +10:00
Ryan Dwyer 576e02f9d4 Decompile func0f03e9f4 2022-04-20 17:31:44 +10:00
Ryan Dwyer 471192c004 Decompile camIsPosInScreenBox 2022-04-19 17:50:08 +10:00
Ryan Dwyer c8cfd4375a Decompile cam0f0b5050 2022-04-18 23:22:49 +10:00
Ryan Dwyer 9ca16793b4 Decompile cam0f0b53a4 2022-04-18 23:17:59 +10:00
Ryan Dwyer 7614c7f631 Decompile cam0f0b5838 2022-04-18 22:53:50 +10:00
Ryan Dwyer 6f89f7685f Decompile cam0f0b5b9c 2022-04-18 18:51:48 +10:00
Ryan Dwyer e637b9a7f5 Attempt to decompile cam0f0b6260 2022-04-18 18:41:50 +10:00
Ryan Dwyer 40364685e1 Decompile cam0f0b4eb8 2022-04-18 16:35:34 +10:00
Ryan Dwyer e21e1cb33f Rename tex.c to texselect.c, surface.c to tex.c 2022-04-17 14:44:07 +10:00
Ryan Dwyer 2d923e9942 Decompile cam0f0b4c3c 2022-04-16 21:06:15 +10:00
Ryan Dwyer 70375816f1 Rename most remaining game files 2022-03-23 21:22:06 +10:00