* 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
* SendCarData, ReceivedStartRace
* fixes heap overflow during join
* fixes access on possibly-null pDetails
* DoNetScores
* Fix cast warning of comparefn of qsort
* DisplayUserMessage
* Pack tNet_contents on 4 byte boundary so 32-bit and 64-bit Intel cpu get same struct lay-out
* Add a few static assertions to verify net message offsets
* Add dethrace Wireshark dissector (WIP)
* add dissector installation instructions
* Set wireshark info column
* Fix various typo's
* 4-byte align tNet_message_join as well + more dethrace.lua
* Add more assertions
* Fix network car choose loop
* player scores
* tidy
* mechanics
* Implement SortNetHeadAscending for 'Terminal Tag'
* Update WireShark dissector
* start of tNet_message_pedestrian dissector
* network player cars can see each other move
* netmsgid tidy ups
* dissector: print HOST/CLIENT in info column
* Don't allow hosting a game when starting dethrace with --no-bind
* fix oldd copy
* time_step is integer, fixes client car out of sync
* wasted, recover, kick player out
* NetSendPointCrush
* crushpoint, declarewinner
* network race summary wip
* Start and finish a game of tag/fox
* network fixes
* Players can now send love letters to each other
* Rewrite if's a bit
* Use enum values for GetMiscString and DoFancyHeadup
* Fix fox effect
* Fix fox/it effect at start of race
* Use KEYMAP_ enum values
* Disable address sanitizer and dr_dprintf logging
---------
Co-authored-by: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com>
* fix windows chdir behavior
* log panics to file and check for gl shading language
---------
Co-authored-by: Jeff Harris <jeff@1amstudios.com>
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
* Fix bugs exposed by Portuguese Carmageddon
* Fixes for warnings/errors found in rec2
* Macos says "no"
* Last argument of _partSet can be a pointer
* feof is a macro dereferencing f on some systems
* Allow longer program_name in addr2ine
* Fix casing issue with sounds
French Carmageddon provides DATA/SOUND/fyeah1.WAV where it expects DATA/SOUND/FYEAH1.WAV
* tools: add encode capability to decode script
* Replace font id integers with enum
* Result of BrFileGetLine is not used
* Document the StripControls fix
Co-authored-by: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com>
---------
Co-authored-by: Dethrace Engineering Department <78985374+dethrace-labs@users.noreply.github.com>
* 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
* 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>'
The DOS version loads both low and high-res car icons: one is used for in-game icons, the other for use in the menus.
On Windows, only the high res car icons are used. This causes artifacts.
* 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>
* misc: use appropriate types
* Fix buffer overflow read when the_angle == DR_PI_OVER_2
Yes, this happened on my system.
* piping: extra debug
* appropriate type
* piping: read number of chunks correctly
* Always enable replay
* Some executables accept a -german command line option for a 'safe' environment
* Add ascii table for carmageddon, and use it when KEYBOARD.COK is not available
* Remove unneeded braces in input.c
* Use KEY_SHIFT_ANY instead of KEY_LSHIFT
* Remove empty line
* Move ascii tables to external header
* Make sure to treat extended ASCII as unsigned: they must be positive to avoid out-of-bounds texture access
* Add HOOK_NORETURN to certain function declarations
This fixes the following warning:
warning: ‘noreturn’ function does return
* Fix -Wstrict-prototypes warnings
* Fix -Wstrict-prototypes warnings in S3
* harness: split null.h in null.h and null.c
* Move GLRenderer_ClearBuffers to previous location
* Whitespace fixes