Commit graph

1162 commits

Author SHA1 Message Date
NepDisk
8dcaba2d43 Basic work to restore the wanted system 2024-12-17 10:54:22 -05:00
NepDisk
4b1324da69 Remove Battle capsule stuff and turn it into Item Breaker
You have to smash every itembox in a map as fast as you can. When you mash you get a pogospring and waiting gives a sneaker
2024-12-17 00:24:20 -05:00
NepDisk
1e678f660f Remove TESTERS and HOSTTESTES and use v1 assets where applicable 2024-12-16 14:23:14 -05:00
NepDisk
b44e97cc21 prevent map command crash from maps with invalid or non existing mapinfo
dba7a7dc3c
2024-10-22 02:45:21 -04:00
NepDisk
cf9f6fc570 Merge branch 'v2dev3' into ACS2 2024-10-21 17:30:55 -04:00
toaster
d2228bf349 Move some command and cvar registering between D_RegisterServerCommands and D_RegisterClientCommands depending on whether a dedicated server needs them or not 2024-10-18 04:29:38 -04:00
NepDisk
af277ad1d9 Split G_ExitLevel into G_BeginLevelExit and G_FinishExitLevel 2024-10-15 16:19:50 -04:00
Sally Coolatta
e23180283a Contain end & size into savebuffer_t
I would've liked to make it use a single allocate function to do this very cleanly, but these cases were very clearly not meant to be standardized and use wildly different methods to allocate & free...
2024-10-15 07:48:51 -04:00
James R
3fb806ed71 Remove global lua_save_p and use savebuffer_t for LUA_Archive / LUA_UnArchive 2024-10-15 07:43:52 -04:00
Sally Coolatta
07cdd2f461 Make save_p / savebuffers not global
This caused some scary issues with P_SaveNetGame the other day, and it's making ACS net sync harder. Let's just cut this off right now.

Also fixed some scary mix-ups in some of the Lua archiving code.
2024-10-15 06:41:25 -04:00
NepDisk
cb9ab1518b Fix default skin colors 2024-10-15 00:22:18 -04:00
NepDisk
92bda9519a Reimplement turn smoothing plus toggle 2024-09-18 10:17:35 -04:00
Wumbo
3ad5d9cd00 Fix follower with ID 0 not appearing on track load 2024-09-14 18:30:06 -04:00
Wumbo
b4ec4ef691 Make first follower selectable again 2024-09-12 13:38:31 -04:00
Wumbo
45304f5c3d Handle follower colors better
- Default color definitions are now parsed properly
- Fallback color value is now default color instead of player color
- Player setup now renders follower with right color

Selecting the first follower in the list is currently broken, will
fix later
2024-09-12 01:34:56 -04:00
NepDisk
1085c6ceb0 Implement blan folder and reimplement walltransfer
Wall transfering can now be used by enabling cvar BG_forcewalltransfer or putting WALLTRANSFER into your map header
2024-09-10 22:36:45 -04:00
toaster
372e655d70 Merge branch 'fix-addfile-double-error' into 'master'
Fix networked addfile command erroring twice for already added files

See merge request KartKrew/Kart!1100
2024-09-07 00:10:33 -04:00
NepDisk
a2fcc4bc20 UDMF cherry-pick cherry-pick 2024-08-20 02:47:00 -04:00
NepDisk
ac27f0438a Port antigrief from SRB2Kart
Ported this one spefically since I prefer how it works
2024-08-18 01:39:26 -04:00
NepDisk
31b6994628 Remove rest pf RingRacers Refs 2024-08-16 12:09:50 -04:00
NepDisk
78f4bdee7a
Merge pull request #3 from WumboSpasm/unrebrand
Restore SRB2Kart branding in source code. Thanks Wumbo!
2024-08-14 01:07:13 -04:00
Wumbo
d1a9080187 Un-rebrand back to SRB2Kart 2024-08-13 21:54:52 -04:00
NepDisk
9ba2140b3d Restore old respawn PT1
All the code from k_respawn.c has been nuked. The gameplay of respawning works but it doesn't currently drop the player in the right spot for both legacy and new waypoints
2024-08-12 14:49:12 -04:00
NepDisk
699e607ec7 Implement controller stuff 2024-08-07 15:27:48 -04:00
toaster
9016f65440 Support alternate gameplay events during GP
- Implementation details:
    - grandprixinfo.eventmode is the reference point
    - All bots have spectator applied and removed at map start depending on eventmode, and I've done my best to guard against side effects of not removing them entirely
    - You shouldn't turn off grandprixinfo.gp when turning on things like specialStage.active or bossinfo.boss when pursuing eventmode behaviour
    - Probably needs to be integrated into XD_MAP for any future netplay support, is currently disabled.
    - You technically don't have to assign a Capsules map to be the bonus and a Special Stage to be the special. A Capsules map can be assigned to a Special Stage too, and a Boss can be assigned to either of them.
    - Special Stages are still just as incomplete as they were before.
