James R
4ee00d4333
Pass const pointer to all netxcmd handlers
...
Ensure buffer data is read-only and not modified by
handler
2024-02-11 05:42:07 -08:00
Oni
d755d83778
Merge branch 'fix-intermission-parties' into 'master'
...
Fix Party management breaking during Intermission and Vote
Closes #499
See merge request KartKrew/Kart!1903
2024-02-03 19:41:57 +00:00
Oni
4ea946067a
Merge branch 'srb2-tidy' into 'master'
...
Clear out unused SRB2/Kart stuff from info tables
See merge request KartKrew/Kart!1811
2024-02-03 19:40:52 +00:00
James R
6f27714011
invite, leaveparty commands: use party API to check party size
...
Use G_PartySize/G_LocalSplitscreenPartySize instead of
r_splitscreen/splitscreen. This should be less
error-prone in case r_splitscreen fails to be updated
somehow.
2024-02-01 02:50:25 -08:00
toaster
106553f89d
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy
...
# Conflicts:
# src/p_mobj.c
2024-01-27 17:04:00 +00:00
James R
4576956ca6
Got_Cheat/CHEAT_GIVEPOWERUP: avoid reading out of bounds
2024-01-27 01:11:48 -08:00
James R
84641c896e
Battle: add POINTS power-up, get 6 points
2024-01-26 14:30:56 -08:00
toaster
6fdec66dc3
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into srb2-tidy
2024-01-26 00:29:06 +00:00
James R
db4e2e692b
Add LobbySize option to level headers, controls whether the map appears in vote, based on player count
...
- Prevents a map from appearing on the vote screen if
there are too many players
- LobbySize
- Duel - 2 players max
- Small - 5 players max
- Medium - 10 players max
- Large - 16 players max (default if not set)
- Future proofing
- Doesn't count bot players in gametypes that don't
support bots
2024-01-13 22:56:17 -08:00
James R
fd7eb42e9d
Vote: fix Encore appearing on Battle, if gametype was changed
2024-01-13 22:56:16 -08:00
toaster
325079a39a
Delete everything major flagged up by listunusedsprites
...
Notable deletions:
- Metal Sonic Race
- Includes all the specialised recording/playback apparatus which made g_demo.c harder to read
- A bunch of hyperspecialised code inside several A_ actions
- EXCEPTION: intentfully left in the spriteless SMK stuff for Sal's add-on down the line.
2024-01-11 01:21:43 +00:00
toaster
8733f16a72
listunusedsprites command
...
First, simple step in a cross-low-energy spare-moment project for clearing out unused SRB2 stuff in the info tables
2024-01-09 21:17:24 +00:00
toaster
01738e2264
Command_cxdiag_f: Evaluate Time Medals as well
...
- Tag-0 specified times of less than a second
- Invalid tags
- <= AUTOMEDAL_MAX (invalid Auto Medal)
- >= course's ghostCount (invalid specific Ghost-matching Medal)
- AUTOMEDAL_ with invalid number of Ghosts
- PLATINUM with no best Ghost to match
- All other types with less than two associated ghosts
2024-01-05 12:32:25 +00:00
James R
483519ea07
pointlimit: rename Default to Auto
2024-01-01 03:05:16 -08:00
toaster
7691629903
Further cxdiag faff
...
- Loop over each set of conditions twice
- first to determine relevant level/gametype
- secondly to evaluate everything else in that context
- Pick up called events which are invalid for the relevant gametype
- Pick up multiple levels per single condition
2023-12-27 16:34:23 +00:00
toaster
122ede8de9
More cxdiag Challenge condition minor error identification
2023-12-26 17:23:17 +00:00
toaster
798e016aa1
Fix compilation error for cxdiag
2023-12-26 15:47:32 +00:00
toaster
286c6d12a2
Add "cxdiag" console command
...
Challenge eXception Diagnostic for development purposes
2023-12-23 23:12:25 +00:00
toaster
f5722b7569
Intro adjustments
...
- Force to play when selecting "START GAME" from the Goner Setup
- Make far shorter on the First Boot, obscuring the extended Kart Krew vroom, to prevent it playing identically twice
- Prevent skipping the intro at all if Ring Cup hasn't been unlocked
- Both for the shortened initial startup and the START GAME first encounter
- It already clears dirmenu if relevant, don't do that twice
2023-12-18 01:10:37 +00:00
toaster
933faf1d9d
Command_Addfile: Only allocate after argc is sanity checked
2023-12-16 21:55:42 +00:00
Eidolon
88ee385ee3
Enforce C11 standard compliance, -Werror=vla
2023-12-14 21:53:18 -06:00
SteelT
5df44e4c70
Don't show gametype was changed message if the same gametype
2023-12-11 20:58:51 -05:00
James R
b6c7a42a97
Pause menu: changing gametype goes to vote screen
...
- If you change it during the vote screen, voting
restarts.
2023-12-06 00:00:54 -08:00
toaster
a55803b690
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into other-progression
2023-11-18 18:00:05 +00:00
James R
7d7110ead7
Let devmode work in replays, let teleport commands work in replay freecam
2023-11-16 18:45:04 -08:00
James R
dd214db693
Let teleport commands work locally, without cheats enabled, for spectators
2023-11-16 18:45:04 -08:00
toaster
97996d1a22
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into other-progression
2023-11-16 13:46:59 +00:00
AJ Martinez
d54d2f6d04
Merge remote-tracking branch 'origin/master' into catholic-vfx
2023-11-14 21:47:51 -07:00
toaster
4379c62276
Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into other-progression
2023-11-13 14:45:17 +00:00
AJ Martinez
06bc06869c
Lite Steer profile option, itemstate pflags -> player.itemflags
2023-11-09 17:29:26 -07:00
AJ Martinez
49fb2fe6b6
WIP: Trick Panel crack
2023-11-07 03:46:11 -07:00
toaster
b417c0655e
Map command: If you provide -force and the level has no associated gametype, safely assume Race as the default instead of requiring a -gt race addition
2023-11-06 21:44:55 +00:00
toaster
6b37f86be0
Map command: GT_TUTORIAL is incompatible with the default of single-course GP, default to -match behaviour
2023-11-05 00:07:01 +00:00
toaster
1ac64dc0ed
Assorted minor tidyup while handling previous commits in this branch
2023-11-05 00:01:44 +00:00
AJ Martinez
f9f5c74244
New bans
2023-10-16 23:50:50 +00:00
James R
fa89576f34
Move freecam state to camera_t, lets splitscreen players use freecam independently of each other
2023-10-08 14:26:21 -07:00
James R.
62503b244a
Add give2, give3, give4 commands
2023-10-03 21:28:35 -07:00
James R.
ff11166f30
setviews command: let outside of replays
2023-10-03 21:28:34 -07:00
James R
035b6cca8f
Merge branch 'reduce-tester-build-cope' into 'master'
...
Make making TESTERS builds simpler
See merge request KartKrew/Kart!1535
2023-10-04 03:40:15 +00:00
toaster
c90eaae477
IsPlayerAdmin: Make reimplementing the DEVELOP-specific behaviour at a later date easier
2023-09-27 00:25:25 +01:00
toaster
0b5fd330e6
Remove HOSTTESTERS
...
Now you can host for testers using a bog-standard DEVELOP build.
2023-09-26 23:56:35 +01:00
toaster
9854da9da1
IsPlayerAdmin: Do not have non-tester specific DEVELOP behaviour
...
It's easy enough for the host to verify any given player, and this is in fact the only HOSTTESTERS-specific sync change..!?
2023-09-26 23:54:56 +01:00
Sally Coolatta
c9291b0f61
Mobj thinker freeze condition rework
...
- There's a freeze cheat bool to freeze everything except for players.
- There's a level freeze bool to freeze literally everything.
- There's a frozen bool on mobj_t to explicitly control freeze status on an object.
2023-09-18 03:24:58 -04:00
toaster
03892812e5
Merge branch 'revert-md5-thread' into 'master'
...
Revert "W_InitFile: calculate md5sum on background thread, for startup wads"
See merge request KartKrew/Kart!1472
2023-09-10 21:17:37 +00:00
James R.
ddb0c65455
Add goto_skybox command, teleport to skybox viewpoint
2023-09-09 20:44:24 -07:00
James R.
42814cea2b
Revert "W_InitFile: calculate md5sum on background thread, for startup wads"
...
This reverts commit 28f2659342 .
2023-09-09 16:30:00 -07:00
Sal
eff847b216
Merge branch 'connecting-conundrums' into 'master'
...
Connecting Conundrums
See merge request KartKrew/Kart!1453
2023-09-08 02:05:09 +00:00
James R
28f2659342
W_InitFile: calculate md5sum on background thread, for startup wads
...
Add W_GetFileMD5, blocks calling thread until md5 is
calculated.
2023-09-06 18:32:41 -07:00
toaster
90f97ef50a
Comamnd_Map_f: Now that you can use the console from the menus, forbid starting a new session from the server join process (which includes the Server Browser)
2023-09-02 17:05:05 +01:00
James R
30e8d1663d
Register a bunch of commands with COM_AddDebugCommand, so they show up on the cheats menu
...
- angle
- archivetest
- assert
- bind
- causecfail
- clearscores
- countmobjs
- crash
- debugrender_highlight
- devmode
- displayplayer
- downloads
- eval
- gametype
- give
- god
- goto
- gravflip
- grayscale
- help
- hurtme
- isgamemodified
- listmapthings
- listwad
- memdump
- memfree
- minigen
- musicdef
- noclip
- numthinkers
- objectplace
- ping
- playsound
- randommap
- resetcamera
- respawnat
- restartaudio
- rteleport
- savecheckpoint
- scale
- setrings
- setscore
- setspheres
- showmap
- showscores
- showtime
- skynum
- teleport
- togglemodified
- tunes
- version
- view
- weather
2023-09-01 22:13:17 +01:00