TombEngine/TR5Main/Game
hispidence ee8f580002 Big audio & audio settings cleanup.
Remove "Sound Enabled" setting, as it would disable BASS if used, leading to a load of warning messages and missing sounds when re-enabled.

Currently-playing track(s) now get quieter/louder when using the music volume slider in the audio settings menu.

Encapsulate GlobalMusicVolume and GlobalFXVolume in functions (at the time of writing this is only strictly necessary for music volume, since SetVolumeMusic needs to also set the volume of currently-playing tracks).

Make "apply" button return to the previous menu, as it does with keyboard controls.

Replace a printf call with a TENLog call.
2021-08-12 00:38:15 +01:00
..
debug Fix logic error in TENLog. We DO want to print LogConfig::Debug logs in debug mode. 2021-08-06 16:38:05 +01:00
Lara Fix some lasersight issues 2021-08-11 15:18:22 +03:00
memory Reorder renderer operations, redo debug output (use F10-F11 to switch pages), add debug sphere/box drawing 2021-08-06 11:12:34 +03:00
particle Fix line endings 2020-12-21 13:16:29 -03:00
pickup Change waterskin add/remove behaviour. 2021-08-08 23:42:30 +01:00
box.cpp Refactored cameras, sinks and sound sources; Added sound sources playback; 2021-07-10 06:55:37 +02:00
Box.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
bubble.cpp Disable all bubbles when the game unloads to avoid crashing 2021-06-06 18:14:13 -04:00
bubble.h Disable all bubbles when the game unloads to avoid crashing 2021-06-06 18:14:13 -04:00
camera.cpp Fix some lasersight issues 2021-08-11 15:18:22 +03:00
camera.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
chaffFX.cpp Implement new random system 2020-10-24 01:05:59 -03:00
chaffFX.h Added new SparkParticle 2020-06-15 16:36:52 +02:00
collide.cpp Fixed Climb Out Of Water towards -X 2021-08-03 06:54:26 +02:00
collide.h Fixed ID_SAS; Fixed serious bugs with CreatureActive(); Fixed grenades;' 2021-04-29 06:26:30 +02:00
control.cpp Fix some lasersight issues 2021-08-11 15:18:22 +03:00
control.h Fix controls lockup if level was changed during flyby with disabled controls 2021-08-05 14:26:23 +03:00
debris.cpp Fixed Debris Functions 2021-08-03 06:54:36 +02:00
debris.h Reduced Vertex Count for Bars from 9 to 5 2021-08-02 13:16:51 +02:00
door.cpp Merge branch 'master' of https://github.com/MontyTRC89/TR5Main 2021-05-27 05:33:17 +02:00
door.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
draw.cpp Remove gnFrameCounter which is seemingly the same as GlobalCounter 2021-08-02 11:25:53 +03:00
draw.h Remove gnFrameCounter which is seemingly the same as GlobalCounter 2021-08-02 11:25:53 +03:00
drip.cpp Make functions take reference-to-const args. 2021-07-23 21:49:44 +01:00
drip.h Make functions take reference-to-const args. 2021-07-23 21:49:44 +01:00
effect.cpp Added FROM_DEGREES function; Added quantity param to PickedUpObject(); LUA scripting refactoring WIP; 2021-06-29 05:00:15 +02:00
effect.h fix waterskin meshswaps 2021-06-05 22:15:25 -05:00
effect2.cpp Reorder renderer operations, redo debug output (use F10-F11 to switch pages), add debug sphere/box drawing 2021-08-06 11:12:34 +03:00
effect2.h Reorder renderer operations, redo debug output (use F10-F11 to switch pages), add debug sphere/box drawing 2021-08-06 11:12:34 +03:00
explosion.cpp Make more functions take reference-to-const args. 2021-07-23 21:50:29 +01:00
explosion.h Make more functions take reference-to-const args. 2021-07-23 21:50:29 +01:00
flmtorch.cpp Remapped correctly sounds from TR5 to TR4; Decompiled TR4 CogSwitchControl; Decompiled TR4 ControlWaterfall; 2021-05-26 06:04:32 +02:00
flmtorch.h Fix line endings 2020-12-21 13:16:29 -03:00
floordata.cpp Merge remote-tracking branch 'origin/TwoBlockPlatformsBroken' 2021-06-05 05:35:46 +02:00
floordata.h Merge remote-tracking branch 'origin/TwoBlockPlatformsBroken' 2021-06-05 05:35:46 +02:00
footprint.cpp Refactored framework.h 2020-09-29 21:43:56 +02:00
footprint.h Refactored framework.h 2020-09-29 21:43:56 +02:00
gameflow.cpp Fix line endings 2020-12-21 13:16:29 -03:00
gameflow.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
groundfx.h New project format (#206) 2020-05-27 09:21:20 +02:00
hair.cpp Fix old LARA_DRAW_TYPE usage with LARA_TYPE constants. 2021-08-07 19:24:39 +01:00
hair.h Fix line endings 2020-12-21 13:16:29 -03:00
health.cpp Added new Sprite Slots for Bars, Binoculars,(Lasersight) and Caustics 2021-08-04 10:21:45 +02:00
health.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
inventory.cpp Remove poisoning by medkits 2021-08-02 14:44:28 +03:00
inventory.h clean up ring inventory code; fix KillItem(); 2021-05-26 01:58:30 -05:00
items.cpp Set luaName to blank in CreateItem to indicate the lack of a name. 2021-07-17 23:49:40 +01:00
items.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
lightning.cpp Fixed SameZone(); Adding picking to Baddy 1-2; 2021-04-16 10:13:59 +02:00
lot.cpp Fix line endings 2020-12-21 13:16:29 -03:00
lot.h Fix line endings 2020-12-21 13:16:29 -03:00
misc.cpp Fixed GetRoomList; Fixed GetCollidedObjcts; Enabled again disabled weapons; 2020-08-09 17:18:21 +02:00
misc.h Fix line endings 2020-12-21 13:16:29 -03:00
missile.cpp Fix line endings 2020-12-21 13:16:29 -03:00
missile.h Fix line endings 2020-12-21 13:16:29 -03:00
newinv2.cpp Big audio & audio settings cleanup. 2021-08-12 00:38:15 +01:00
newinv2.h Make it explicit that item_options is a 64-bit int. 2021-08-11 01:29:38 +01:00
objects.cpp Remapped correctly sounds from TR5 to TR4; Decompiled TR4 CogSwitchControl; Decompiled TR4 ControlWaterfall; 2021-05-26 06:04:32 +02:00
objects.h Fix line endings 2020-12-21 13:16:29 -03:00
people.cpp Remapped correctly sounds from TR5 to TR4; Decompiled TR4 CogSwitchControl; Decompiled TR4 ControlWaterfall; 2021-05-26 06:04:32 +02:00
people.h Fix line endings 2020-12-21 13:16:29 -03:00
phd_global.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
pickup.cpp Remove ID_GOLDROSE_ITEM; the current plan is for secrets to be done via triggers instead of the pickup itself. 2021-07-12 16:13:52 +01:00
pickup.h Make GAME_OBJECT_ID a short in its underlying type (since that's the type that's mostly used to refer to it) and remove typedef to make VC++ stop giving tons of warnings. 2021-07-11 13:07:50 +01:00
prng.cpp Fix line endings 2020-12-21 13:16:29 -03:00
prng.h Fix line endings 2020-12-21 13:16:29 -03:00
puzzles_keys.cpp Restore original line now that the stack overflow is fixed. 2021-08-01 20:50:41 +01:00
puzzles_keys.h Refactor: move puzzle and keys out of pickup.cpp into their own file 2020-08-09 01:24:06 -05:00
room.h Add support for sphere volumes 2021-08-05 15:46:03 +03:00
rope.cpp Remapped correctly sounds from TR5 to TR4; Decompiled TR4 CogSwitchControl; Decompiled TR4 ControlWaterfall; 2021-05-26 06:04:32 +02:00
rope.h Fix line endings 2020-12-21 13:16:29 -03:00
savegame.cpp The explicit cast to void * made this line resolve to an assignment to an rvalue, but removing it fixes it. 2021-07-23 21:54:57 +01:00
savegame.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
smoke.cpp Implement new random system 2020-10-24 01:05:59 -03:00
smoke.h Added tweaked Rocket Launcher Smoke 2020-09-13 21:03:46 +02:00
sound.cpp Big audio & audio settings cleanup. 2021-08-12 00:38:15 +01:00
sound.h Big audio & audio settings cleanup. 2021-08-12 00:38:15 +01:00
spark.cpp Implement new random system 2020-10-24 01:05:59 -03:00
spark.h Added Ricochet Sparks 2020-06-15 16:43:32 +02:00
sphere.cpp remove bitshifts 2020-10-16 12:06:33 -05:00
sphere.h Remove 'typedef' from enums and structs. This was required in C, but in C++ all it does is generate thousands of warnings. 2021-07-18 15:22:15 +01:00
spotcam.cpp Fix Spline 2021-08-03 01:11:42 -05:00
spotcam.h Fix #286 2021-07-31 03:47:56 +03:00
switch.cpp Moving to stringed keys for game strings 2021-06-19 07:11:22 +02:00
switch.h Fix line endings 2020-12-21 13:16:29 -03:00
text.cpp Fix line endings 2020-12-21 13:16:29 -03:00
text.h Fix line endings 2020-12-21 13:16:29 -03:00
tomb4fx.cpp Fix some lasersight issues 2021-08-11 15:18:22 +03:00
tomb4fx.h Fix some lasersight issues 2021-08-11 15:18:22 +03:00
traps.cpp Fix #273 2021-08-02 19:42:07 +03:00
traps.h Added bridge collision to FALLING_BLOCK 2021-06-16 10:19:46 -04:00
trmath.cpp Round TO_DEGREES and don't cast to an unsigned type, as the only places which use this function appear to be able to handle negative numbers - it also makes thing slightly less confusing, as modulo-ing the unsigned result by 360 gives a slightly incorrect angle value. 2021-07-03 22:59:16 +01:00
trmath.h Added FROM_DEGREES function; Added quantity param to PickedUpObject(); LUA scripting refactoring WIP; 2021-06-29 05:00:15 +02:00