rr-
9ec7a9366a
dynarray: remove
...
It was unused.
2021-11-16 02:02:45 +01:00
rr-
f9ac486ad8
objects/pickup: make pickup radius broader
...
In TR1 and TR2, possibly in the later games too, Lara has a larger
pickup radius if she's facing away from the item. This is
counter-intuitive. This commit adjusts it so that the radius is the same
regardless of her orientation in reference to the collectibles.
Closes #195
2021-11-16 01:28:23 +01:00
rr-
d9c98692dd
drop static struct S idiom in favor of m_
2021-11-12 21:33:19 +01:00
rr-
689c76f952
sound: rename AdjustVolume to SetVolume
2021-11-12 21:33:19 +01:00
rr-
c017499985
sound: pull SoundMasterVolume
2021-11-12 21:33:19 +01:00
rr-
8cfc10eef8
misc: apply private state idiom
2021-11-12 21:33:19 +01:00
rr-
d1f4b84db2
music: pull MusicTrack and MusicLoop
2021-11-12 21:33:19 +01:00
rr-
c8d60c7649
s/sound: rename globals
2021-11-12 21:33:19 +01:00
rr-
2958774e26
s/music: rename globals
2021-11-12 21:33:19 +01:00
rr-
e2972b3613
music: pull MCIDeviceID and AuxDeviceID
2021-11-12 21:33:19 +01:00
rr-
c8c32de831
sound+s/sound: move static functions early
2021-11-12 21:33:19 +01:00
rr-
cafb0cc6d3
sound: know the max volume
2021-11-12 21:33:19 +01:00
rr-
df52d0c60c
s/sound: remove unnecessary proxies
...
Specific code should be kept to minimum. All the eyecandy goes to game/.
2021-11-12 21:33:19 +01:00
rr-
4d4e38bd48
s/sound: use bool
2021-11-12 21:33:19 +01:00
rr-
da9a0b223c
music: use bool
2021-11-12 21:33:19 +01:00
rr-
a47c8ee770
s/music: use bool
2021-11-12 21:33:19 +01:00
rr-
6be7ba55fa
s/music: remove extra set volume call
...
IMO it's not needed as S_Music_AdjustVolume does the job just fine.
2021-11-12 21:33:19 +01:00
rr-
3b736b1adb
music: simplify volume adjusting
2021-11-12 21:33:19 +01:00
rr-
f31b288f63
music: move game logic from s/music
2021-11-12 21:33:19 +01:00
rr-
9dfb84a06a
music: proxy s/music
2021-11-12 21:33:19 +01:00
rr-
06673856c7
s/music: encapsulate functions
2021-11-12 21:33:19 +01:00
rr-
c3854abf85
s/music: rename functions
2021-11-12 21:33:19 +01:00
rr-
3c57028f57
s/music: rename from sndpc
2021-11-12 21:33:19 +01:00
rr-
fdf71b1bed
s/sound: encapsulate internals
2021-11-12 21:33:19 +01:00
rr-
0dcf9d1af2
s/sound: proxy specific routines through game
2021-11-12 21:33:19 +01:00
rr-
74ca486582
s/sound: rename functions
2021-11-12 21:33:19 +01:00
rr-
b456aae28d
s/sound: move sound routines from sndpc
2021-11-12 21:33:19 +01:00
rr-
a45b6706d6
sound: add Sound_StopAllSamples
2021-11-12 21:33:19 +01:00
rr-
6fcc66236a
sound: simplify Sound_AdjustMasterVolume
2021-11-12 21:33:19 +01:00
rr-
effcce99dd
sound: rename global variables
2021-11-12 21:33:19 +01:00
rr-
63ad67c66c
sound: remove unused SOUND_FLAG_NO_REVERB
2021-11-12 21:33:19 +01:00
rr-
09412fcc85
vars: inline SOUND_INVALID_HANDLE
2021-11-12 21:33:19 +01:00
rr-
4af2b52c6f
sound: reduce indentation in Sound_UpdateEffects
2021-11-12 21:33:19 +01:00
rr-
79eebcbc1e
sound: rename misc constants
2021-11-12 21:33:19 +01:00
rr-
9a0d0611dc
sound: rename SAMPLE_FLAG; put to types.h
2021-11-12 21:33:19 +01:00
rr-
84e99361ae
sound: rename SOUND_FLAG constants
2021-11-12 21:33:19 +01:00
rr-
db93de03ba
sound: rename SOUND_MODE constants
2021-11-12 21:33:19 +01:00
rr-
aae917d7fc
sound: pull MN_SFX_PLAY_INFO as SOUND_SLOT
2021-11-12 21:33:19 +01:00
rr-
5d4e893f07
sound: rename functions
2021-11-12 21:33:19 +01:00
rr-
aefcc47c96
mnsound: merge to sound
2021-11-12 21:33:19 +01:00
rr-
af767b58d1
sound: rename functions
2021-11-12 21:33:19 +01:00
rr-
9a57db99ab
sound: drop return value
2021-11-12 21:33:19 +01:00
rr-
e7e65ed3e3
mnsound: declare possible functions as static
2021-11-12 21:33:19 +01:00
rr-
63e23dbcb8
mnsound: simplify mn_stop_sound_effect
2021-11-12 21:33:19 +01:00
rr-
10b6cf19dd
mnsound: change signature to bool
2021-11-12 21:33:19 +01:00
rr-
0c490dcdd9
inject: remove variable macros
2021-11-12 21:33:19 +01:00
rr-
19f032fbaa
misc: address code review
2021-11-12 20:07:23 +01:00
rr-
ce2a12449f
3dsystem: support shallow and deep fogs
2021-11-12 20:07:23 +01:00
rr-
f938a2e6a5
hwr: rename HWR_ChangeWaterColor to HWR_SetWaterColor
2021-11-12 20:07:23 +01:00
rr-
4bec57ca6e
hwr: add per-level fog settings
...
Closes #118 , #219 and #220 .
2021-11-12 20:07:23 +01:00