* 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
* 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
* 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
* 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>
* Add enum for splatpack xmas: they have a different demo screen (splatpack demo has smk, xmas demo has a flic)
* Simplify sign
* Fix DecodeLine2 + decode_datatxt.py
* Compare against pointers
* Use float cos and sin functions
* Implement StopGroovidelic
* Implement TestAutoSpecialVolume
* Use floats in SmokeCircle related functions
* gOffset is initialized to 0
* Don't stub DrawTheGlow: every crash is an opportunity to find a bug
* Decrease indentation of LineBoxColl (no functional change)
* Use BrVector3XXX macro's in GetBoundsEdge (no functional change)
* Fix address sanitzier warning when using APC
* Use BrVector3XXX macro in GetPlaneNormal (no functional change)
* Get rid of global is_full_screen variable
* Add command line argument to start DethRace in full screen mode
* cmake: move DETHRACE_FIX_BUGS cmake option to top cmake script
* Add DETHRACE_FIX_BUGS macro when DETHRACE_FIX_BUGS cmake variable is defined
* harness: prescale mouse pointer so it works seamlessly with hires
* Fix IWANTTOFIDDLE
* Add comments for the fixes
* Revert "Don't stub DrawTheGlow: every crash is an opportunity to find a bug"
This reverts commit 3345649201.
* Change type of DRPixelmapCleverText2 to char*
* Fix warnings emitted due to -Wreturn-type
* Fix BR_ONE_LS redefinition warning
* Fix warnings emitted by -Wparentheses
* Tag FatalError and PDFatalError with noreturn attribute, fixing -Wreturn-type warnings
* Fix string type of TransBrPixelmapText~
* Fix a few -Wmaybe-uninitialized warnings
* Fix -Wformat and -Wpointer-sign warnings in test_datafile.c
* Fix -Wshift-negative-value warning
* Fix -Wpointer-sign warning
* chdir is declared with attribute 'warn_unused_result'
* Fix -Wmaybe-uninitialized warning
* Fix -Warray-bounds warning
* Fix -Wmaybe-unitialized warning
* Fix -Wmaybe-unitialized warning
* Fix -Wmaybe-unitialized warning
* Fix -Wmaybe-unitialized warnings
* Fix a few -Wmaybe-uninitialized warnings
* cmake: unify warnings amongst gcc and clang
* fatalerror_fixup
* Fix -Wabsolute-value warning
* Fix all warnings when building with MinGW on Windows
* Fix warning caused by -Wimplicit-fallthrough
* Fix warnings caused by -Wcast-function-type
Fixes these types of warnings:
cast between incompatible function types from ‘br_uint_32 (*)(br_actor *, void *)’ {aka ‘unsigned int (*)(struct br_actor *, void *)’} to ‘intptr_t (*)(br_actor *, void *)’ {aka ‘long int (*)(struct br_actor *, void *)’} [-Wcast-function-type]
* Fix warning caused by -Wmissing-field-initializers
* Normalize direction_v vector and store in displacement
* 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
* fix segfault, now hitting not implemented on ProcessPursueAndTwat
* opponents actually sort of driving
* remove cglm dependency
* opponents driving around generally working
* fully mapped out gEdit_funcs
* adds --i-am-cheating flag to allow skipping entering cheat code
* cleaned up ProcessFollowPath
* cleanup FollowCheatyPath, fixes crash in SmokeLine
Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
* 3d rendering working slightly
* lighting working but looks funny
* camera swoop working somehow
* 3d rendering working down to camera
* fix linux build