Commit Graph

380 Commits

Author SHA1 Message Date
Dethrace Labs a71dfa070d ThreePointCollRecB matches 2025-09-04 10:50:53 +12:00
Dethrace Labs dd031dcf86 SoundOptionsLeft 2025-09-04 10:50:53 +12:00
Dethrace Labs 8db5722174 ProcessModelFaceMaterials 2025-09-04 10:50:53 +12:00
Dethrace Engineering Department ae1c221156
Reccmp batch 2 (#471)
* fixing next set of small diffs
2025-09-01 05:51:46 +12:00
Dethrace Engineering Department b3cc5d5393
Fix reccmp warnings (#469)
* fix array sizes

* fixes reccmp warnings

* enable intrinsics, patches some functions
2025-08-28 13:14:28 +12:00
Dethrace Labs 0a0fc8bf7f update workflow 2025-08-21 13:24:37 -07:00
Dethrace Engineering Department f00ff0c266
Fixes AdvanceChunkPtr decomp (#468)
* fixes AdvanceChunkPtr

* update workflow
2025-08-21 13:18:52 -07:00
Dethrace Engineering Department 97ae6a4830
Reccmp action testing (#467)
* add reccmp-action to workflow
2025-08-20 15:59:27 -07:00
Dethrace Labs d8fb9f21a8 adds renamed report 2025-08-20 12:17:25 -07:00
Dethrace Labs dc414bcbab rename reccmp report file 2025-08-20 11:40:22 -07:00
Dethrace Labs 534f435b63 update reccmp instructions and initial report 2025-08-10 13:48:02 +12:00
Dethrace Engineering Department 65bc16a129
Support for compiling with MSVC 4.20 for binary matching (#465)
* fix some global vars

* make sound support optional

* removes LOG_TRACE calls

* now compiles under msvc 4.2

* removes unused functions, adds ignored functions to report

* bump BRender dependency

* adds docker container for running msvc 4.2

---------

Co-authored-by: Jeff Harris <jeff@1amstudios.com>
2025-07-30 13:27:18 +12:00
Dethrace Engineering Department a7f320beb0
Ini file and fallback directories (#462)
* implements an ini file and fallback directories

* Update README.md
2025-07-19 21:32:55 +12:00
Dethrace Engineering Department d93b5a6293
Annotate all globals and functions with their address in carm95 executable (#460)
* adds function and global variable address annotations

* adds library function addresses for crt and brender

* adds static variable annotations
2025-06-30 19:09:23 +12:00
Dethrace Engineering Department 6cbc054790
All cross-platform sys.c implementation (#455)
* adds missing fatalerror constant usage

* removes win95 polyfill bits

* tidies up dossys a little
2025-06-16 21:49:06 +12:00
Dethrace Labs e852d1b9e7 fix network discovery 2025-05-20 08:30:35 +12:00
Dethrace Engineering Department bcbecb372b
Windows networking (#453)
* adds network adapter discovery

* adds a pc-all network implementation

* tidy cmake rules

---------

Co-authored-by: Jeff Harris <jeff@1amstudios.com>
2025-05-10 18:44:54 -07:00
Anonymous Maarten a2cdd1f061
Support multiple platform drivers (#444)
* Start of supporting multiple platform drivers

* Remove dependency of null platform on SDL2

* cmake: support loading SDL2 dynamically

* Move CMake options to project root for SDL2::SDL2 access

* Don't link to OpenGL

* Move common dynamic loading to header

* Add SDL 1.2 platform

* Add SDL1 platform backend

* Remove accidental addition

* Try multiple platform drivers until we find a good one

* Fix sdl1 mouse

* Use my BRender fork FIXME FIXME FIXME REMOVEME REMOVEME REMOVEME

* Build dethrace supporting SDL1 on ci

* use dethrace-labs BRender fork
2025-05-03 23:44:46 +02:00
Anonymous Maarten 33e49e8f0f
smackw32: open SMK using harness (#452)
This fixes a case sensitivity issue on Linux
2025-05-03 23:43:33 +02:00
Dethrace Engineering Department 2e31fc6956
3dfx info mode (#443)
* adds third debug info mode added in 3dfx patch

* fix DRPixelmapHasZeros
2025-04-02 12:34:42 +13:00
Anonymous Maarten 08ff6f20c0
Use bonny model in PipeInstantUnSmudge (#441) 2025-03-31 14:24:25 +00:00
Anonymous Maarten 6900d79043
Fix Showing Pedestrian Debug Paths (#439) 2025-03-31 14:21:25 +00:00
Anonymous Maarten e1c28f86e4
CollideTwoCars: add_point is initialized by pPass (#440)
Co-authored-by: Toshiba-3 <berserknettergek@gmail.com>
2025-03-31 19:02:41 +13:00
Dethrace Labs 1af5438b63 bump BRender dependency 2025-03-30 22:56:35 -07:00
Dethrace Engineering Department ca1ef76e7f
Adds original 3dfx rendering path (#434)
* using dossys, virtual_fb driver

* keyboard and hires working with dossys

* adds explicit opengl mode, opengles support, use-after-free fix

* remove compiler warnings

* bump BRender dep to latest commit

* adds mouse code from DOS version which correctly scales based on pixel size

* more 3dfx fixes, adds game-completed arg
2025-03-31 18:44:38 +13:00
Szilárd Biró 1ef129a7bf
add AudioBackend_SetVolumeSeparate to the harness audio interface (#433) 2025-01-31 06:56:54 +13:00
Dethrace Engineering Department 3c01b63346
adds missing lib for github build (#432) 2025-01-07 12:26:15 +13:00
Bartosz Kurczyński 0ccb454316
Fix: Replace constant with configurable physics_step_time (#430) 2025-01-07 10:04:23 +13:00
Bartosz Kurczyński 1f009a2490
Fixed random rotation in Wrecks Gallery on first click when car is zoomed. (#427) 2024-12-13 10:06:24 +13:00
Bartosz Kurczyński 884f134664
Ensure initial volume for CD music is properly set. (#406)
* Ensure initial volume for CD music is properly set.

* Incorporate review comments.
2024-12-04 10:13:31 +13:00
Szilárd Biró 20e81f46ff
Polish localization support (#414) 2024-12-04 07:27:34 +13:00
Anonymous Maarten a826a16d75
Play music when starting the game with `-nocutscenes` (#398)
* Use BrIntToFixed in DoHeadups

* Add and use enum for headup slot

* Play music when starting with -nocutscenes

---------

Co-authored-by: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com>
2024-10-15 08:30:02 +13:00
Szilárd Biró 22369744bb
Big endian fixes - part 2 (#405)
* Big endian fix for S3LoadSample and Win32SetPaletteEntries

* Add the missing BR_ENDIAN_BIG guard to S3LoadSample

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

* DRPixelmapDoubledCopy big endian fix

* big endian fix for the KEYBOARD.COK loading

* CalcLSChecksum big endian fix

* PrintScreenFile big endian fix

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2024-10-15 08:28:57 +13:00
Dethrace Engineering Department 78ef3c27f2
Update CHANGELOG.md 2024-09-30 11:08:06 +13:00
Dethrace Engineering Department 33ecfc01c7
Update CHANGELOG.md 2024-09-30 11:06:53 +13:00
Dethrace Engineering Department 7ffcca6c28
Update CONTRIBUTING.md 2024-09-30 10:47:02 +13:00
Dethrace Engineering Department 954f40b8c7
Update README.md 2024-09-30 10:45:16 +13:00
Dethrace Engineering Department e7a79a8aad
Update README.md (#411) 2024-09-20 12:27:22 +12:00
Szilárd Biró 16048adbc1
turn closesocket into a function (#409)
Co-authored-by: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com>
2024-09-20 07:35:37 +12:00
BeWorld d47c7a03d4
remove duplicate "platform->DestroyWindow" (#410)
Duplicate code, not necessary

Co-authored-by: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com>
2024-09-20 07:34:59 +12:00
Anonymous Maarten cd64d99512
Only pass mouse/keyboard to dethrace when the current window is DethRace (#404)
This is useful when opening a 2nd SDL window to avoid events of the
other window leaking into carmageddon (and the reverse).
2024-09-12 03:04:25 +00:00
Szilárd Biró a25ee50e94
make sure audio_stream is always initialized by SmackOpen (#407) 2024-08-27 09:29:27 +12:00
Anonymous Maarten 361eca4875
Fix cops initialization in InitOpponents (#402)
Originally spotted by Bartosz Kurczyński (https://github.com/b-kurczynsk)
2024-07-29 09:21:55 +00:00
Bartosz Kurczyński 90971e9e56
Fixed: Non-spatial sound does not obey global sound effect's volume. Spatial sound is either too loud or to quiet. (#400) 2024-07-27 07:00:09 +12:00
Dethrace Engineering Department ec04a9c111
Fixes crash when not calling ma_audio_unint correctly (#397)
* fixes crash when not calling ma_audio_unint correctly

* adds check that we are not still playing the previous track
2024-07-21 03:01:41 +12:00
Anonymous Maarten e757db4227
Fix 'iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]' (#395) 2024-07-16 19:11:22 +00:00
Dethrace Engineering Department 6e6ce12eb7
Original music (#393)
* adds support for GOG-format music ogg files

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2024-07-17 06:53:42 +12:00
MastaG a48c47beab
Update BRender-v1.3.2 a submodule (#392) 2024-07-14 23:00:12 +12:00
Dethrace Engineering Department 40919b4295
full screen by default (#394) 2024-07-13 21:16:16 +12:00
Dethrace Engineering Department af3019469a
Audio in cutscenes (#390)
* audio in cutscenes
2024-07-10 06:27:31 +12:00