Commit graph

18728 commits

Author SHA1 Message Date
toaster
f5998c7624 Skip over locked maps/cups when getting nextmap
(carve out an exception for marathon mode, although we will probably want to lock that behind all cups available)
2022-09-23 20:52:51 +01:00
Sally Coolatta
e202f244b9 Allow smaller flat sizes
With mobj scale, smaller flats are pretty reasonable to want to use. Fixes a visual bug in Endless Mine.
2022-09-23 15:25:42 -04:00
Sally Coolatta
117d791424 Merge branch 'master' into cheats-streamline 2022-09-23 14:38:54 -04:00
toaster
c1dbbdf801 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into big-large-map-markers 2022-09-23 17:38:49 +01:00
Sally Coolatta
cb54d9bb30 Use PR_ITEM_RINGS in P_PlayerRingBurst 2022-09-23 11:55:15 -04:00
Sally Coolatta
4952a2d2ae Merge branch 'master' into new-spb 2022-09-23 11:41:53 -04:00
Sally Coolatta
569021ba91 Update item debris for rng states 2022-09-23 11:30:10 -04:00
Sally Coolatta
d582cf0a3f Merge branch 'master' into rng-states-2 2022-09-23 11:23:49 -04:00
Sal
2890ce500a Merge branch 'pivot-default' into 'master'
Upgrade SPRTINFO -- default pivot offsets + wildcard

See merge request KartKrew/Kart!691
2022-09-23 15:19:05 +00:00
Sal
619d33d8e7 Merge branch 'double-meme-taunt' into 'master'
Don't play boost taunt twice if meme voices are enabled

See merge request KartKrew/Kart!692
2022-09-23 15:17:55 +00:00
James R
c6e4a93e29 Drop items being dragged behind you, like orbinaut shields, when failing a trick 2022-09-23 06:15:19 -07:00
toaster
a4c73b204a Kill spstage_start and spmarathon_start 2022-09-23 13:07:59 +01:00
toaster
1538055091 Skip over empty entries when populating vres, saving memory 2022-09-23 13:03:37 +01:00
James R
3d01fca41b K_GetRollingRouletteItem: support Battle 2022-09-23 04:48:30 -07:00
toaster
8afd9b03b2 Only allow W_CheckNumForMap to return lumpnums fitting certain criteria
- For PK3, if it's a .wad
- For .wad, if it's a header (0-length)
2022-09-23 12:26:32 +01:00
James R
375fb72de1 Add K_GetRollingRouletteItem, refactor item drawers
Roulette now cycles through all single items (that have
odds). Added missing shields and drop target.
2022-09-23 04:09:32 -07:00
toaster
959bb14f59 Fix an error that used map ID when lumpname is better for debugging 2022-09-23 11:55:11 +01:00
Sally Coolatta
e340d9b701 Remove itnext at top of MobjThinker also 2022-09-23 05:54:02 -04:00
Sally Coolatta
31009264ca NULL itnext in general on removal 2022-09-23 05:51:14 -04:00
Sally Coolatta
58f56de7cc fuck you NULL targets? 2022-09-23 05:30:19 -04:00
Sally Coolatta
43fa2ec19f Merge branch 'master' into new-spb 2022-09-23 04:21:25 -04:00
SteelT
08cd0393c0 Properly check for duplicate recent IP
Clean up M_AddToJoinedIPs a bit
2022-09-23 04:20:07 -04:00
Sally Coolatta
d43a5d0554 Fix unused variables 2022-09-23 04:08:07 -04:00
toaster
e1c8f8095b Clean up recent IP handling a bunch. 2022-09-23 04:06:37 -04:00
Sally Coolatta
21bd7bf041 Reverse SPB distance scaling 2022-09-23 04:04:05 -04:00
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