Commit graph

2203 commits

Author SHA1 Message Date
Carlo Bramini
febce69199
gfx: fix a copy-paste error
MSVC complains the use of macro GFX_GL_CheckError(), saying that it
needs a parameter. By looking its declaration into src\gfx\gl\utils.h,
I have seen that it is declared with a "void" inside. Probably, in the
past GFX_GL_CheckError() was a function and the "void" was forgotten
when it had been converted into a macro. GCC doesn't suffer much, but CL
thinks instead that "void" is a required parameter. Hopefully, removing
that thing made all compilers happy.
2022-12-16 10:32:36 +01:00
Carlo Bramini
8a87850f5d
shell: fix a copy-paste error 2022-12-15 12:02:31 +01:00
walkawayy
bc2bd9cb86
input: stop the default controls from functioning when unbound (#662)
input: stop the default controls from functioning when unbound

Resolves #564.
2022-12-12 09:47:49 -05:00
walkawayy
a9e414fd77
game_demo: fix demo mode if do not heal on level finish is used (#661)
Resolves #660.
2022-12-09 13:05:58 -05:00
walkawayy
0c8c8e7cc2
Add reset and unbind options to the controls menu (#658)
* option_control: add reset and unbind options to the controls menu

Resolves #657.
2022-12-09 09:40:19 -05:00
walkawayy
27d497029e
save_crystal: fix to be single use and added collision (#655)
* save_crystal: fix to be single use, added collision, removed puzzle key sound

Resolves #654.
2022-12-06 17:56:44 -05:00
walkawayy
f098e4db8f
option: fix the compass, new game, and save menus at all text scalings (#650)
* option: fix the compass, new game, and save menus at all text scalings

Resolves #648.
2022-11-30 13:56:09 -05:00
walkawayy
1782da882c
shell: fix a game crash if the action button is held down (#651)
Resolves #646.
2022-11-21 16:04:56 -05:00
walkawayy
a3de4fd03b
Add additional control schemes, keybinds, and refactor (#642)
option_control: add control schemes, keybinds, and refactor

Resolves #636.
2022-11-10 18:32:45 -05:00
walkawayy
444987c530
room: fix Lara loading inside movable block if stacked near portal (#624)
Resolves #619.
2022-11-01 10:22:00 -04:00
oziphantom
871f5887dd
game/text: fix small cracks in PS1 mode
Resolves #643
2022-11-01 00:00:13 +01:00
lahm86
4ba1c92388 config: remove default config file 2022-10-19 10:02:52 +02:00
lahm86
889065e4c8 config: remove default config file
config: default configuration file is no longer required; config will load defaults automatically.
2022-10-19 10:02:52 +02:00
lahm86
2ae01d3ad5 config: merge settings into main config
config:
 - settings.c functionality moved to config.c;
 - some bool settings inverted in line with config tool;
 - default config file comments updated in line with config tool.

Part of #633.
2022-10-19 10:02:52 +02:00
walkawayy
4432f86bdb
sound: added an option to turn off sound effect pitching (#632)
* sound: added an option to turn off sound effect pitching

Resolves #625.
2022-09-30 21:51:14 -04:00
lahm86
183bc7b68a
gun: fix firing blanks indefinitely 2022-09-26 18:35:45 +02:00
lahm86
376a3b6c5c bridge: avoid moving bridges sitting on vertical portals
Resolves #627.
2022-09-24 12:07:48 +02:00
walkawayy
e6ada212b0
savegame: highlight latest save at game start (#622)
savegame: set passport requested to latest save on game start

Resolves #618.
2022-09-17 13:14:04 -04:00
walkawayy
9610f22d59
savegame: fix incorrect number of FX check during loading. (#621)
savegame: fix incorrect number of FX check during loading.

Resolves #620.
Warn for loading FX over the limit since they aren't spawned.
2022-09-17 13:12:48 -04:00
walkawayy
8a030d03c9
savegame: fix flame emitters in enhanced saves
Resolves #616
2022-09-03 22:06:40 +02:00
oziphantom
1af0e38b56
output: improve border scaling 2022-09-03 16:53:24 +02:00
lahm86
eeb3f4d1b2
gameflow: add remove_ammo and remove_medipacks options (#614) 2022-08-23 16:53:28 -04:00
walkawayy
529ef04652
option_passport: fix save crystal mode saving in the first slot (#613)
Resolves #607.
2022-08-23 12:25:53 -04:00
walkawayy
dbc22a574a gameflow: fix remove_scions causing Lara to equip weapons
Resolves #605.
2022-08-23 12:19:58 -04:00
walkawayy
1c407ae865 gameflow: fix remove_guns preventing weapon pickups
Resolves #611.
2022-08-23 12:19:58 -04:00
walkawayy
9eeaddafdd simplify Game_Start cases 2022-08-23 12:19:58 -04:00
walkawayy
3b04c133a4
fix underwater currents breaking in rare cases (#598)
* fix underwater currents breaking in rare cases

Resolves #127.
2022-08-19 17:03:59 -04:00
Marcin Kurczewski
cc2df235b2
vars: remove unused globals 2022-08-19 22:37:40 +02:00
Marcin Kurczewski
cc126c3c85
vars: move flipmap globals to room.h 2022-08-19 22:37:40 +02:00
Marcin Kurczewski
f16ae36fe5
vars: move wibble globals to output.c 2022-08-19 22:37:39 +02:00
Marcin Kurczewski
7dc5a21b07
vars: reduce items and effects globals 2022-08-19 22:37:39 +02:00
walkawayy
b6b8d9a91b
savegame: added FX, lava emitters, flame emitters, and waterfalls (#601)
* savegame: added FX, lava emitters, flame emitters, and waterfalls

Resolves #418.
Creates new savegame version 2.
2022-08-19 16:01:18 -04:00
walkawayy
ddf7ec3dab
inventory: kill SFX in inventory with disable_music_in_inventory (#608)
Resolves #486.
2022-08-18 23:19:36 -04:00
walkawayy
5536793940
lara: fix revert_to_pistols ignoring gameflow's remove_guns 2022-08-03 19:43:28 +02:00
walkawayy
e4f8e759f3
lara: fix ability to equip pistols in the gym level
Resolves #594.
2022-07-27 00:36:25 +02:00
walkawayy
d8b4fbecf6
passport: add the story so far option to view cutscenes and FMVs
Resolves #201
2022-07-21 23:09:39 +02:00
walkawayy
1b328bf92a
PS1 UI (#540)
text: add PS1 UI style
2022-06-30 21:20:48 -04:00
Tom
efc6ff66f7
lara: add an option to revert to pistols
Closes #557
2022-06-22 01:53:50 +02:00
rr-
dcd8065392 centaur: fix crash 2022-06-03 22:28:37 +02:00
walkawayy
110a56bc6e shell: option_init needs gameflow to be loaded first 2022-06-01 01:54:47 +02:00
rr-
59209cf071 savegame: fix death counter
Resolves #575 and #576
2022-05-31 00:17:19 +02:00
rr-
93707100e5 config: increase default save slots 2022-05-30 23:50:00 +02:00
Tom
3789720dcb savegame: make number of slots configurable 2022-05-30 23:50:00 +02:00
rr-
9308d1e239 shell: refactor initialization 2022-05-30 23:50:00 +02:00
walkawayy
1d7b3f9928
savegame: fixed Lara's outfit in Lara's Home when replaying the level (#572)
* savegame: fixed Lara's outfit in Lara's Home when replaying the level

Resolves #571.
2022-05-30 10:44:10 -04:00
walkawayy
db3e4f0ba5
gameflow: add stats screen and fade out to Lara's Home (#570)
* gameflow: add stats screen and fade out to Lara's Home

Resolves #383.
2022-05-30 09:23:52 -04:00
rr-
09f11bbac8 s/input: add SDL controller support
Resolves #278
2022-05-27 21:54:50 +02:00
walkawayy
3112a8760e
Fix bridges embedding under the floor (#569)
* bridge: fix floor level bridges embedding in the floor

Resolves #523.
2022-05-27 14:08:23 -04:00
walkawayy
0a4869c94d
passport: fix new game and save game using wrong closing animation (#567)
Resolves #542.
2022-05-26 13:35:18 -04:00
rr-
74165a7fe0
Merge branch 'stable' into develop 2022-05-20 09:23:35 +02:00