Commit graph

2203 commits

Author SHA1 Message Date
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-
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
rr-
9cfdffae4f vars: remove StringToShow 2021-11-05 12:59:30 +01:00
rr-
c9ae6f5fbd vars: pull GameAlloc variables 2021-11-05 12:59:30 +01:00
rr-
76c12100d8 vars: pull Rand1 and Rand2 2021-11-05 12:59:30 +01:00
rr-
3363ef8f70 vars: pull Item_Data + fix resetting active option
This fixes the following bug:

1. Navigate to the music settings
2. Navigate one item down
3. Exit to main menu
4. Open music settings again

The game will render the first item as selected, but pressing left or
right will change the second item rather than the first one. The same
bug applied to other settings.
2021-11-05 12:59:30 +01:00
rr-
22b383f89e vars: pull compass variables 2021-11-05 12:59:30 +01:00
rr-
e479d83e4e vars: pull music variables 2021-11-05 12:59:30 +01:00
rr-
461073a241 vars: pull sample variables 2021-11-05 12:59:30 +01:00
rr-
f5d33c2a1e vars: pull Mn* 2021-11-05 12:59:30 +01:00
rr-
3eea612403 vars: remove SoundsLoaded 2021-11-05 12:59:30 +01:00
rr-
497df2efd3 vars: pull SoundIsActive 2021-11-05 12:59:30 +01:00
rr-
221de342f0 vars: pull IConfig 2021-11-05 12:59:30 +01:00
rr-
18704bc3a1 vars: pull ScanCodeNames 2021-11-05 12:59:30 +01:00
rr-
826752942c vars: remove IsHardwareRenderer 2021-11-05 12:59:30 +01:00
rr-
3ef90ee1af vars: pull RenderSettings 2021-11-05 12:59:30 +01:00
rr-
00447c2ba2 vars: pull OptionSoundFXVolume and OptionMusicVolume 2021-11-05 12:59:30 +01:00
rr-
79267b9275 vars: pull TombHWND 2021-11-05 12:59:30 +01:00
rr-
70b8912f8d vars: pull ATI shenanigans 2021-11-05 12:59:30 +01:00
rr-
ff51138563 vars: pull sound handles 2021-11-05 12:59:30 +01:00
rr-
47af396223 vars: pull DDraw 2021-11-05 12:59:30 +01:00
rr-
fc3852989d vars: pull Surface*DrawPtr 2021-11-05 12:59:30 +01:00
rr-
f8bd22657a vars: pull Surface pointers 2021-11-05 12:59:30 +01:00