Commit graph

21082 commits

Author SHA1 Message Date
James R
d6f8d18ece Add alias-bootstrap.sh
Contains some useful aliases for Git.

Adds:

- git cmake
- git build
- git crossmake
2023-01-06 22:16:55 -08:00
James R
79bf9b1225 Add CMakePresets.json
"default" preset
- build with Ninja
  - enables GCC color diagonstics under Ninja
- uses /build dir
- enables DEVELOP build
- compiles with optimizations and debug symbols

"debug" preset
- compiles without optimizations
- enables further debug info
2023-01-06 21:52:26 -08:00
Oni
cf609113f3 Merge branch 'lightsnake-polish' into 'master'
Lightsnake polish

Closes #309 and #299

See merge request KartKrew/Kart!870
2023-01-07 00:33:46 +00:00
toaster
9a1c377e30 Merge branch 'fix-tiregrease-offroad' into 'master'
Apply tiregrease exception to offroad TERRAIN

See merge request KartKrew/Kart!866
2023-01-06 15:14:34 +00:00
toaster
8cf5ebd564 Merge branch 'fix-comprevision-replays' into 'master'
Stricter compbranch and comprevision

Closes #398

See merge request KartKrew/Kart!864
2023-01-06 15:13:46 +00:00
toaster
f4071ce42f Fix getting race-endingly stuck in zoom tubes while respawning 2023-01-06 13:50:47 +00:00
toaster
6d1dd5f089 Fix player potentially getting stuck invisible while lightsnaking when not true death respawn 2023-01-06 13:43:11 +00:00
toaster
5e4a715394 Decrease spinouttimer every other tic in lightsnake, to a minimum of 1 to still prevent drop dashing
Resolves #309.
2023-01-06 13:30:34 +00:00
toaster
1213836564 Permit a lightsnaking player to go into RESPAWNST_DROP (the final second of lightsnake) early at any time after the initail bring-back-to-last-waypoint.
Needs balance testing, but resolves #299.
2023-01-06 13:20:04 +00:00
toaster
c068013022 Merge branch 'drmemory-cleanup' into 'master'
Clean up memory mishandling flagged by DrMemory

See merge request KartKrew/Kart!863
2023-01-06 12:07:10 +00:00
toaster
2fdf5de545 SetChannelsNum: Remove now-unused iterator variable 2023-01-06 11:58:42 +00:00
toaster
731446bb3e opendir: Eidolon suggestion for initialiser 2023-01-06 11:58:17 +00:00
toaster
3e9231f658 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into drmemory-cleanup 2023-01-06 11:53:58 +00:00
James R
4adc25eb74 Apply tiregrease exception to offroad TERRAIN 2023-01-05 19:21:32 -08:00
James R
1f827a9c25 Omit hyphen in replay folder name if compbranch is empty (detached HEAD) 2023-01-05 18:36:41 -08:00
James R
94e3050f10 Do not overwrite compbranch in case of detached HEAD 2023-01-05 18:32:54 -08:00
James R
55636fa690 Separate git commit subject line from comprevision, add SRB2_COMP_NOTE 2023-01-05 18:32:20 -08:00
James R
f5b985bcc3 doomdef.h: refactor comptime externs 2023-01-05 18:30:12 -08:00
Sal
99e6301365 Merge branch 'fix-window-refocus' into 'master'
SDL: only react to window focus changes if state actually changes

See merge request KartKrew/Kart!859
2023-01-06 02:29:13 +00:00
James R
16ac11d76e sdl/i_main.cpp: guard entire init_exchndl behind _WIN32
Fixes -Wunused-function
2023-01-05 18:06:52 -08:00
James R
a345ccda68 Merge branch 'tunes-show-credit' into 'master'
Print musicdef along with tunes -show

See merge request KartKrew/Kart!854
2023-01-06 02:03:35 +00:00
James R
e1b7fd79ee Merge branch 'fix-format-truncation' 2023-01-05 18:02:50 -08:00
James R
645f9e7f46 Merge branch 'music-player-64-literal-fix' into 'master'
Fix audio/music_player.cpp compiler error on 64-bit

See merge request KartKrew/Kart!858
2023-01-06 02:01:29 +00:00
James R
ac250d45f1 Merge branch 'monitors' into 'master'
Monitors

See merge request KartKrew/Kart!845
2023-01-06 02:00:24 +00:00
James R
546b4dcb88 Merge branch 'save_p-unglobal' into 'master'
Make save_p / savebuffers not global

