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
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