Commit graph

20009 commits

Author SHA1 Message Date
Sally Coolatta
1530c15db7 Fix visual not matching exact steep range 2022-09-21 02:01:38 -04:00
Sally Coolatta
3f66a8e72f Fix fast fall preventing stumble 2022-09-21 01:38:21 -04:00
AJ Martinez
51d46a2a8a Remove debug print 2022-09-20 21:32:45 -07:00
AJ Martinez
aaf18fb1cf Offline Input Delay -> Minimum Input Delay, default 0 -> 2 2022-09-20 21:29:17 -07:00
AJ Martinez
8525dfb502 Allow netgame clients to display and be affected by mindelay 2022-09-20 21:21:51 -07:00
AJ Martinez
bd83a9f3b1 Mindelay: Probably don't calculate ping outside of games period 2022-09-20 20:33:30 -07:00
AJ Martinez
ada40b421c Mindelay: Never draw ping outside of games 2022-09-20 20:29:34 -07:00
AJ Martinez
e1f72898f5 Mindelay: Update ping display even in local play 2022-09-20 20:15:02 -07:00
AJ Martinez
87b92a7127 Bump ping tiers by 1 tic 2022-09-20 20:05:00 -07:00
AJ Martinez
e242207d10 Mindelay: Oni suggestions rollup 2022-09-20 19:01:54 -07:00
Oni
2d38d0fbc6 Merge branch 'item-debris-final' into 'master'
Item Debris

See merge request KartKrew/Kart!683
2022-09-20 22:20:44 +00:00
SteelT
ccff9a6ce2 Improve profile applying during startup
This allow cases can route around the title screen, such as if the `-connect` command line param is used, to work properly
2022-09-20 15:04:37 -04:00
James R
e7b0e223e1 Fix respawning item boxes with P_RespawnBattlesBoxes 2022-09-20 10:36:32 -07:00
James R
96c1c36821 Add a mode to the toggle command, cycle a set of values
toggle timescale 0.2 0.75 1

If timescale is 0.2, go to 0.75
If timescale is 0.75, go to 1
If timescale is 1 or any other value, go to 0.2
2022-09-20 08:29:22 -07:00
James R
4fb1eef8f1 command.c: refactor Setvalue, create CV_CompleteValue 2022-09-20 08:29:21 -07:00
James R
7a56e5ade6 Move choose and chooseweighted commands to command.c
Fixes disabled under dedicated and it's the appropriate
place for these. Effectively cherry pick of 35b82b6dd9
2022-09-20 08:29:14 -07:00
Sally Coolatta
12475dc434 Make smoothland client-sided 2022-09-20 10:35:13 -04:00
Sally Coolatta
f987d1b601 Add smooth landing vfx 2022-09-20 10:33:24 -04:00
James R
81eb513ef1 Fix item pop sfx not playing for eggman boxes and playing TWICE for everything else
The former is my bruh and the latter is probably not my
brew.
2022-09-20 06:10:52 -07:00
James R
7d87f2e1a2 Fix item debris animation
WHAT WERE THEY COOKING
2022-09-20 05:45:28 -07:00
James R
f6ef29cf03 Refactor item debris cloud
- The "cloud" is stationary and spawned on the item box
instead of the player. Still scales up with speed.
- Single particles are spawned behind the player. No
longer scales. Lasts longer but can end early if the
player slows down.
2022-09-20 05:45:28 -07:00
James R
c2b2cd9a43 Reenable item box respawning
Old code was shit so I removed it (4d67cc632). Turns out
none of that bullshit actually mattered to make this box
respawn and it just needs to go to an invisible state!

Makes use of some nifty flickering code (that was already
there but effectively disabled) shortly before it actually
respawns.
2022-09-20 05:45:28 -07:00
Sally Coolatta
acf2484def Merge branch 'master' into tumble-slope-fuck 2022-09-20 07:34:44 -04:00
AJ Martinez
db25599647 Offline input delay cvar 2022-09-20 02:34:53 -07:00
Oni
3f3e3ffdf6 Merge branch 'item-bungus' into 'master'
Make Ballhog more interesting

See merge request KartKrew/Kart!639
2022-09-20 01:31:47 +00:00
VelocitOni
a2db1673dc Made hitbox radius 26 instead of 16 2022-09-19 19:27:23 -04:00
VelocitOni
2dba4fd283 Merge branch 'master' into item-bungus 2022-09-19 18:11:26 -04:00
James R
c7847fa32a Bump trip wire leniency tics from 7 to 15 2022-09-19 14:21:37 -07:00
James R
744129aefb Merge branch 'nerf-leniency' into 'master'
Reduce tripwire leniency from 35 to 7 tics