See merge request KartKrew/Kart!834
2023-01-06 01:02:07 +00:00
toaster
22b87e0f19 Consistency for mobjnum 0 meaning NULL
Moves `P_Net(Un)ArchiveTubeWaypoints` down the file to take advantage of `SaveMobjnum` inline.
2023-01-06 00:05:31 +00:00
toaster
5c1235407b Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into save_p-unglobal 2023-01-05 23:49:30 +00:00
toaster
ede0f56819 Revert all instances of P_SaveBufferFree(&demobuf) for now
g_demo.c is officially No Man's Land
2023-01-05 23:44:40 +00:00
toaster
724c9b774e Cleaner reference handling for the following extern-scope netsynced mobj_t*.
- `skyboxcenterpnts` and `skyboxviewpnts`
    - P_InitSkyboxPoint`, which calls `P_SetTarget`
- `waypoint->mobj`
    - Make sure NULL before using `P_SetTarget` on
- `tubewaypoints`
    - Use `P_SetTarget`
    - Use `UINT32_MAX` for the invalid mobjnum, since 0 is a valid one.
- `waypointcap` and `kitemcap`
    - NULL before reset

Our international nightmare is over.
2023-01-05 23:32:12 +00:00
Eidolon
1094f844a6 Merge branch 'loadlibrary-exchndl' into 'master'
core: load exchndl.dll at runtime, RINGRACERSWADDIR

See merge request KartKrew/Kart!857
2023-01-05 23:30:23 +00:00
Sal
eb68c15c96 Merge branch 'stairjank-falloff' into 'master'
Reduce stair janking loss of control if momentum angle drifts too far from facing angle

See merge request KartKrew/Kart!850
2023-01-05 22:37:55 +00:00
toaster
59d8c540d1 SetChannelsNum: Callocate sound channels, don't mallocate them 2023-01-05 22:14:31 +00:00
Sal
5ede1e5a18 Merge branch 'find-musicdef' into 'master'
Add S_FindMusicDef, function to find musicdef by name

See merge request KartKrew/Kart!860
2023-01-05 21:56:47 +00:00
toaster
89b77b6569 opendir: initialise dd_dta struct 2023-01-05 21:44:14 +00:00
toaster
99808d7a4c filesrch.c: Initialise struct stat 2023-01-05 21:35:24 +00:00
Sal
b46caf4a7a Merge branch 'addons-menu-addons-folder' into 'master'
Go to addons folder by default in addons menu

Closes #373

See merge request KartKrew/Kart!853
2023-01-05 20:51:28 +00:00
toaster
b0a8a0efad Update comment for K_TERRAINLumpParser 2023-01-05 20:50:34 +00:00
toaster
2d95c177ea K_InitBrightmapsPwad: Also use guaranteed null-terminated data copy ala K_InitTerrain 2023-01-05 20:50:13 +00:00
Sal
14b6ebd25a Merge branch 'rulesify-item-odds' into 'master'
Fix Battle item spawning odds

See merge request KartKrew/Kart!852
2023-01-05 20:43:59 +00:00
Sal
292a747a17 Merge branch 'unlock-menu-extra' into 'master'
Challenges polish

See merge request KartKrew/Kart!855
2023-01-05 20:29:10 +00:00
Sal
6e6a799b1e Merge branch 'refactor-get-item-odds' into 'master'
Refactor K_KartGetItemOdds

See merge request KartKrew/Kart!851
2023-01-05 20:25:54 +00:00
Sal
3b53396103 Merge branch 'fix-distribution-debugger' into 'master'
Fix crash in item distribution debugger

See merge request KartKrew/Kart!862
2023-01-05 20:23:44 +00:00
toaster
496cc2fa0b CV_palette_OnChange: do not reload colour cube until LOADED_CONFIG is complete
No substitute for an actual mutex on the palette, but this does at least prevent 21 redundant calls to palette reinitialisation
2023-01-05 20:21:46 +00:00
toaster
afafdea14b readfollower: Fix plenty of memory unsafety
- Fix uninitialised memory usage caused by goofy delayed strcpy
- Use strlcpy instead of strcpy for unknown length sources, just for additional memory safety
- Remove opportunity for printing a number of more than one digit into a buffer only two chars long
2023-01-05 19:31:49 +00:00
toaster
4520d56fa3 K_InitTerrain: Do what ANIMDEFs parsing does and create a copy of the TERRAIN lump with a guaranteed null terminator 2023-01-05 18:10:42 +00:00
toaster
b35c33a1b5 M_GetToken: check whether startPos is beyond string length BEFORE using it as string index 2023-01-05 18:09:50 +00:00
James R
d56a5041aa Use K_GetCachedItemPatch for distribution debugger
Fixes crash from patch array mismatch.
2023-01-05 05:13:18 -08:00
James R
e7af4a5084 Resize menudemo_t filepath to fix -Wformat-truncation 2023-01-05 04:24:37 -08:00
James R
e78625455e Resize downloaddir to fix -Wformat-truncation 2023-01-05 04:24:37 -08:00
James R
dfd8a36f8f sdl/i_main.cpp: fix -Wliteral-suffix 2023-01-05 03:51:04 -08:00