Commit Graph

76 Commits

Author SHA1 Message Date
Anonymous Maarten 2f7950a0ac Update .github/workflows/workflow.yaml 2025-12-19 19:27:56 -08:00
Anonymous Maarten 81275cc1bf Update .github/workflows/workflow.yaml 2025-12-19 19:27:56 -08:00
Dethrace Labs 92459ecc88 test ci changes 2025-12-19 19:27:56 -08:00
Anonymous Maarten 9c82a405bd
Add SDL3 platform driver (#454) 2025-10-02 22:56:47 +00:00
Dethrace Labs 709be87bc9 fetch reccmp-report via http instead of checkout for forks 2025-09-20 13:17:25 +12:00
Dethrace Labs 80c2add845 show hash of reccmp-report 2025-09-19 22:40:48 +12:00
Dethrace Labs 85b44d0163 fix publish reccmp report in github actions 2025-09-19 08:36:21 +12:00
Dethrace Labs eb14cdf7bb use pull_request_target in github actions 2025-09-19 08:14:27 +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
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
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
Dethrace Engineering Department 3c01b63346
adds missing lib for github build (#432) 2025-01-07 12:26:15 +13:00
Anonymous Maarten e3a50e34d1
Fix Windows arm64 build (#371)
* Build arm64 Windows executable

* Use dbghelp to print a stacktrace and use addr2line as last resort

* Print stack depth

* Cleanup windows.c includes + use OS_Basename + define [RX]_OK ourselves

* Cannot do _access(X_OK) on Windows

* SymInitialize: don't invade process

* Use _access_s

* Ignore failure to get symbol line and line number

* Only consider using addr2line when ADDR2LINE is set
2024-07-09 02:28:40 +02:00
Dethrace Engineering Department 6222f6994f
Software renderer (#363)
* BRender software rendering initial commit

* changes required for brender v1.3.2

* fixes missing selection rectangle in race summary screen

* fix track rendering, remove opengl bits

* adding BRender submodule

* enables mirror, bumps brender

* enable linux arm64 builds

* clang-format on all files

---------

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
2024-06-14 19:52:09 +12:00
Anonymous Maarten c76b766ce7
ci: use libsdl-org/setup for SDL + package with CPack (#362)
* Fix unittests with null renderer

* cmake: fix configuration when building from a non-git/non-release archive

* test: don't access freed memory

* cmake+ci: use libsdl-org/setup-sdl for SDL2 + create package with CMake

* Install all files to root + SDL2.dll
2024-05-28 10:02:39 +00:00
Anonymous Maarten 9054ba9b81
Little touches to windows platform code (#331)
* windows: print strerror message on failure to open file

* Remove leading _ from _program_name

* A few windows functions can be static

* ci: Always upload artifact

* linux+macos: Print message on stderr when fopen fails

* Remove merge artifacts

* Remove stray '#include <stdio.h>'
2024-05-25 21:14:29 +00:00
Dethrace Engineering Department 1c10b74141
Networking #1 - Lobby implemented (#335)
* Basic networking functions implemented to get the lobby functional

* Apply suggestions from code review

* PDNetObtainSystemUserName gets local system name

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2023-07-05 14:18:52 +12:00
Anonymous Maarten 889e7ba410
Fix ci warnings (#231)
* Fix CI warnings

* Use brender macro's

* Fix conditional in CollideCamera2

* ci: set-output comand is deprecated

* Fix bug in RebuildOppoPathModel
2022-11-07 11:59:14 +13:00
Dethrace Engineering Department 7fff315643
Tidy up debug logging (#213)
* tidy up log output

* adds enable-diagnostics argument, disable by default
2022-10-18 13:07:58 +13:00
Dethrace Engineering Department 2708c614ab
Workflow Updates (#205)
Publish artifacts when building on main branch
2022-10-03 16:45:40 +13:00
Anonymous Maarten 24a08b2c9f
Fix signal handler for pie executables (#177)
* Disable pie on github actions

* Use dl_iterate_phdr to get base of elf
2022-10-01 06:29:03 +13:00
Dethrace Labs f1849412e9 workflow 18 2022-09-22 05:46:36 +12:00
Dethrace Labs 9f1e7bc062 workflow 17 2022-09-21 20:28:13 +12:00
Dethrace Labs 89d7b96d5b workflow 16 2022-09-21 19:31:07 +12:00
Dethrace Labs 66840c3efb workflow 15 2022-09-21 19:03:20 +12:00
Dethrace Labs de49cb4fa7 workflow 14 2022-09-21 18:48:49 +12:00
Dethrace Labs fdbb4ad8d1 workflow 13 2022-09-21 16:10:02 +12:00
Dethrace Labs 1437ea5ad3 workflow changes 12 2022-09-21 05:30:00 +12:00
Dethrace Labs cee3f0362a workflow changes 11 2022-09-20 21:14:51 +12:00
Dethrace Labs af9702053c workflow changes 10 2022-09-20 21:09:05 +12:00
Dethrace Labs cd7d19a57f workflow changes 8 2022-09-20 21:04:47 +12:00
Dethrace Labs 30540e72da workflow changes 7 2022-09-20 20:59:22 +12:00
Dethrace Labs 190145ad3d workflow changes 6 2022-09-20 20:56:36 +12:00
Dethrace Labs 5172d25013 workflow changes 5 #none 2022-09-20 20:39:32 +12:00
Dethrace Labs b07432bba7 workflow changes 4 2022-09-20 20:35:39 +12:00
Dethrace Labs a89c198660 workflow changes 3 2022-09-20 20:32:44 +12:00
Dethrace Labs 13ad81b30b workflow changes 2 2022-09-20 17:41:54 +12:00
Dethrace Labs 3146a67563 workflow changes 2022-09-20 17:26:23 +12:00
Dethrace Engineering Department 0a3fb1049c
bump to macos-latest 2022-09-19 11:52:12 +12:00
Dethrace Labs f638d790a7 enable ci on non-main branches 2022-09-17 06:49:33 +12:00
Dethrace Labs 8471091fbc fix on tag workflow 2022-09-17 06:43:36 +12:00
Dethrace Labs b6f1d48ea7 bump github to macos-11. #minor 2022-09-17 05:58:58 +12:00
Dethrace Labs f2376b27a2 github workflow updates 2 2022-09-17 05:50:11 +12:00
Dethrace Labs 1ceba81a93 github workflow updates 2022-09-16 21:57:50 +12:00
Anonymous Maarten 519671f9e8
Refactor CMake build system (#119)
* Remove 'SCRATCH' file

* cmake: move as much as variable assignments after project()

* Embed version in dethrace executable

* Allow installing DethRace + create binary archive

* Use ashutoshvarma/setup-ninja github action for getting ninja

* cmake: group user configurable options

* cmake: building in debug mode will add -g

* cmake: provide dethrace_werror interface target + DETHRACE_WERROR cmake option

* Update SDL2 to latest release

* Rename dethrace_werror target to compile_with_werror

* Also add -Werror to dethrace
2022-09-05 14:22:59 +12:00
Dethrace Engineering Department 21f3ef3631
Run workflow on PRs 2022-03-25 12:34:23 +13:00
Anonymous Maarten d3ebbb6f1f
Visual Studio Fixes (#106)
* Visual Studio Fixes

* Disable flooring the frame period to 10ms

* Don't build with mingw on gha
2022-03-17 10:30:38 +13:00