- Break the Capsules has special behaviour.
   - Timelimit starts at 20 seconds.
   - Earn 10 seconds (plus a little extra cheaty time) every capsule you destroy.
   - WIN + extra life if you bust all the capsules, COOL if you get some but run out of time, LOSE if you lose your bumper or run out of time without breaking a single capsule.
   - Supposed to also give you rings, but ran into a LOT of difficulty with this and didn't want to commit half-baked stuff, so it'll be a later project.
Also:
- Fix a long standing bug where totalring was reset between maps, preventing the sum from adding up across GP rounds and depriving you of extra lives you were owed.
- Fix an issue where Break the Capsules record attack was KARTSPEED_HARD.
- Send timelimitintics in savegames, since it's handled seperately now.
2024-08-05 00:41:06 -04:00
NepDisk
d7dd4f68e2 rings disable toggle, rebalance rings 2024-08-01 14:06:24 -04:00
NepDisk
608e2b6844 flipcam and encore flipcam 2024-08-01 11:46:59 -04:00
Hanicef
73d324b2a2 Add NameChange lua hook 2024-08-01 02:12:05 -04:00
NepDisk
fb2167d74a default lagless on, default mindelay 0 2024-07-31 04:02:11 -04:00
Oni
fab85e542b Merge branch 'autocope' into 'master'
Offline input delay cvar

See merge request KartKrew/Kart!687
2024-07-31 03:09:10 -04:00
James R
2adeff2488 Merge remote-tracking branch 'origin/cvar-default-ports' 2024-07-31 03:05:44 -04:00
Sal
a4d475dc4c Merge branch 'hostcode' into 'master'
HOSTCODE initial pass

Closes #240

See merge request KartKrew/Kart!615
2024-07-31 03:01:45 -04:00
Sal
23000c7e86 Merge branch 'bbox' into 'master'
renderhitbox command for Software mode

See merge request KartKrew/Kart!672
2024-07-31 02:35:57 -04:00
NepDisk
7530227163 Revert "Add a hitbox renderer to Software mode"
This reverts commit 082d9206e89113533f4f6f7a8798f872e9a1ea39.
2024-07-31 02:33:15 -04:00
James R
45227168b0 Add a hitbox renderer to Software mode
renderhitbox
- Tangible - collision activating objects, minus rings
- All - every object
- Intangible - the opposite of Tangible, also no rings
- Rings - rings
2024-07-31 02:32:57 -04:00
Sal
1d8475a958 Merge branch 'hooklib-port' into 'master'
Hooklib refactor ported and (mostly) squashed

See merge request KartKrew/Kart!662
2024-07-31 02:30:20 -04:00
NepDisk
41e23a24cc Revert "Merge branch 'bbox' into 'master'"
This reverts commit 62dae0d1b6.
2024-07-31 02:11:05 -04:00
Sal
62dae0d1b6 Merge branch 'bbox' into 'master'
renderhitbox command for Software mode

See merge request KartKrew/Kart!672
2024-07-31 02:08:44 -04:00
Sal
8714d0e60b Merge branch 'kill-twod' into 'master'
Kill last of MF2_TWOD

See merge request KartKrew/Kart!716
2024-07-31 01:29:39 -04:00
Sal
1dcaf426ab Merge branch 'refactor-weaponpref' into 'master'
Refactor weapon pref

See merge request KartKrew/Kart!715
2024-07-31 01:27:40 -04:00
Sal
a62d278f19 Merge branch 'you-have-uncommitted-changes' into 'master'
The programmer took a nap. Hold out, programmer!

See merge request KartKrew/Kart!722
2024-07-29 17:17:02 -04:00
NepDisk
64b36b90ae Use kart titlecard, redo fade and fix grow canceling 2024-07-29 15:38:06 -04:00
toaster
1f3ac199ae Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into 14plus-mergeladder 2022-09-05 15:32:02 +01:00
toaster
1a53836d6a Compilation warning in D_PickVote 2022-08-28 18:34:33 +01:00
JugadorXEI
f17f6b7525 banishing hell map forcing
# Conflicts:
#	src/d_netcmd.c
#	src/y_inter.c
2022-08-28 17:11:19 +01:00
Sally Coolatta
7d67e02ea3 Bot perfstats
Show how long they take to think on all of their main tasks
2022-08-27 00:04:33 -04:00
Sally Coolatta
ebb34ff9d4 Lap based power level 2022-08-14 06:00:37 -04:00
James R
cf10ec1711 Merge branch 'follower-by-name' into 'master'
Always set follower cvar to follower name

Closes #261

See merge request KartKrew/Kart!620
2022-08-01 14:51:45 +00:00
James R
d299afbb2a Use follower name in cv_follower 2022-06-07 01:48:26 -07:00
James R
e2c64699d0 Strip items when spectating 2022-06-07 01:15:22 -07:00