Sally Coolatta
2786957fef
Move Obj_SPBExplode to correct place
2022-09-23 03:52:14 -04:00
Sally Coolatta
fa63c67f04
Disable shrinking items into nothing
...
No one feels strongly about it, it just feels weird
2022-09-23 03:46:56 -04:00
Sally Coolatta
13caae7a0e
Shrink does not remove SPB
2022-09-23 03:41:27 -04:00
Sally Coolatta
f89d8d15c2
Properly separate SPB & Shrink cooldowns
...
Also refactors some of the result -> type & amount code
2022-09-23 03:35:18 -04:00
SteelT
89a22783b6
vres_GetMap: Count resources in folders up until next 0-length lump, instead of "MAPXX"
...
As having named map lumps means the lump being named "MAPXX" isn't guaranteed anymore.
2022-09-22 16:05:44 -04:00
toaster
bd965ccd50
Off by one for music name default generation
2022-09-22 18:02:14 +01:00
James R
937e1d10d4
Fix -Wformat
2022-09-22 09:56:50 -07:00
toaster
cb8becb2d3
Enforce maximum length of 63 for map lumpname
...
Also, in g_demo.c, use SKIPSTRING (instead of READSTRINGN into a discard buffer)
2022-09-22 17:34:02 +01:00
toaster
48e9138dda
Refactoring ahoy
...
* Instead of doing constant G_MapNumbers when finding the relationship between maps and cups...
* Add a cache of level IDs to cups, to go with the strings.
* Add a cache of the cup pointer to maps, so we don't have to search through all cups to find our map. (done in P_InitMapData)
* Pre-emptive work: G_IsSpecialStage and P_GetNextEmerald now reference cup data instead of a hardcoded ID set.
* Remove a bunch of old stuff from mapheaderinfo_t/associated, and reorder what stays
* Countdowntimer? 💥
* Startrings? 💥
* sstimer/ssspheres? 💥
* forcecharacter? 💥 (distinct from forceskin)
* interscreen? 💥
* sstage_start/end and smpstage_start/end? 💥 💥 💥 💥
* You've been blocked
* G_MapNumber now returns a special NEXTMAP_INVALID if not found, for more consistent reference.
* Incorporate a good chunk of the `edit-headers` branch. Can't clear maps individually because of the new restrictions on sequential mapheaders, but we can add a "disable in vote screen, not even for map hell/archive" flag to a map at some future juncture for equivalent functionality...
2022-09-22 17:14:41 +01:00
James R
a836893a98
Correct 8b0a80996
2022-09-22 09:03:36 -07:00
James R
8b0a809968
Remove dehacked pflags
...
Cont. bcdf41ec6
2022-09-22 08:57:00 -07:00
James R
bcdf41ec64
Remove PF_ATTACKDOWN/PF_ACCELDOWN/PF_BRAKEDOWN, use oldcmd.buttons
2022-09-22 08:49:44 -07:00
James R
7251ed5d9e
Add player.oldcmd -- ticcmd from previous tic
2022-09-22 08:43:40 -07:00
James R
c792818887
Rename PF_LOOKDOWN to PF_GAINAX
2022-09-22 07:19:56 -07:00
James R
966ccdd230
Don't play boost taunt twice if meme voices are enabled
2022-09-22 06:39:45 -07:00
James R
713c21688e
Remove unnecessary setting of PF_ATTACKDOWN; use BT_ATTACK where equivalent
2022-09-22 06:38:07 -07:00
toaster
077b23929b
Adjust P_AllocMapHeader and associated
...
- Prints with more info
- No weird increment/decrement
2022-09-22 12:47:59 +01:00
VelocitOni
3a21f60ce1
Revert "Set back to 100%+ top speed, but w/ everything else kept the same"
...
This reverts commit e4f51ada15 .
2022-09-22 00:23:31 -04:00
VelocitOni
e4f51ada15
Set back to 100%+ top speed, but w/ everything else kept the same
2022-09-22 00:13:35 -04:00
VelocitOni
d9beb0daa6
Rebalanced GATES gains and reduced boost timers
...
Reduced top-speed from 100%+ to 75%+, reduced handling buff from 50%+ to 25%+, reduced boost-time on gates to half the time.
2022-09-22 00:00:32 -04:00
VelocitOni
5cbaeb5835
Gateboost @ 100%+ speed instead of 50%+
2022-09-21 23:14:12 -04:00
VelocitOni
b9ecb9ccc8
Reduced SPB distances again
2022-09-21 22:01:09 -04:00
Sally Coolatta
47293d1d9f
Improve debug distribution, rebalance SPB spawning
...
Might be too far in the other direction, we'll see
2022-09-21 21:02:05 -04:00
Sally Coolatta
34aa00ab0d
Fix drop target cvars & debug distribution
2022-09-21 19:48:57 -04:00
Sally Coolatta
f3742bad9d
Safe-guard SPB from 1st place
2022-09-21 19:02:38 -04: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
Sally Coolatta
9fa4654776
Turn off seek test again
2022-09-21 17:23:55 -04:00
toaster
5a813cd94d
Remove mapname buffer from serverinfo_pak
2022-09-21 22:19:51 +01:00
James R
43984aebd4
Lua spriteinfo default pivot support
2022-09-21 14:15:28 -07:00
James R
0912ebaaa3
Update and extend R_ParseSpriteInfo for default pivot
...
- Set default pivot with DEFAULT block
- Use wildcard star (*) with Sprite/Sprite2Info/Skin to
iterate over all sprites and/or skins
2022-09-21 14:15:28 -07:00
James R
5a631b302d
Add SPRINFO_DEFAULT_PIVOT, change spriteinfo_t.available to bit array
...
Default is used if the bit is not set for a particular
frame.
2022-09-21 14:15:28 -07:00
James R
b0f84e99fc
Refactor Lua spriteinfo
...
Fixes available not being set when pivot list is updated
on its own.
2022-09-21 14:15:28 -07: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
James R
58bc3294fa
Refactor R_ParseSpriteInfo
...
Splits up the function, thus makes me want to kill myself
less.
2022-09-21 12:30:29 -07:00
James R
499c61a9f2
Kill SPRITE/SPRITEINFO, SPRITE2INFO SOC headers
...
Kill it because maintaining three parsers for the same
data is insane.
2022-09-21 12:15:21 -07:00
Sally Coolatta
f02b67eae6
Add seeking sounds
2022-09-21 14:57:33 -04: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
d7ce973aaf
Only spawn gates when SPB is close to the ground
2022-09-21 12:23:42 -04:00
Sally Coolatta
38f6fe3112
Merge branch 'master' into new-spb
2022-09-21 12:11:39 -04:00
Sally Coolatta
f4dddf0385
Properly run ahead in fuse state
2022-09-21 11:59:59 -04:00
Sally Coolatta
44a742b1aa
r_things.c -> r_things.h
2022-09-21 11:51:43 -04:00
Sally Coolatta
a790ffee79
The little SPB tweaks
...
- Explosion strength scales with how long you've been outrunning it. 0 seconds is even more punishing than it was before, while surviving 60+ seconds converts the damage into minimal stumble.
- When it starts properly chasing a new target, it will be intangible for 1 second
- Hot potato takes 2 seconds instead of 7
- Too much hot potato will make it run ahead & explode (untested)
2022-09-21 11:51:16 -04:00
Sally Coolatta
0e7d9ba84e
Merge branch 'master' into new-spb
2022-09-21 11:18:31 -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