Commit graph

2454 commits

Author SHA1 Message Date
rr-
38637af731 build: fix stale version in incremental builds 2021-11-19 15:00:13 +01:00
rr-
02e7741e5a build: tidy build process
Closes #234
2021-11-19 15:00:13 +01:00
rr-
1339bc80f6 s/hwr: let people play even with texture errors 2021-11-19 01:50:12 +01:00
rr-
12ea0d48e8 log: adhere to new conventions 2021-11-19 01:04:43 +01:00
rr-
77da274bbc filesystem: move Windows code to specific/ 2021-11-19 00:21:56 +01:00
rr-
da94d81839 filesystem: add underscore to module prefix 2021-11-19 00:21:56 +01:00
rr-
e93fea6ebc s/file: remove GetFullPath 2021-11-19 00:21:56 +01:00
rr-
5008e498d1 filesystem: pull FileLoad 2021-11-19 00:21:56 +01:00
rr-
cc2eb210fb filesystem: support relative paths 2021-11-19 00:21:56 +01:00
rr-
7cdf500766 vars: pull ATI3DCIF variables 2021-11-19 00:21:30 +01:00
rr-
854fbc398e s/ati: remove no-op calls 2021-11-19 00:21:30 +01:00
rr-
0e678cd282 s/ati: simplify loader 2021-11-19 00:21:30 +01:00
rr-
05314452d2 s/*: prefix filenames with s_
When a file `specific/foo.c` does `#include "bar.h"`, it refers to
`specific/bar.h` instead of `bar.h`. Rather than doing one-off
exceptions like `smain.c`, we apply uniform approach and prefix all
files in `specific/` with `s_`, mainly due to their universal naming.
2021-11-17 19:56:46 +01:00
rr-
1e96e94625 s/music: improve error logging 2021-11-17 11:52:33 +01:00
rr-
85be75306f s/sound: pull DSound 2021-11-17 11:52:33 +01:00
rr-
730bcf09fd s/music: fix typo 2021-11-17 11:52:33 +01:00
rr-
1634edcbfd game/draw: use ABS macro over abs() 2021-11-16 23:24:19 +01:00
rr-
2bc45f5374
g/effects/earthquake: fix include name 2021-11-16 22:32:25 +01:00
rr-
802098e1bd
g/overlay: fix include name 2021-11-16 22:31:56 +01:00
rr-
aed3d26cae memory: refactor memory allocators 2021-11-16 21:46:38 +01:00
rr-
295c7c136a
docs: improve wording 2021-11-16 12:06:46 +01:00
rr-
89a12b6f97 build: switch to meson 2021-11-16 02:02:45 +01:00
rr-
6f0f12a022 tests: remove
They haven't been maintained for quite a while and are not worth much.
2021-11-16 02:02:45 +01:00
rr-
f3009ee8e5 cosmetics: remove stray semicolon 2021-11-16 02:02:45 +01:00
rr-
9e95a5af06 cosmetics: fix REQUEST_INFO partial initialization 2021-11-16 02:02:45 +01:00
rr-
62adbcf7d1 cosmetics: fix sign comparison warnings 2021-11-16 02:02:45 +01:00
rr-
9ec7a9366a dynarray: remove
It was unused.
2021-11-16 02:02:45 +01:00
rr-
73a1a28847 scripts: overwrite init.c only if it changed 2021-11-16 02:02:45 +01:00
rr-
6a190e1bf2 build: rename github actions 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