See merge request KartKrew/Kart!676
2022-09-19 20:03:32 +00:00
Sally Coolatta
04d4158ff6 Init RNG state on engine load 2022-09-19 00:55:33 -04:00
Sally Coolatta
1563660a39 Add a few RNG classes
- PR_ITEM_ROULETTE: Used for item results
- PR_ITEM_RINGS: Flung ring direction
- PR_ITEM_SHRINK: Shrink gun offsets
- PR_PLAYERSTARTS: Battle mode player starts
- PR_TERRAIN: TERRAIN particles
- PR_DECORATION: Generic decoration
- PR_VOICES: Player voice sounds
2022-09-19 00:55:11 -04:00
Sally Coolatta
a60d4a13a1 RNG classes, take 2
Redone version of my old branch
2022-09-19 00:04:57 -04:00
toaster
0a48165d3a Disable hardcoded Discord API map icons for now, we can address this at release 2022-09-18 20:43:15 +01:00
toaster
93e72d3f66 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers 2022-09-18 20:00:52 +01:00
toaster
7d990c4f15 Rework nextmap to be automatic
- Refactor significantly (now has its own func, `G_GetNextMap`)
    - If gametype uses cups, iterate through cups to find the current level, then grab the next valid level
    - If not, get the next valid mapheader for your gametype
    - SOC `nextmap`/`marathonnext` is not just deprecated but REMOVED
    - Hide the NEXTMAP_ constants again, but leave support dummied out for if we have them publically accessible again
- Also get rid of a bunch of OTHER mapheader stuff we're never gonna use
    - NiGHTS Grades? NOPE
    - Vanilla titlecard patches? NOPE
    - Boss music fadeout/replacement? NOPE
    - Select Heading? NOPE
    - You've been blocked.
- Don't show maps without lumps on the level select list
- this is me being petty, but making it NOTIMEATTACK in SOC instead of TIMEATTACK so we can reconsider the maps with/without them.
2022-09-18 20:00:28 +01:00
Sally Coolatta
d0482b4905 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart 2022-09-18 09:13:23 -04:00
Sally Coolatta
7aa29f80a9 /4 -> /3 2022-09-18 09:13:08 -04:00
VelocitOni
992dde0e3b Merge branch 'master' into item-debris-final 2022-09-18 07:58:53 -04:00
Oni
473545d8eb Merge branch 'poh-bee-suited-up' into 'master'
Poh-Bee sprites + laser sound

See merge request KartKrew/Kart!685
2022-09-18 11:57:30 +00:00
Sally Coolatta
fe960530da Pohbee turns around when reaching the waypoint 2022-09-18 05:20:29 -04:00
Sally Coolatta
ab8126b706 Add Tyron's sound 2022-09-18 05:06:45 -04:00
Sally Coolatta
dc350a77df Remove old powerup warning option 2022-09-18 04:58:17 -04:00
Sally Coolatta
e610c41d0f Add Poh-Bee sprites 2022-09-18 04:33:03 -04:00
Sally Coolatta
5767315787 SPB in its own file + better waypoint movement 2022-09-18 01:07:46 -04:00
toaster
b68710faf2 Rework special nextmap events.
- G_MapNumber now handles special NEXTMAP_ nextmapspecial_t constants that exist at the end of the available type.
- Cleanup of G_DoCompleted
- Add bounds checking to the various SOC maincfg map starts (spstage_start, etc)
- Add lump checking to titlemap behaviour
2022-09-17 19:10:04 +01:00
toaster
8ea80d64ef Randmapbuffer now prepared for infinite maps
- Now a struct with zone-allocated buffer member
- Instead of bunging it on the end of the buffer, the time for G_SometimesGetDifferentGametype is its own struct member
2022-09-17 16:13:50 +01:00
James R
4d67cc6324 Replace shitty item box pop with flying debris and dust clouds
Debris flies forward and outward from the player in the
direction of momentum. Debris particles bounce once then
disappear when they hit the ground for the second time.
Clouds spawn on and trail behind the player for a short
duration.
2022-09-17 06:41:44 -07:00
toaster
d42812d5b5 Don't select a map - whether random (voting screen, randommap command, etc) or specific (map command) if it has no associated lump. 2022-09-17 14:08:11 +01:00
toaster
1a284ec7c6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers
# Conflicts:
#	src/d_netcmd.c
2022-09-17 13:57:26 +01:00
toaster
7e17f5456c I_Error in all situations where mapheaders were previously allocated outside of SOC.
Also:
- improved error prints for SOC condition definitions
- improved bounds checking to use `nummapheaders` for iterating over mapheaderinfo
There are still situations that use NUMMAPS like mapvisited, randmapbuffer, etc, which need to be addressed before merger.
2022-09-17 13:07:48 +01:00