Anonymous Maarten

Results 140 issues of Anonymous Maarten

- Print error message when `fopen_s` fails - Make more functions static - Remove leading `_` from global variable (=undefined behavior)

The rear view mirror is [currently disabled](https://github.com/dethrace-labs/dethrace/blob/8051ca2b6d3e060321407c69a65f92548bfe68e0/src/DETHRACE/common/graphics.c#L1693-L1717). Uncommenting it is not enough to get it working.

From discord: > strangely enough, on windows 10, running dethrace.exe directly from the explorer window works, but starting it from the command line doesn't : > ``` > D:\Carmageddon>Dethrace version:...

- Because SDL3 is still in development, mark it as experimental. - Update some github actions + use the latest SDL2 release for msvc ci

In `S3Shutdown`, the descriptors are cleaned up with the following code: https://github.com/dethrace-labs/dethrace/blob/07d517307a2be88e086f8b94d53327072b8cf50d/src/S3/audio.c#L103-L113 However, `S3Disable` disables `gS3_enabled`: https://github.com/dethrace-labs/dethrace/blob/07d517307a2be88e086f8b94d53327072b8cf50d/src/S3/audio.c#L124-L126 Which causes `S3DisposeDescriptor` to never do anything: https://github.com/dethrace-labs/dethrace/blob/07d517307a2be88e086f8b94d53327072b8cf50d/src/S3/audio.c#L193-L200 Applying the following patch to...

When Dethrace is started in `-hires` mode, and no hires assets are available, the game segfaults. ## Reproducer 1. [Download and extract the Carmageddon demo](https://rr2000.cwaboard.co.uk/R4/PC/carmdemo.zip): it has no `DATA/64X48X8` directory....

When in-cockpit view, there is a buffer overflow read when driving into something. It is very easily reproducible, when building with the address sanitizer. - Build dethrace with: ``` cmake...

Start dethrace with `--debug-ui`. TODO: - [x] Add support for building Dethrace wthout debug ui - [x] Make use of it

Having the following in `OPTIONS.TXT` results in a segmentation fault at the start of a race. ``` SoundDetailLevel 0 ``` Because of this, `gEngine_outlet` is `NULL` and a segmentation error...

See https://github.com/libsdl-org/SDL_ttf/pull/349