Commit graph

19867 commits

Author SHA1 Message Date
toaster
077b23929b Adjust P_AllocMapHeader and associated
- Prints with more info
- No weird increment/decrement
2022-09-22 12:47:59 +01:00
toaster
abb567ab81 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers 2022-09-21 23:06:24 +01:00
toaster
574cc6049f NUMMAPS is dead
Dynamically allocated mapheaderinfo. 1035 reserved slots in a google doc is a thing of the past
2022-09-21 23:01:58 +01:00
toaster
a12a29e1e5 Demos now store map lumpname rather than mapheader ID
This was the last thing we needed to do before infinite maps. Stay tuned.
2022-09-21 22:37:30 +01:00
toaster
5a813cd94d Remove mapname buffer from serverinfo_pak 2022-09-21 22:19:51 +01:00
toaster
60355d9efd Move two of the three remaining NUMMAPS arrays part of the mapheader_t struct
- mapvisited and recorddata_t (previously mainrecords)
- Changed how gamedata is saved and loaded
- Change the versioncheck (funny hex provided by chengi) AND call it `developringdata.dat` in develop builds
- Fix a bunch of off-by-ones in condition and emblem data
ALSO, for Time Attack:
- Fix menu not showing off your times
- Now save times even when gamedata modified, since the menu didn't care (come back to it?)
- Don't save times or do intermission screen if the Capsule Attack ended because you lost all your bumpers
- Fix a crash adding ghosts in Capsule Attack
2022-09-21 22:12:36 +01:00
toaster
b8f3e64ca1 discord.c compilation warning 2022-09-21 19:22:33 +01:00
toaster
fc9697b2e1 Repair D_StartTitle component of netgame title fallthrough prevention 2022-09-21 19:22:05 +01:00
James R
794385dd63 Merge branch 'improve-profile-apply-startup' into 'master'
Improve profile applying during startup

See merge request KartKrew/Kart!689
2022-09-21 17:08:11 +00:00
Sally Coolatta
44a742b1aa r_things.c -> r_things.h 2022-09-21 11:51:43 -04:00
Sal
cb85e23422 Merge branch 'tumble-slope-fuck' into 'master'
Stumble + Smooth Landing

See merge request KartKrew/Kart!571
2022-09-21 14:13:17 +00:00
VelocitOni
329aecd5e5 Made the circle solid for longer
Edited NUMTRANSMAPS to make it solid for 2 maps longer, adjusted fudge ANG to 15 from 10 (more visually lenient)
2022-09-21 10:12:10 -04:00
Sally Coolatta
e347fadf02 Add a fudge constant to the stumble indicator 2022-09-21 07:49:33 -04:00
VelocitOni
6d45e58425 Merge branch 'master' into tumble-slope-fuck 2022-09-21 07:04:37 -04:00
Oni
1b373cf0e8 Merge branch 'autocope' into 'master'
Offline input delay cvar

See merge request KartKrew/Kart!687
2022-09-21 10:56:22 +00:00
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
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
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