Commit graph

2454 commits

Author SHA1 Message Date
rr-
3568d8aabc text: rename functions 2021-11-11 18:00:27 +01:00
rr-
f75626fc12 text: use bool 2021-11-11 18:00:27 +01:00
rr-
adbf5378aa vars: drop padding information
We no longer have need for it. OG types are documented in docs/ida_types.h.
2021-11-11 18:00:27 +01:00
rr-
35afe7cdd6 game/draw: simplify 3d pickup lighting 2021-11-11 01:52:26 +01:00
rr-
8df7be07f0
game/draw: fix typos 2021-11-10 14:57:48 +01:00
rr-
722fc4abef lib: don't hardcode fmv player routine addresses 2021-11-10 12:22:17 +01:00
rr-
4c805292c0 hwr: fix stack corruption in lightning renderer
Closes #205
2021-11-10 12:04:52 +01:00
rr-
dabfb885c6 hwr: remove magic numbers from alpha operations 2021-11-10 12:04:52 +01:00
rr-
b431c248d0 hwr: draw lightning segments immediately 2021-11-10 12:04:52 +01:00
oziphantom
0f3df2ac94
s/init: clear GameMemory
Explicitly clear the memory to 0. GCC does this by default, other
compilers don't. MSVC sets it to 0xcdcdcdcd for debugging purposes.
Sadly the trigger data in Folly has an invalid item number which is
usually fine because it gets an all null, the floor is null and so
nothing is called.
2021-11-09 09:49:38 +01:00
oziphantom
da1a2d1684
input: fix enum type mismatch 2021-11-09 09:46:13 +01:00
rr-
e1747aa22e inv: add T1M version in the corner
Closes #155
2021-11-06 18:42:10 +01:00
rr-
2a76f6d28a docs: add coding conventions 2021-11-05 12:59:30 +01:00
rr-
ba39456e39 docs: remove progress; update docs
Closes #178
2021-11-05 12:59:30 +01:00
rr-
90146b229e health: refactor into overlay 2021-11-05 12:59:30 +01:00
rr-
64c2264b8f health: move drawing bars to health.c 2021-11-05 12:59:30 +01:00
rr-
3f22956e06 vars: refactor more variables 2021-11-05 12:59:30 +01:00
rr-
e8a5a118bf vars: refactor DemoPtr and DemoCount 2021-11-05 12:59:30 +01:00
rr-
0cf625a7a5 demo: fix infinite loop if there are no demos 2021-11-05 12:59:30 +01:00
rr-
e39bf22073 vars: reduce access scope of globals 2021-11-05 12:59:30 +01:00
rr-
abbc03ee59 vars: remove WaterPalette 2021-11-05 12:59:30 +01:00
rr-
f4ffa7522d vars: initialize all variables 2021-11-05 12:59:30 +01:00
rr-
7542e95a31 vars: remove TitleLoaded 2021-11-05 12:59:30 +01:00
rr-
fe31a13969 vars: fix PhdSpriteInfo size 2021-11-05 12:59:30 +01:00
rr-
10066506aa file: fix ub for unknown opening modes 2021-11-05 12:59:30 +01:00
rr-
df74117175 build: add release build 2021-11-05 12:59:30 +01:00
rr-
6fd0fdef60 option: fix render settings
Also allow changing resolution from within the inventory menu, which
simplifies the menu logic. Requires the player to close the inventory
for effect.
2021-11-05 12:59:30 +01:00
rr-
a5d5319892 hwr: initialize HWR_SelectedTexture to -1 2021-11-05 12:59:30 +01:00
rr-
771f3f9541 vars: specify array sizes 2021-11-05 12:59:30 +01:00
rr-
6edcd76f74 specific/init: reset memory allocator vars 2021-11-05 12:59:30 +01:00
rr-
e6f447865a option: fix invalid name for backslash 2021-11-05 12:59:30 +01:00
rr-
03b5eebe48 vars: change RoomsToDraw back to static array 2021-11-05 12:59:30 +01:00
rr-
6016577a7d log: add missing va_end calls 2021-11-05 12:59:30 +01:00
rr-
29a46104f2 misc: raise texture limits
Closes #174
2021-11-05 12:59:30 +01:00
rr-
626d4a8bd1 vars: pull CloseMsg
This is the last of the #define (apart from ATI3DCIF and movie player
routines). Closes #177.
2021-11-05 12:59:30 +01:00
rr-
85c20c8c95 vars: pull HWR_Lightning stuff 2021-11-05 12:59:30 +01:00
rr-
2291a7226f vars: pull remaining phd stuff 2021-11-05 12:59:30 +01:00
rr-
25fe782666 vars: pull phd window coord variables 2021-11-05 12:59:30 +01:00
rr-
075c3cae20 vars: remove PhdWet 2021-11-05 12:59:30 +01:00
rr-
24ef8266d8 vars: remove PhdScr* 2021-11-05 12:59:30 +01:00
rr-
a4f2b439da vars: remove FltWin* 2021-11-05 12:59:30 +01:00
rr-
96745173cc vars: fix duplicate variables 2021-11-05 12:59:30 +01:00
rr-
af9eebf689 vars: pull phd matrix stuff 2021-11-05 12:59:30 +01:00
rr-
af7e444ddd vars: pull palettes and ModeLock 2021-11-05 12:59:30 +01:00
rr-
917197f230 vars: pull AnimTextureRanges 2021-11-05 12:59:30 +01:00
rr-
f729a23c90 vars: pull wibble, shade and rand tables 2021-11-05 12:59:30 +01:00
rr-
fb55e70c98 vars: remove DepthQTable and GouraudTable 2021-11-05 12:59:30 +01:00
rr-
819713e8f7 vars: pull TexturePagePtrs 2021-11-05 12:59:30 +01:00
rr-
764eb918fa vars: pull Is*Effect 2021-11-05 12:59:30 +01:00
rr-
4ac249fa88 vars: pull RoomInfo 2021-11-05 12:59:30 +01:00