Commit graph

2203 commits

Author SHA1 Message Date
Marcin Kurczewski
0ade38ac86
cinema: fix cutscene last frame (#391)
Resolves #390
2022-02-03 17:18:44 +01:00
walkawayy
433e1caf1c
option/graphic: fix detail levels text flashing (#381)
Resolves #380
2022-02-01 22:43:11 +01:00
walkawayy
03d2d64f4b
option/graphics: make vsync optional from glasses menu (#377)
Resolves #364
2022-01-31 15:16:23 +01:00
rr-
94f9bbe684
json: use our allocator
This makes it easier to look for memory leaks.
2022-01-26 15:42:49 +01:00
rr-
ad01bd7338
s/audio: fix memory leak
Resolves #369
2022-01-26 15:42:49 +01:00
rr-
27ead5da07
output: add fade animations
Resolves #363
2022-01-20 19:03:34 +01:00
rr-
0d847d3be3
draw: do not use picture buffer for overlay 2022-01-20 18:53:32 +01:00
rr-
22c48fe352
s/output: switch to RGBA colors for flat primitives 2022-01-20 18:52:21 +01:00
Marcin Kurczewski
2aa90f63d1
input: fix certain inputs skipping too many things (#360)
Resolves #359 and #366
2022-01-20 18:23:42 +01:00
rr-
627abf0a44
s/output: simplify palette management 2022-01-19 14:06:22 +01:00
rr-
f76d83e122
s/output: simplify brightness multipliers 2022-01-19 13:34:34 +01:00
rr-
2effa5c785
s/output: be more vigilant about array sizes
Might help with #227
2022-01-19 13:34:34 +01:00
rr-
f52092d2ee
s/output: inline variable declarations 2022-01-19 13:32:08 +01:00
rr-
0d3f10ad56
s/output: merge S_Output_ClipVertices routines 2022-01-19 12:58:02 +01:00
rr-
7b59cd043c
s/output: simplify uv multipliers 2022-01-19 12:44:47 +01:00
rr-
77b4e7792b
lara: swap hand meshes only when applicable 2022-01-19 02:30:33 +01:00
rr-
2b7f5ac48c
lara: let Lara start with other guns than pistols
Resolves #338
2022-01-19 02:30:32 +01:00
rr-
5afea2e2ed
misc: use GAME_OBJECT_ID more often 2022-01-19 02:30:32 +01:00
walkawayy
54dc69b36e
lava: fix lava trap not setting Lara on fire (#355)
Resolves #353.
2022-01-19 02:29:47 +01:00
Marcin Kurczewski
04f93a6075
gameflow: fix fallback game strings not working (#335)
Resolves #331
2022-01-18 22:40:08 +01:00
walkawayy
dd4512e2d7
s/shell: fix window DPI scaling on Windows (#351)
Resolves #280
2022-01-18 21:14:47 +01:00
walkawayy
ad5dc96080
s/shell: mute all sound when game is minimized (#350)
Resolves #349
2022-01-17 21:25:02 +01:00
walkawayy
8d1a3b2e95
movable_block: fix pushing blocks through doors (#345)
Resolves #46
2022-01-17 18:24:25 +01:00
rr-
4aa8da9aa3 inv: fix ring arrows shown when uncalled for
Resolves #337
2022-01-16 18:07:56 +01:00
rr-
59debdcf13 pause: remove useless pause inventory mode 2022-01-16 18:07:56 +01:00
rr-
50b7fb25c1 picture: simplify memory management 2022-01-16 18:07:43 +01:00
rr-
bf42ee4513 log: place Tomb1Main.log in the game directory 2022-01-16 18:07:19 +01:00
rr-
b3dcec526b s/fmv: let players skip FMVs with the action key
Resolves #334
2022-01-16 18:07:09 +01:00
rr-
e3a893f9c7
gameflow: fix crash when exiting the game
Regression from 2.3.
2022-01-16 13:29:35 +01:00
rr-
4a8412fc6a gfx: fix too early initial save in crystals mode 2022-01-16 12:16:31 +01:00
rr-
1f3a6e4543 gfx: hide overlays when in menus 2022-01-16 12:16:31 +01:00
rr-
71fd31cdc0 gfx: implement menu backgrounds properly
Resolves #324 and fixes rendering backdrops on wine.
2022-01-16 12:16:31 +01:00
rr-
9a83423124 savegame: fix Evil Lara check 2022-01-15 20:04:32 +01:00
rr-
f0547b3065 misc: remove pointless checks
All memory allocations exit the game immediately in case they fail.
We don't need to check for potential failures all over the place.
2022-01-15 20:04:32 +01:00
rr-
016cd906c2 savegame: remove GAME_INFO.current_level
It is confusing to have this and g_CurrentLevel at the same time.
2022-01-15 20:04:32 +01:00
rr-
44bb2d584a setup: simplify InitialiseLevel 2022-01-15 20:04:32 +01:00
rr-
e68cbf7d5b savegame: improve function names 2022-01-15 20:04:32 +01:00
rr-
3315e19722 savegame: put remaining info in SG buffer 2022-01-15 20:04:32 +01:00
rr-
abdbdc6b50 savegame: use new MX_ constants 2022-01-15 20:04:32 +01:00
rr-
b11286a396 savegame: do not rely on START_INFO memory layout 2022-01-15 20:04:32 +01:00
rr-
da94e8ae75 savegame: put start info in SG buffer 2022-01-15 20:04:32 +01:00
rr-
fd6d1ba265 savegame: reduce filesize 2022-01-15 20:04:32 +01:00
rr-
2276a6939c savegame: add documentation 2022-01-15 20:04:32 +01:00
rr-
a411a7adce savegame: move level stats to SG buffer 2022-01-15 20:04:32 +01:00
rr-
9c3a9d8c61 vars: rename SAVEGAME_INFO to GAME_INFO 2022-01-15 20:04:32 +01:00
rr-
e88341c352 savegame: move item counters to SG buffer 2022-01-15 20:04:32 +01:00
rr-
0ca2ff80d1 inv: use bool over int32_t 2022-01-15 20:04:32 +01:00
rr-
1942b5a4a5 savegame: improve function signatures 2022-01-15 20:04:32 +01:00
rr-
0d37308116 savegame: make functions private 2022-01-15 20:04:32 +01:00
rr-
79094d7ddd savegame: move function around 2022-01-15 20:04:32 +01:00