Commit graph

17111 commits

Author SHA1 Message Date
toaster
c68e0d46c0 Fixed sneaker-induced bumper theft (for those who saw my comment in MKD, turns out a simple P_PlayerInPain saves you from the multi-steal threat I considered) 2022-03-13 17:00:43 +00:00
toaster
a3eab3099e Solve the concern about potential tiregrease overwriting. Let the video resume at once 2022-03-12 23:18:55 +00:00
toaster
b9acad707e Restore the v1 record attack critera (maps available by default), whilst also now allowing for specific maps to opt out. 2022-03-12 22:31:52 +00:00
toaster
a45b163bd1 Make P_EndingMusic *also* operate on local players rather than display players. 2022-03-12 19:32:03 +00:00
toaster
31db72256d Merge branch 'master' into boss
# Conflicts:
#	src/y_inter.c
2022-03-12 19:24:23 +00:00
toaster
87fe8f2c9c Merge branch 'gamestatereloaded' into 'master'
Gamestate reloaded

See merge request KartKrew/Kart!551
2022-03-12 19:08:04 +00:00
toaster
2fdcd9bc2d Merge branch 'light-setup-frame-refactor' into 'master'
A lightweight refactor to R_SetupFrame and R_SkyboxFrame

See merge request KartKrew/Kart!532
2022-03-12 18:54:20 +00:00
toaster
b3c9b8f94e Merge branch 'votefree' into 'master'
:votefree: (resolves #217)

Closes #217

See merge request KartKrew/Kart!542
2022-03-12 18:49:45 +00:00
toaster
65feacc16c Merge branch 'musicataparty' into 'master'
Music at a party

See merge request KartKrew/Kart!543
2022-03-12 18:40:03 +00:00
toaster
f794908430 Merge branch 'followtweak' into 'master'
Follower adjustments

Closes #202

See merge request KartKrew/Kart!514
2022-03-12 18:37:15 +00:00
toaster
d7b72018ba Merge branch 'doublezap' into 'master'
Item Thunderflow

Closes #220

See merge request KartKrew/Kart!544
2022-03-12 18:32:29 +00:00
toaster
cd7e125863 Update texturecache user when reallocating
# Conflicts:
#	src/r_textures.c
2022-03-12 18:00:52 +00:00
toaster
9fe2184c08 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into fast-addfile 2022-03-12 17:39:18 +00:00
toaster
723c479388 Resolve Battle score ties caused when Luigi wins by doing nothing. 2022-03-07 14:12:58 +00:00
toaster
4839586617 Allow GTR_PAPERITEMS to function in a hypothetical GTR_CIRCUIT-based custom gametype. 2022-03-07 13:45:15 +00:00
toaster
5c77516aab Cleanup of boss info in anticipation of merger.
* Actually add descriptions for the boss-related functions into k_boss.h.
* Introduce K_ResetBossInfo, an internal-only function for handling situations where it needs to be cleared.
* Fix a bug where bossinfo wasn't reset when using the map command to go to a battle map after having been in a boss.
* Fix some bugs where you could provide magnitudes out of the desired range to K_InitBossHealthBar and K_UpdateBossHealthBar.
2022-03-07 13:08:46 +00:00
toaster
590d236b66 * Make item boxes spawn in at map start in race.
* Make them use MF_NOBLOCKMAP as well as MF_NOCLIPTHING so bots won't do weird things when Battle bots are coded way down the line.
2022-03-07 12:37:47 +00:00
toaster
3ddebabfa9 Fix a followers invalid memory crash (discovered in this branch but likely existed beforehand). 2022-03-07 01:37:58 +00:00
toaster
672bf9631d * Allow the digestion to "catch up" a bit if you suddenly get a huge burst of spheres (such as a spherebox).
* Refactor a little, since the previous code required casting and could penalise 40 spheres a bit TOO much if you would be pushed beyond it that tic.
2022-03-06 22:45:48 +00:00
toaster
5f3bf3e8a2 A first-pass attempt at the "digestion" hidden stat for Battle - pushing just in case I fall asleep before we can explore this, and/or end up busy in the next few days.
* At the start of the first bar, everyone digests spheres at 1 per second, same as before.
* This actually only starts counting down from the most recent moment your spheres becomes nonzero, which is a very, VERY tiny buff to prevent their instant depletion.
* At around 40 spheres:
    * Chao digests them at 1 sphere per *tic*. Might be slightly too punishing.
    * Mecha Sonic digests them at 1 sphere per... 33 tics, or barely faster than before. Might be slightly not punishing enough.
    * Everyone else is linearily in between.
2022-03-06 22:23:40 +00:00
toaster
f518ae5c58 * Fix some music and visual bugs with dying in Battle at the conclusion of the round.
* Fix emeralds HUD overlapping minimap in 2P splits.
2022-03-06 18:19:28 +00:00
toaster
ab132300a9 No longer autoload bosstest.pk3 2022-03-05 23:27:09 +00:00
toaster
98bf8a414d Adjust the bannerx system (used both by titlecard and boss titlecard) to actively scale with the resolution, instead of blindly drawing three times. 2022-03-05 23:26:58 +00:00
toaster
6f33cd7ce6 Fix bosses not having the correct number of bumpers set. 2022-03-05 23:25:32 +00:00
toaster
bf43784d22 This is a doozy...
HUD:
* Miniaturised Spheres and Emeralds HUD for 3P/4P.
* Repair 3P minimap.
* Move accessibility icons in 3P/4P to next to the lap/bumper sticker (currently only kickstartaccel exists)
* Change language on menu retry to be more generalised.
* Adjust HUD code structuring a bit.

MECHANICAL:
* Now correctly set number of bumpers in Break the Capsules to 1 (from 3).
* The above required reworking K_SpawnBattleCapsules into K_BattleInit, which is a good staging ground to handle more battle-specific setup in future.
* Do not spawn Emeralds or Sphereboxes in Break the Capsules.
* If everyone is WANTED... nobody is.
* Try to handle exceptions to timelimits a little more thoroughly (still not perfect).
* Disable pointlimits in bosses.
2022-03-05 22:31:43 +00:00
toaster
9ac9abbb6e * Fix the intermission scores not getting ranked in singleplayer GP.
* Make any singleplayer intermission that doesn't display cross-match rankings half as long (this is how long you see each half of an online intermission for).
2022-03-05 22:19:49 +00:00
toaster
dc2936de42 Make the map command from the title screen *actually work*, and make a best-guess attempt at determining the necessary setup to play each particular map in a Single Player context (such as grandprixinfo for TOL_RACE, a little cleanup for TOL_BATTLE, and bossinfo for TOL_BOSS).
This will be necessary when newmenus comes around and it is no longer advantageous to have a menu for testing bosses, given they won't be a headline feature in v2 or accessible via multiplayer at this time.
2022-03-05 22:17:06 +00:00
toaster
61577e5026 * Re-enable kickstartaccel in battle.
* Add a little "ding" sound and HUD dorito bounce when your kickstartaccel reaches max, so you can let go of accelerate/know when you need to tap to stop.
* Make the name on top of the boss healthbar only show up once the titlecard is over.
* Properly reset boss healthbar fill between maploads.
2022-03-01 18:18:01 +00:00
James R
54b55efcb2 Remove fixme 2022-02-28 14:12:59 -08:00
toaster
17e5f71b5d * Re-enable sphere HUD in bosses.
* Do a little more anti-overtime checking for bosses. (This *really* requires a refactor at some point, but not right now)
2022-02-27 17:48:04 +00:00
toaster
5a06239a20 Add an extra fix for the "get hit the moment you spawn an orbiting item" bug that produced tiny Orbinauts and Jawz - now it moves them out so they're not inside you when you come out of hitlag.
(Yes, sorry, no more fishsticks.)
2022-02-27 17:37:39 +00:00
toaster
329c2a60a2 Fix item boxes not spawning in Break the Capsules.
Specifically, they turn invisible on tic 0, then make a decision about whether to replace themselves with MT_PAPERITEMSPOT or simply become visible (with an explosion puff, same as how they respawn) when starttime is reached.

This delay also applies to Race, which I think is a good thing, considering Item Capsules already are not collectable during POSITION, but I can change it if others disagree.
2022-02-27 17:11:18 +00:00
toaster
4a2efd3000 Fix a few basic mistakes.
* Don't forcibly go to a race map if you're exiting a boss and would otherwise return to the title screen.
* Yes, there are four basc TOL's now, not three.
* Title card string for ZONE should be right aligned.
2022-02-27 17:07:56 +00:00
James R
c58d789a07 Always reset tiregrease 2022-02-24 22:51:01 -08:00
toaster
c1f3237157 Boss API + assorted relevant bugfixes, will go over the featureset of this branch with a fine toothed comb when it's time to write the merge request description so this is all you're getting right now 2022-02-24 21:19:03 +00:00
James R
bdbd85b2cd pedantic: fix win32 2022-02-20 04:48:30 -08:00
James R
a6ec9faf93 pedantic: fix m_menu.c 2022-02-20 03:31:25 -08:00
James R
5ba4231b9d Fix silly wrong pointer in apng.c 2022-02-20 03:29:41 -08:00
James R
82f4364eb4 pedantic: fix misc leniencies and GNU-isms 2022-02-20 03:28:22 -08:00
James R
2887385122 pedantic: ignore enums signed overflow 2022-02-20 03:25:46 -08:00
James R
366ac0b1b2 pedantic: fix paren surrounding braces 2022-02-20 03:23:45 -08:00
James R
d7087c7405 pedantic: fix address loading function pointer casts 2022-02-20 03:22:25 -08:00
James R
9722027fc1 Add macro to cast function pointer to void pointer
Does not evaluate constant expression, I don't know if
that's possible.
2022-02-20 03:18:47 -08:00
James R
bef9f502ca pedantic: cast to (void*) for printf %p 2022-02-20 03:15:51 -08:00
James R
286010c6e9 pedantic: replace GNU empty initializer extension with C99 0 initializer 2022-02-20 03:13:23 -08:00
James R
59c04ae041 pedantic: resolve flexible array member in nested struct
ISO C forbids a structure that has a flexible array member
to be a member of another structure or element of an
array.

filetx_pak and fileack_pak are two such structures. These
have been removed from doomdata_t's union.
2022-02-20 03:10:27 -08:00
James R
bea79dfa65 Replace GNU zero-length array with ISO C99 flexible array member 2022-02-20 03:10:04 -08:00
James R
cd5946be73 Enable pedantic pike-in-your-bum mode, rip and tear 2022-02-19 19:41:19 -08:00
James R
dc098c1e65 Use GNU C99 mode 2022-02-19 19:40:19 -08:00
toaster
b158bfe37e Always stop the sounds, because we're always calling Z_FreeTags and that can lead to invalid memory. (Should fix Rai's crash) 2022-02-17 22:41:34 +00:00
James R
82377fb001 Merge branch 'invinc-color-fix' into 'master'
Invinc color fix

See merge request KartKrew/Kart!553
2022-02-17 07:59:29 +00:00
James R
eb9a6f3445 Merge branch 'kstart-sfx' into 'master'
POSITION Music

See merge request KartKrew/Kart!552
2022-02-17 05:06:16 +00:00
James R
fbcb48a35f Merge branch 'cechostop' into 'master'
CECHO stop

Closes #219

See merge request KartKrew/Kart!550
2022-02-17 05:06:03 +00:00
James R
ea9b1daeb9 Merge branch 'eaturnongreens' into 'master'
Eat your non-greens (resolves #221)

Closes #221

See merge request KartKrew/Kart!549
2022-02-17 05:05:52 +00:00
James R
64abc232bc Merge branch 'dlconfirmfix' into 'master'
DL Confirm Fix

See merge request KartKrew/Kart!547
2022-02-17 05:05:39 +00:00
James R
8f303f03d2 Merge branch 'iamnobump' into 'master'
I am no bump

See merge request KartKrew/Kart!548
2022-02-17 05:05:24 +00:00
Sally Coolatta
39da886447 Merge branch 'master' into invinc-color-fix 2022-02-16 23:01:23 -05:00
Sally Coolatta
a750fdd810 Invincibility wasn't using K_RainbowColor anymore, what the function was designed for... 2022-02-16 23:01:07 -05:00
toaster
0b97d954ad Tested with Chengi at one point, correct a few things from that.
* Fixed a few prints happening on resync that shouldn't.
* Fixed OGL loading not using levelfadecol.
2022-02-16 23:23:14 +00:00
James R
e28e67f84d Fade out POSITION music at 3 2 1 2022-02-15 15:53:56 -08:00
James R
9095261a18 POSITION music
Play SA2 "shwing" at title card; play POSITION music once
camera is steady (instantly in 1v1).

Encore: play portal warp sound instead of "shwing"; play
portal drone instead of POSITION music, always start
instantly.
2022-02-15 15:51:47 -08:00
James R
62b5f9c90f Leave introtime at 3 for 1v1
Preticker uses up a few tics, so setting it to 0 makes it
useless.
2022-02-15 15:38:11 -08:00
James R
418156bebf Use float value for LOOPMS
Extra precision.
2022-02-15 14:19:28 -08:00
James R
f749424de7 Turn kstart into sfx 2022-02-14 15:04:30 -08:00
toaster
6d851f2bc8 P_LoadLevel is a mess, but attempt to fix a few things that shouldn't be happening with resyncs, including #209. Untested. 2022-02-14 15:43:56 +00:00
toaster
42919044e9 Don't continue ticking the cecho timer infinitely into the negatives (resolves #219) 2022-02-14 14:52:04 +00:00
toaster
9ef2530e54 Fix HUD tracking being broken in non-green aspect ratios. 2022-02-14 14:42:31 +00:00
toaster
54cd540e5b Fix the chat underlay being physically seperated from the chat text in non-green resolutions. 2022-02-14 14:41:34 +00:00
toaster
006b6f00ac Rewrite the awayview reset for both Got_Teamchange and P_SpectatorJoinGame. 2022-02-11 12:09:00 +00:00
toaster
913610b1b7 Fixed P_RestoreMusic using displayplayers instead of local players (did not use any of the functions directly and so was missed). 2022-02-11 10:38:16 +00:00
toaster
03a47cfb5a Prevent using a grow while invincible resetting the invincible music timer, when that SHOULDN'T be touched and will be set to grow properly once that's over. 2022-02-11 01:13:38 +00:00
toaster
4567d9c57f Fix allowteamchange (although this code wasn't being run, it still SHOULD return early...) 2022-02-11 00:35:11 +00:00
toaster
93e4ef0ef1 Permit players to not bounce when colliding with ML_NOTBOUNCY walls (imperfect but better than the LITERALLY NO SUPPORT that was there beforehand) 2022-02-10 00:06:47 +00:00
toaster
8f4e8a4953 can't believe i messed up the brackets this bad, woops 2022-02-09 23:43:06 +00:00
toaster
c3e9eceda2 * Instead of checking for a player moving up, check for a player moving up that's only JUST been tumbled.
* Remove the DMG_WOMBO flag from PVP touch damage tumbles as that was restricting tumble combos in this branch, not allowing it.
2022-02-08 21:38:24 +00:00
toaster
c8517007c6 Only disable downloads in TESTER builds and -nodownload, not always. 2022-02-03 22:03:04 +00:00
toaster
ef7655d2e8 Fix a tables error with DMG_STEAL in Lua/SOC resolving to the wrong flag value. 2022-02-03 19:51:58 +00:00
toaster
766fce5857 Make some adjustments to the damage combo system for players.
* Prevent a player that is moving upwards from being DMG_TUMBLE'd again (resolves #212).
* Instead of having a special case for missiles there, make PIT_CheckThing toggle DMG_WOMBO instead.
* Allow hard hits (DMG_TUMBLE, DMG_EXPLODE, and DMG_KARMA) to have combos toggled off with DMG_WOMBO, too.
2022-02-03 19:51:17 +00:00
James R
0f4feb0161 Fix in game downloader confirmation 2022-01-28 04:43:18 -08:00
toaster
2e54e38607 Diagnose itemamount underflows easier (show the empty box and number if nonzero count but zero item type) 2022-01-25 17:02:19 +00:00
toaster
3f71251fd6 Fix a correctly timed Thunder Shield preventing you from using rings (resolves #220) 2022-01-24 23:19:35 +00:00
toaster
7508e0e198 P_IsLocalPlayer changes
This is the function that controls whether a bunch of music-related function (and also whether certain error messages get printed).

* P_IsLocalPlayer now supports party players (currently untested, but the code is pretty airtight).
* P_IsLocalPlayer now always returns false in replays.
* P_IsMachineLocalPlayer now exists for the one situation the game determines local players that actually has a net-related function (kicking illegal character changes).
* Invincibility/grow sfx now operates based on whether the player is NOT local (it used to be whether it was NOT a displayplayer).
* Refactored P_SpectatorJoinGame to make future team support easier, and also reset the relevant camera focus, rather than always the consoleplayer's.
* Fix viewpoints on non-local players having overlapping viewpoint text.
2022-01-24 22:03:40 +00:00
toaster
4b1cef0f20 Merge branch 'testers' into 'master'
Allow TESTERS builds to be made for any branch

See merge request KartKrew/Kart!529
2022-01-23 22:48:48 +00:00
toaster
2df53dd5a5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into votefree 2022-01-23 22:46:11 +00:00
toaster
f69f002d17 Merge branch 'speedometer-default' into 'master'
Turn on speedometer by default

Closes #218

See merge request KartKrew/Kart!539
2022-01-23 22:43:49 +00:00
AJ Martinez
337f7ebd27 Merge remote-tracking branch 'origin/master' into director-cam 2022-01-23 15:38:25 -06:00
AJ Martinez
ef6ff846d3 Merge branch 'master' into 'director-cam'
# Conflicts:
#   src/d_netcmd.h
2022-01-23 15:38:14 -06:00
toaster
e7108cfde1 Resolve the replay crash issue :mike:
(Also no longer mess around with moving flags into booleans per my comment)
2022-01-23 21:35:29 +00:00
toaster
1ae256887e Readd CV_SAVE per Oni request in vc (and also my desires)
Made using web IDE
2022-01-23 20:49:29 +00:00
toaster
28ee382587 ok this was supposed to be here 2022-01-23 20:40:59 +00:00
toaster
8c3fad058d * Fix the Z_Free double-free issue (in two different ways, one ifdef'd out) that can sometimes occur on the vote screen.
* Fix a technically invalid read in D_SetupVote.
* If the third map on the voting screen has a different gametype, don't interact with the buffer.
* Fix the inttime 0 setting, since I was in y_inter.c and testing quick map changes.
2022-01-23 20:33:27 +00:00
SteelT
dbacdb4e63 Merge branch 'hitlag-flags' into 'master'
Hitlag flags

See merge request KartKrew/Kart!541
2022-01-23 19:02:43 +00:00
SteelT
fefb012134 Merge branch 'tripwire-both-sides' into 'master'
Consistently easy tripwire

See merge request KartKrew/Kart!540
2022-01-23 19:01:56 +00:00
SteelT
7dc6542a4f Merge branch 'thing-bright-override-colormap' into 'master'
Fix OGL semibright and ignore colormap for fullbright/semibright/fulldark

See merge request KartKrew/Kart!538
2022-01-23 19:01:44 +00:00
SteelT
a793af47c5 Merge branch 'grow-shrink-shoe-polish' into 'master'
More extremely scaled grow & shrink players!

See merge request KartKrew/Kart!534
2022-01-23 18:59:39 +00:00
SinnamonLat
fafcf307d2 Add combo to bubble shield 2022-01-23 18:02:56 +01:00
SinnamonLat
14961f6127 Let ThunderShield combo players 2022-01-23 17:58:08 +01:00
SinnamonLat
d55e23d767 Add DMG_WOMBO to all player contact damage 2022-01-23 17:52:31 +01:00
SinnamonLat
2bc6a72c56 MF_NOHITLAGFORME shouldn't work on MT_PLAYER 2022-01-23 13:57:11 +01:00
SinnamonLat
6567219fec Add MF_NOHITLAGFORME to spikes and wallspikes 2022-01-23 11:50:53 +01:00
James R
b30ffea49a Hash name lookup for textures and lumps 2022-01-22 03:18:06 -08:00
SinnamonLat
191103fec1 Fix a dumb mistake, add DMG_WOMBO to orbinauts, jawz and banana hits 2022-01-22 11:41:49 +01:00
SinnamonLat
ba9ef23b31 Add MF_NOHITLAGFORME and DMG_WOMBO 2022-01-22 10:01:24 +01:00
AJ Martinez
3ccbc5c705 avoid wasteful player_t copy 2022-01-21 02:42:16 -06:00
James R
f10aa9645b Few more instances of fullbright colormap nullification 2022-01-20 23:39:58 -08:00
James R
b23c4abb83 Copy tripwire texture to opposite side and automatically mirror texture alignment 2022-01-20 21:52:10 -08:00
James R
6063a6eab8 Check both front and backside for tripwire 2022-01-20 21:51:47 -08:00
James R
223ef50acb Enable percentage speedometer by default; do not save 2022-01-20 20:07:52 -08:00
AJ Martinez
07498a122a clarify potential footgunnery in K_UpdateDirector 2022-01-20 16:00:51 -06:00
AJ Martinez
9366049c89 fix low-confidence switch behavior 2022-01-20 15:56:36 -06:00
AJ Martinez
daabde0981 fix double speed attack transfers 2022-01-20 15:35:26 -06:00
AJ Martinez
3ce1f71230 how is static formed 2022-01-20 15:29:13 -06:00
AJ Martinez
ef3ae2044a appease linker wrt internal functions 2022-01-20 15:26:32 -06:00
AJ Martinez
5efd706d3b general post-review unfuck 2022-01-20 15:23:32 -06:00
toaster
66d8989531 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into testers 2022-01-20 19:29:10 +00:00
toaster
93dfbf382c The "free" changes from framezero - the crash fixes that have no complexity and therefore no negative consequence to introduce 2022-01-20 19:27:02 +00:00
toaster
df1e808b6e Semibright has colormapping again 2022-01-20 19:14:44 +00:00
James R
26d231c43a Only ignore colormap for fullbright 2022-01-20 05:09:39 -08:00
AJ Martinez
5d3fb30a07 tabs, thank you vscode for not reading the room 2022-01-20 06:56:07 -06:00
James R
8a2be85563 Include k_director.h 2022-01-20 04:50:11 -08:00
James R
ecc3d031df Ignore colormap when overriding thing brightness 2022-01-20 03:57:58 -08:00
James R
ff70bd0d83 Fix opengl semibright
Adds back 3d models semibright.
2022-01-20 03:52:32 -08:00
AJ Martinez
24b05451f6 my workflow is beyond your understanding 2022-01-20 03:39:00 -06:00
SteelT
606eb28314 Linedef type 460: Don't award rings while SPB-locked 2022-01-20 03:20:53 -05:00
AJ Martinez
1e4bc482d0 very small tiny fixes 2022-01-20 02:07:48 -06:00
AJ Martinez
e949e3afb4 Write the rest of the owl 2022-01-19 23:56:23 -06:00
James R
b3e6030a9b Wrong condition 2022-01-19 01:17:54 -08:00
James R
8f8d34728b JUST SEARCH ALL FUCKING WADS 2022-01-19 01:17:12 -08:00
James R
ba6ee7eaa0 Do not count gfx.pk3 toward mainwads in testers build 2022-01-19 01:13:09 -08:00
AJ Martinez
be33a1b659 Director cam barebones functionality 2022-01-18 22:41:07 -06:00
Sally Coolatta
38e741af76 Merge branch 'master' into grow-shrink-shoe-polish 2022-01-18 02:57:08 -05:00
James R
484ab4b5dc Merge branch 'fix-software-splitscreen-tilt' into 'master'
Fix splitscreen camera tilting in Software

See merge request KartKrew/Kart!531
2022-01-18 07:56:41 +00:00
James R
d67a074a01 Merge branch 'splitscreen-skybox' into 'master'
Keep track of skybox across splitscreen and change viewpoint

See merge request KartKrew/Kart!533
2022-01-18 07:56:16 +00:00
Sally Coolatta
8acdbf7df8 Merge branch 'master' into grow-shrink-shoe-polish 2022-01-18 02:55:56 -05:00
James R
97d1a415ce Merge branch 'replay-branch-name' into 'master'
Save branch name in replay folder

See merge request KartKrew/Kart!505
2022-01-18 07:50:02 +00:00
James R
7fc72d03ff Uncap frame interpolation on the viewpoint 2022-01-17 23:07:04 -08:00
James R
d06355018d Track skybox within player struct
TODO: Lua

Splitscreen and change viewpoint uses the proper skyboxes!
2022-01-17 22:46:01 -08:00
Sally Coolatta
06b7c17263 Merge branch 'master' into interp-clag-stutter 2022-01-18 01:20:28 -05:00
James R
5e37a847f0 Interpolate viewrollangle before R_CheckViewMorph 2022-01-17 21:18:38 -08:00
James R
eda9b36455 Refactor R_SetupFrame/R_SkyboxFrame to deduplicate some code 2022-01-17 21:03:22 -08:00
James R
8e0f02d65a Refactor R_SetupFrame/R_SkyboxFrame to use splitscreen number directly 2022-01-17 18:53:01 -08:00
SteelT
159994c2f0 Don't compile with dynamic base 2022-01-17 15:46:44 -05:00
James R
7e709cd018 Fix compiler warning 2022-01-16 17:35:47 -08:00
James R
c860427026 Add HOSTTESTERS make flag 2022-01-16 17:34:12 -08:00
James R
5441c55baf Do not add gfx.pk3 in testers build
MISC_PATCH.pk3 covers it.
2022-01-16 17:32:58 -08:00
toaster
4d4ea71a44 Music also 2022-01-17 01:23:14 +00:00
toaster
4cff27797c Guard IsPlayerAdmin in testers/hosttesters 2022-01-17 01:22:10 +00:00
toaster
6980975f11 Revert "Disable player admins"
This reverts commit 4d2793918c.
2022-01-17 01:19:13 +00:00
toaster
4bc916e0d5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into testers 2022-01-17 01:13:45 +00:00
toaster
250dc70827 TESTERS stuff
#define TESTERS for tester executable
#define HOSTTESTERS for hosting with TESTERS-specific files (MISC_ etc)
2022-01-17 01:12:30 +00:00
toaster
e8b0caf878 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into testers 2022-01-17 01:01:08 +00:00
toaster
171cc75607 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into hannushadow 2022-01-17 00:16:36 +00:00
Sal
fda28b7f54 Merge branch 'terrainjoin' into 'master'
Terrain join fix

See merge request KartKrew/Kart!528
2022-01-17 00:13:32 +00:00
toaster
867b0516e6 Terrain pointers were not getting properly relinked on netsave load, now they are. Thanks Sal for taking a moment out of your day to rubber duck with me 2022-01-16 23:53:14 +00:00
SteelT
d384d1b828 Merge branch 'precip-overflow' into 'master'
Fix precip sector search deadlock

See merge request KartKrew/Kart!525
2022-01-16 23:42:33 +00:00
toaster
14e5ee638e blessings be to hannu
Hannu's dropshadow hack, copied across and edited for Kart's column drawer setting functions.
2022-01-16 23:21:38 +00:00
toaster
ef6ee928ac After I experienced a few consistent crashes for invalid subsector references in P_BounceMove/P_SlideMove, add a few extra checks for whether the mobj is removed. 2022-01-16 22:03:27 +00:00
toaster
3eac1fed0f Rewrote the fix to:
- be comprehensive (still allow rain to be heard against the topleft corner, not just the bottomright corner)
- not use volatile (now uses INT64)
- not perform this pointinsubsector search if the map has no rain/thunder (yes I tested EHZ with this check dummied out so this bug won't crop up again later)
2022-01-16 20:57:56 +00:00
James R
521f8eac3e Fix overflow in precipitation sector search 2022-01-14 22:36:49 -08:00
SteelT
2af1c6fc30 Fix sounds playing multiple times during intro if interpolation is on 2022-01-12 21:07:30 -05:00
Sal
fa6d4bfb2d Merge branch 'bot-maint-2' into 'master'
Bot maintenance 2

See merge request KartKrew/Kart!516
2022-01-13 00:47:54 +00:00
James R
6a7ca44302 Don't interpolate frames if avg <35
Proper solution for 85ce207e9
2022-01-12 12:57:52 -08:00
James R
85ce207e9c Do not interpolate if time between game tics <1/35 2022-01-12 04:37:26 -08:00
James R
0d41c36f09 Closer OpenGL underwater/heatwave effect to Software 2022-01-12 04:30:43 -08:00
James R
2c6dfd5498 Do not speed up underwater/heatwave effect in OpenGL 2022-01-12 04:30:03 -08:00
James R
969d449973 Interpolate from time of previous tic
Previously interpolated from last 35th of a second, which
may be offset from game time due to connection lag.

Consider this the proper fix to 6ecac4159a too.
2022-01-12 03:38:17 -08:00
James R
8a7a20e6f2 Fix NOMIXER 2022-01-12 00:33:35 -08:00
SteelT
71a5030318 Merge branch 'master' into fix-nametag-distance-check 2022-01-12 02:50:32 -05:00
James R
fc103834af Cache terrain on levelflats 2022-01-11 22:49:01 -08:00
Sally Coolatta
c606e1e96b Force shrink can be toggled individually online
In preparation for a "make yourself small by default" cheat on the char select like SMK.
2022-01-09 04:08:26 -05:00
Sally Coolatta
7e76366fe8 Keep your large items 2022-01-09 01:16:36 -05:00
Sally Coolatta
1ad82e7651 Update how scaled speed is calculated
This makes it so that the scaled speed shows up on the percentage speedometer.
2022-01-09 00:10:14 -05:00
Sally Coolatta
23f9649fb9 More extremely scaled grow & shrink players!
- Grow is x2 instead of x1.5.
- Shrink is x0.5 instead of x0.75.
- Physics were left ALONE!! This is purely a HITBOX / VISUAL change!! Grow isn't any faster, and Shrink isn't any slower!! The only potential worry is low ceilings in maps!!
2022-01-09 00:00:01 -05:00
James R
93c36af2c0 Oops almost fucked it again 11ced1c3d 2022-01-06 00:46:14 -08:00
James R
37b2d81788 Merge branch 'battle-tweak' into 'master'
Battle tweaks

See merge request KartKrew/Kart!517
2022-01-06 06:35:28 +00:00
James R
11ced1c3d6 Fix nametag distance check 2022-01-05 22:32:07 -08:00
Sally Coolatta
bc9cf6faf2 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart 2022-01-06 01:21:10 -05:00
Sally Coolatta
3ba8f38829 Save showfps 2022-01-06 01:20:31 -05:00
James R
5da3dd94c0 Disable titlecard fade on join 2022-01-05 21:24:31 -08:00
Sally Coolatta
5edf180bd7 Merge branch 'master' into battle-tweak 2022-01-05 19:38:45 -05:00
Sally Coolatta
c5279e5795 Fix missing line for trick panels 2022-01-05 17:58:48 -05:00
Sally Coolatta
8326f32456 Fix default terrain friction 2022-01-05 17:44:11 -05:00
Sally Coolatta
b31d66e7f8 PLEASE NO RNG 2022-01-05 05:10:09 -05:00
Sally Coolatta
7533472799 Less Karma Bomb CBT
- Karma delay is 3sec instead of 10sec
- Karma delay is only used for initially changing into a bomb
2022-01-05 03:46:19 -05:00
Sally Coolatta
bb53ee22be Buff tether in Battle
- /4 minimum distance
- x2 speed
2022-01-05 03:24:19 -05:00
Sally Coolatta
7613cabfae No flashing tics in Battle 2022-01-05 03:17:38 -05:00
Sally Coolatta
9e3e065479 Bot lookback
- Bots use lookback when they have a attack item that hits back & they see you.
- Bot item throwing was made slower for easier difficulties. (Lv. 9 should still be pretty fast.)
- Bot cone detection was made much much farther & wider

Lookback sparkle is a signal for "they are contemplating throwing backwards"
2022-01-05 02:09:31 -05:00
Sally Coolatta
44374879de Merge branch 'master' into bot-maint-2 2022-01-05 00:00:12 -05:00
Sal
8f22730dc5 Merge branch 'infinitepainfloor' into 'master'
Fix infinite pain floors

See merge request KartKrew/Kart!515
2022-01-05 03:45:14 +00:00
toaster
7237b6bea9 Fix infinite pain floors
If inflictor is null and you're in hitlag do not damage again
2022-01-04 23:35:59 +00:00
toaster
30fe173617 Bracketing (fixes a weird bug with bubble) 2022-01-04 23:21:28 +00:00
toaster
6651bd4043 Also fix bubble 2022-01-04 23:03:51 +00:00
toaster
60f08f2380 Defines per Sal request 2022-01-04 23:02:09 +00:00
toaster
a749160c6b Make followers only stretch for their movement *relative* to the player, not their movement in general. 2022-01-04 22:43:54 +00:00
toaster
316cd61d9f * Fix follower colour being limited to UINT8.
* Fix follower colour not being set in offline mode (based on Steel's fix but no UINT8).
2022-01-04 22:41:35 +00:00
Sal
69fa93f980 Merge branch 'terrain-lump' into 'master'
TERRAIN lump

See merge request KartKrew/Kart!480
2022-01-04 20:13:11 +00:00
Sally Coolatta
211fc17974 NULL terrain for spectators 2022-01-04 12:45:20 -05:00
Sally Coolatta
ef5a4f01d4 Merge branch 'master' into terrain-lump 2022-01-04 12:34:47 -05:00
Sal
d54cfcdc7b Merge branch 'ring-sting-fixes' into 'master'
Fix ringsting and hitlag

Closes #111

See merge request KartKrew/Kart!511
2022-01-04 17:28:55 +00:00
Sally Coolatta
50eb3eeda2 Don't use damage hitlag effects on a person when they "win" a ring sting exchange
Only applies to ring sting collision (no other types of damage touching), only applies to the person not getting stung. The person who is getting stung & sting trades are unaffected.
2022-01-04 00:39:01 -05:00
Sally Coolatta
cab1af5498 Don't do hitlag combo with items with threshold
Prevents instakill ballhog
2022-01-04 00:23:12 -05:00
Sal
20b1ddb4d3 Merge branch 'dont-scale-gravity' into 'master'
Scale gravity with map scale instead of object scale

See merge request KartKrew/Kart!513
2022-01-04 04:22:42 +00:00
Sal
b1ce817873 Merge branch 'uncapped-fixes' into 'master'
Uncapped fixes | Add functions to handle interpolation

See merge request KartKrew/Kart!512
2022-01-04 04:22:31 +00:00
Sally Coolatta
c4385166e5 Scale gravity with map scale instead of object scale 2022-01-03 20:02:22 -05:00
Sally Coolatta
df3a0ad507 Only do spread if above 0 2022-01-03 01:40:38 -05:00
James R
5d6595f8a0 Load misc build testers data files 2022-01-02 22:08:18 -08:00
James R
4d2793918c Disable player admins 2022-01-02 21:58:18 -08:00
James R
72f9121f5d Disable wad loading in TESTERS build 2022-01-02 21:50:23 -08:00
James R
a5d219ad6e More TESTERS guard 2022-01-02 21:38:06 -08:00
Sally Coolatta
2033e84bce Minimum impact amount for splashes 2022-01-03 00:17:59 -05:00
Sally Coolatta
9e56e54e31 Implement particle spawn frequency, offset spawning by player num 2022-01-03 00:07:46 -05:00
Sally Coolatta
c6f69e8f59 Add required speed percent 2022-01-02 21:42:20 -05:00
James R
5498f9d02d Let objects receive damage while in hitlag 2021-12-29 22:58:21 -08:00
James R
07f965d4eb Check to sting player before removing one ring 2021-12-29 22:25:11 -08:00
James R
cdce6824f2 Fix M_MkdirEach and M_PathParts
OKAY I didn't test this on Windows before, it was BROKEN
AND SHITTY CODE.
2021-12-29 22:13:06 -08:00
Sally Coolatta
1558a7e8ec Fix lap animation interp being reversed 2021-12-25 05:51:09 -05:00
Sally Coolatta
ac2ab1bdcc Only calculate string when we need it 2021-12-25 05:18:33 -05:00
Sally Coolatta
fcc5c8e0c4 Interpolate music credits 2021-12-25 04:57:35 -05:00
Sally Coolatta
762ee92c06 Purple spark electricity UNCAPPED 2021-12-25 03:53:55 -05:00
Sally Coolatta
1c908f533d Fully fix drop shadows
It used the thing's floorz / ceilingz directly -- that wouldn't account for interpolated coordinates.
2021-12-25 02:07:56 -05:00
Sally Coolatta
09eefc7e9b Make drop shadows slightly better in uncapped
They still jitter uphill
2021-12-24 23:17:28 -05:00
Sally Coolatta
b87b00fcda Apply the same fix for instashield overlay 2021-12-24 23:07:12 -05:00
Sally Coolatta
d63ce0c803 Fix jawz reticule in uncapped 2021-12-24 22:52:38 -05:00
Sally Coolatta
0a915a719b Hack to fix drift spark explosion while keeping its interpolation 2021-12-24 13:17:57 -05:00
Sally Coolatta
6c13ddca01 Rename PitchRoll stuff back
I did a find+replace because I realized the functions I added were named too similar to other ones & to make the purpose more obvious ... but it ended up changing them too anyway! Gah!
2021-12-24 13:00:12 -05:00
Sally Coolatta
cc250afd45 P_InitAngle, to fix angle interpolation on spawning objects 2021-12-24 12:45:51 -05:00
Sally Coolatta
ce01b494f4 Add functions to handle interpolation
Much less code duplication
2021-12-24 11:30:19 -05:00
Sally Coolatta
9bc48762a8 Merge branch 'terrain-lump' of https://git.do.srb2.org/KartKrew/Kart into terrain-lump 2021-12-24 09:50:12 -05:00
Sally Coolatta
ff3cb90cda Super random push
Looks better to me, and makes cone have a more pronounced effect
2021-12-24 09:50:00 -05:00
James R
cdf75cfbe0 Fix incompatible prototype 2021-12-23 21:08:19 -08:00
Sally Coolatta
8cdfe87dca Let's just convert this in a more sane fashion... 2021-12-23 23:15:36 -05:00
Sally Coolatta
2d5d78b76e Oops ... can't use raw angles for P_RandomRange anyway. 2021-12-23 22:58:25 -05:00
Sally Coolatta
a0c36c6126 Wrong var name oops
I autopiloted
2021-12-23 22:50:57 -05:00
Sally Coolatta
d1827b1c16 Fix it not using footstep->cone 2021-12-23 22:48:23 -05:00
Sally Coolatta
72b2997440 Remove off by one """"fix"""" 2021-12-23 03:23:42 -05:00
Sally Coolatta
28d99342ee Merge branch 'master' into terrain-lump 2021-12-23 03:21:22 -05:00
Sally Coolatta
86991112b1 MORE DEHACKED SHIT 2021-12-23 03:20:56 -05:00
Sally Coolatta
c203bbdce9 Merge branch 'master' into terrain-lump 2021-12-23 03:05:10 -05:00
SteelT
3ce3fd0366 Merge branch 'getmobjzmovement' into 'master'
P_GetMobjZMovement

See merge request KartKrew/Kart!441
2021-12-21 07:07:10 +00:00
SteelT
f48ce0f84a Merge branch 'fullbright-ignore-colormap' into 'master'
Ignore level colormap when drawing fullbright sprites

See merge request KartKrew/Kart!507
2021-12-21 06:56:16 +00:00
SteelT
85fa368d64 Merge branch 'update-rendezvous' into 'master'
Update hole punch server address to kartkrew.org

See merge request KartKrew/Kart!506
2021-12-21 06:25:10 +00:00
SteelT
2ebac926eb Merge branch 'followers-mainwad' into 'master'
Load followers by default

See merge request KartKrew/Kart!504
2021-12-21 06:24:06 +00:00
SteelT
cf3e92c293 Merge branch 'no-squish' into 'master'
Add the MF_NOSQUISH flag, disables squash and stretch

See merge request KartKrew/Kart!501
2021-12-21 06:20:59 +00:00
James R
d8e7703917 Ignore level colormap when fullbright 2021-12-20 04:17:33 -08:00
James R
f1389b49d2 Automatically switch to new default rendezvous server 2021-12-20 01:37:44 -08:00
James R
1767b4ae29 Update rendezvous server to kartkrew.org 2021-12-20 01:34:48 -08:00
James R
a7edda15e9 Remove 1.4 master server address enforcer 2021-12-20 01:27:36 -08:00
James R
66094ec72d Replays: use git commit in DEVELOP, version string in release 2021-12-20 01:20:17 -08:00
James R
fa691c0ee4 Create folder with branch name when saving replays 2021-12-18 22:31:33 -08:00
Sally Coolatta
9bae31fd03 Properly put in the parameters 2021-12-19 01:09:37 -05:00
Sally Coolatta
da459a9c73 Add terrain splashes 2021-12-19 00:57:45 -05:00
James R
de0b2c2e75 Add followers before patch 2021-12-18 21:00:30 -08:00
James R
efa92b0206 Add followers.pk3 to main files list 2021-12-18 20:40:56 -08:00
Sal
f0c795d258 Merge branch 'read-sprite-header-once' into 'master'
Don't read sprite header twice

See merge request KartKrew/Kart!502
2021-12-19 04:40:27 +00:00
Sally Coolatta
528ee29f2f Use mobjzmovement for footsteps 2021-12-18 23:30:57 -05:00
James R
4712daddf9 Start checking files from correct position on rejoin 2021-12-18 19:52:59 -08:00
Sally Coolatta
21e868216e Merge remote-tracking branch 'origin/getmobjzmovement' into terrain-lump 2021-12-18 21:25:20 -05:00
Sally Coolatta
8667aeb620 Add footstep particles 2021-12-18 21:23:41 -05:00
lachablock
e14af65d52 Merge remote-tracking branch 'origin/master' into getmobjzmovement 2021-12-19 13:22:59 +11:00
Sally Coolatta
0cd3efc76d Merge branch 'master' into terrain-lump 2021-12-18 18:36:05 -05:00
Sally Coolatta
edef941a08 Add scale & color parameters to terrain particles 2021-12-18 18:30:19 -05:00
Sally Coolatta
2179da40bf Update brightmap reading
- Does it per-wad
- Saves hashes for certain bits
- Adds R_UpdateTextureBrightmap to respect the zone memory
2021-12-18 18:23:24 -05:00
Sally Coolatta
e4aa53a92e Merge branch 'master' into fast-addfile 2021-12-18 18:21:32 -05:00
Sally Coolatta
436b6d50ea Bot predict nudging scale is based on the prediction's radius 2021-12-18 16:31:08 -05:00
James R
7d2633f572 Correct spherebox dehacked states list 2021-12-17 17:32:19 -08:00
Sally Coolatta
a6d1043d17 Reduce turning for bots when they stair jank 2021-12-17 18:29:35 -05:00
Sally Coolatta
4a34eb5e96 Disable ASM column / span entirely
Causes strange unidentifiable bugs, and testing with tape who has a few framerate issues. perfstats outputted practically the same frames for everyone. Whatever frame drops exist are simply something else and ASM is not helping at all, so decided it's not worth it.

Behind a define anyway, if someone decides to fix it anyway.
2021-12-17 16:39:09 -05:00
James R
84ccf18b76 Read PNG and patch header in one go for sprites 2021-12-17 04:50:40 -08:00
James R
0cf65047ec Do not load MUSICDEF twice 2021-12-17 03:09:00 -08:00
James R
1c0ddc7bca P_AddWadFile: only reload graphics when replaced 2021-12-17 02:41:47 -08:00
James R
8de36a9ab0 Load titlecard font with font system 2021-12-17 02:41:34 -08:00
Sally Coolatta
510c65699b Fixed animated span brightmaps being offset
`levelflat->u.texture.num` is modified at run-time to do animations, unlike wall textures which use `texturetranslation`.
2021-12-17 04:16:51 -05:00
James R
8012d00684 Add HU_UpdatePatch, recaches patch only if it exists in pwad 2021-12-17 01:07:54 -08:00
Sally Coolatta
5183d3161c Simplify span brightmap load 2021-12-17 03:42:59 -05:00
James R
ade0b48b89 Add missing mobj flags to SOC/Lua 2021-12-16 23:05:44 -08:00
James R
51941f5896 MF_NOSQUISH to disable K_Squish 2021-12-16 23:03:39 -08:00
James R
ffa2af7e07 Disable flat animdefs
The speed up is significant.
2021-12-16 22:25:08 -08:00
James R
4578e6f8f1 Hash name lookup for textures and lumps 2021-12-16 22:10:36 -08:00
James R
a4742c7da7 P_AddWadFile: only load textures in current file 2021-12-16 18:37:09 -08:00
Sally Coolatta
b0317e7120 Merge branch 'master' into brightmap 2021-12-16 13:06:57 -05:00
Sally Coolatta
603a97938b "Support" ASM functions
(By that, I mean it defaults to ASM, but uses the C version when drawing brightmapped stuff. Was this worth the minor performance gain over just making NOASM=1 default? I dunno.)
2021-12-16 13:05:37 -05:00
Sally Coolatta
6399cd57e1 Fix the print's file extension 2021-12-16 11:52:51 -05:00
Sally Coolatta
daab86f461 Implement brightmaps for span drawers, fix column loop bug 2021-12-16 11:48:32 -05:00
Sal
4f6121cef2 Merge branch 'landmine-explosion' into 'master'
Remove Landmine dust ring on explosion

See merge request KartKrew/Kart!495
2021-12-16 16:16:36 +00:00
Sal
24a5f20fc7 Merge branch 'vote-gametype-change' into 'master'
Fix timelimit not getting set when going to Battle

See merge request KartKrew/Kart!496
2021-12-16 16:16:26 +00:00
Sally Coolatta
04c1a9dcb1 Brightmaps on walls 2021-12-16 09:40:14 -05:00
Sal
3ca0dc376d Merge branch 'slow-startup' into 'master'
Optimize PNG detection and generate blendtables on parallel thread

See merge request KartKrew/Kart!498
2021-12-16 10:10:22 +00:00
Sal
809c766c99 Merge branch 'sphere-boxes' into 'master'
Blue Sphere boxes in Battle

See merge request KartKrew/Kart!494
2021-12-16 10:09:03 +00:00
James R
ccdbd9ccc9 A_ItemPop: var1 determines roulette or sphere award 2021-12-15 22:34:43 -08:00
Sally Coolatta
cfe8a1bfa4 No random chance for sphere box
Asked Oni how it should be done, he said item + sphere box at the same time
2021-12-15 21:21:54 -05:00
James R
c39edbbf7f Read only PNG header bytes to confirm a sprite is a PNG
Saves about 300 ms for R_InitSkins.
2021-12-15 16:02:23 -08:00
James R
29399f6033 Send R_GenerateBlendTables number crunch to parallel thread 2021-12-15 15:34:51 -08:00
James R
de2eab5e7a Inflate only size out bytes
Saves time uncompressing an entire lump when only part of
it is needed.
2021-12-15 14:10:20 -08:00
James R
152f4224d9 Read only header bytes when creating textures list
R_LoadTextures was reading in the entirety of every
texture lump, now it only reads the 8 byte PNG header.
This saved more than 1 second for me (1.68 s -> 0.24 s).

PNG still need to be read in entirely to check their
dimensions; I didn't bother looking into optimizing it
since we don't have many PNG textures right now.
2021-12-15 14:08:57 -08:00
James R
2ac9761af0 Free unused texture lumps in R_LoadTextures
PU_CACHE never gets freed automatically and Z_Unlock does
NOTHING.
2021-12-14 23:19:45 -08:00
Sal
463cbcef62 Merge branch 'gasping-for-air' into 'master'
Add gasp sound effect when emerging from water

See merge request KartKrew/Kart!484
2021-12-15 04:16:46 +00:00
Sal
00a08e07ce Merge branch 'namefix' into 'master'
Some fixes for bad player info on joining servers

Closes #151

See merge request KartKrew/Kart!470
2021-12-15 04:16:07 +00:00
James R
5145011251 Add some missing G_SetGametype calls
Fixes timelimit not being reset when switching gametypes
on the vote screen.
2021-12-14 18:11:08 -08:00
James R
1140410e2c Spawn SPHERE BOXES randomly in Battle
They look like random item boxes (the ones in Race) but
have a blue sphere inside of them. One box is worth 10
blue spheres. More boxes spawn during Overtime.

New sprite: SBOX
2021-12-14 01:05:42 -08:00
James R
033a489b85 Fix bad merge @ 4a8340cd4 2021-12-13 01:29:20 -08:00
James R
1285812b84 Merge branch 'full-file-list' into 'master'
Disable downloading and check md5 of mainwads (maps.pk3, patch.pk3, etc.) in netgames

See merge request KartKrew/Kart!490
2021-12-13 06:31:31 +00:00
Sal
d7829334d3 Merge branch 'bot-maint' into 'master'
Bot maintenance

See merge request KartKrew/Kart!489
2021-12-12 19:54:38 +00:00
James R
184a89db43 Always play splash sfx when entering/exiting water 2021-12-12 03:30:08 -08:00
James R
35238510e3 Use sfx_s3k38 2021-12-12 03:28:59 -08:00
James R
32127f37ee Check mainwads netgame md5 in developer build 2021-12-12 02:58:06 -08:00
James R
9e1146bc30 Disable downloading for now 2021-12-12 02:47:46 -08:00
Sally Coolatta
2a9f2214cb Merge branch 'master' into terrain-lump 2021-12-12 04:15:53 -05:00
Sal
f9abe3f2e4 Merge branch 'flame-shield-slope-resistance' into 'master'
Slope resistance for flame shield

See merge request KartKrew/Kart!488
2021-12-12 09:13:05 +00:00
Sally Coolatta
37aa0b633a Merge branch 'master' into bot-maint 2021-12-12 04:11:46 -05:00
Sally Coolatta
cec8137864 Require Effect 1 for using bot controller angle. 2021-12-12 04:07:32 -05:00
Sally Coolatta
bfa3311eca Make rivals even more aggressive to players
:)
2021-12-12 03:28:49 -05:00
Sally Coolatta
cd0a259bbe Code cleanup
- K_FindBotController returns the line_t directly, instead of a linedef index.
- Trick panel code is in its own function.
- Try to fix infinite bot heat death
2021-12-12 02:32:03 -05:00
Sally Coolatta
0e43a04dee Try adding tripwire support
Kind of lazy. When checking bot traversal, it considers tripwires as walls. K_BotCanTakeCut now is limited to whatever can take tripwires (no more hyudoro invisibility).

Probably should have something more foolproof, but it's annoying to test any changes to this. The only maps I can think of with really easy tripwires clearly don't have their waypoints with bots in mind, the rest are very optional or out of the way or otherwise the bots don't want to even touch them at all.
2021-12-12 02:07:21 -05:00
Sally Coolatta
5f4e4f8cb5 Merge branch 'master' into bot-maint 2021-12-11 14:13:27 -05:00
Sally Coolatta
bfdae28409 Not Climable flag on a bot controller disables rubberbanding 2021-12-11 04:18:09 -05:00
Sally Coolatta
8d5cec5ebf Move where PF_HITFINISHLINE is removed
Also removes a few remaining instances of player->bot being checked to affect gameplay where it shouldn't from vanilla, but it's code that is rarely used / completely unused anyway.
2021-12-11 04:12:06 -05:00
Sally Coolatta
ba26a3a223 Require bots to be much slower to consider spindash 2021-12-11 02:22:33 -05:00
Sally Coolatta
08bfd6e881 Improve the new wall detection further
They didn't fall off on Hardhat, I'm so proud of my sons
2021-12-11 01:51:40 -05:00
Sally Coolatta
19463d6b20 New bot prediction wall detection
Instead of searching for walls around the player, and then deciding to make the radius tighter if it found anyway, it instead checks if the waypoint it's trying to predict towards was blocked by any walls / hazards.

Needs adjusted some, I think its being pulled back too hard sometimes, but I am optimistic about some of the improvements I already saw.
2021-12-10 17:42:00 -05:00
Sally Coolatta
07d5691b73 Make them commit harder to turning
- Removed the "minor adjustment" threshold, since that was done before global easing
- Removed the "accel + brake to slowdown and reorient yourself if you're facing too far away from the track" bit, because 1.) it was done before accel + brake was turned into EBrake (so it now often makes them come to a STOP instead of simply slowing down) and 2.) turning harshly will slow them down anyway, so maybe isn't necessary
2021-12-10 16:23:41 -05:00
Sally Coolatta
0588227da1 Merge branch 'master' into bot-maint 2021-12-10 16:01:11 -05:00
SinnamonLat
1adbfcff03 Remove Landmine dust ring on explosion 2021-12-10 14:16:20 +01:00
James R
a3d5804da9 Let flame shield resist slope butter 2021-12-10 02:46:34 -08:00
James R
a90520ebdc Do not factor roll and pitch into model rollangle
Those transformations are applied separately so the model
tilts in 3d space.
2021-12-10 00:32:46 -08:00
Sal
d3c775a08d Merge branch 'models-1st-class' into 'master'
Model tilting and stretching

See merge request KartKrew/Kart!486
2021-12-10 07:57:34 +00:00
James R
1ac123246d Model stretching 2021-12-09 22:41:54 -08:00
James R
4f04c0c430 Tilt models 2021-12-09 22:41:54 -08:00
James R
4fc82f0f53 Squish during huge vertical momentum
YIKES
2021-12-09 21:55:27 -08:00
James R
c5e3eb7fff Minorly extend squish time 2021-12-09 21:51:40 -08:00
James R
95bfe07d66 Enable sprite rotation in OpenGL 2021-12-09 21:34:41 -08:00
James R
7544f8b3b4 Merge branch 'teddthertive' into 'master'
Additive sign/tether sparkles

See merge request KartKrew/Kart!481
2021-12-10 04:21:05 +00:00
SteelT
e009f1ebab Merge branch 'super-upside-down-spring' into 'master'
2x vertical speed for downward springs

See merge request KartKrew/Kart!483
2021-12-10 04:11:17 +00:00
James R
a617563bd8 Add gasp sfx when exiting water, but not with bubble shield 2021-12-09 17:44:23 -08:00
toaster
4108d5acb0 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into namefix 2021-12-10 00:04:37 +00:00
Sally Coolatta
76874de965 Drop shadow tweaks for OGL
- Shadow uses subtractive & additive, like software shadows
- Shadow does not change scale or opacity, like software shadows
- Fixed shadow the hedgehog seizure
2021-12-09 18:32:52 -05:00
toaster
69483f2578 Additive sign/tether sparkles 2021-12-09 22:33:57 +00:00
Sally Coolatta
35a3f65e83 Allow "texture" as an alias to "floor"
Since we I'm using it for Tripwire too
2021-12-09 16:32:31 -05:00
Sally Coolatta
65adddd53e Merge branch 'master' into terrain-lump 2021-12-09 16:24:43 -05:00
Sally Coolatta
047b725a30 Implement bumpy floor 2021-12-09 16:12:09 -05:00
toaster
a149fa9db9 GL now loads in netgames and doesn't memory leak
What is broken:
* Encore mode remapping in GL only
* Seizure effect in Daytona (NOT IVO SAFE)
* God knows what else has been waiting in the wings
2021-12-09 20:57:15 +00:00
Sally Coolatta
b3d3135c58 Instead of embedding specific textures to be tripwire in hardcode ... make it a TERRAIN flag! 2021-12-09 15:54:22 -05:00
Sally Coolatta
35a72e56dc Implement splash & footstep blocks, commentate more of the code
They do nothing atm, but they can be set properly now :)
2021-12-09 14:45:59 -05:00
Sally Coolatta
b1ffaa99f8 Sync mobj->terrain
This should be enough I think to sync terrain up. The data structures can't change after the files have been loaded, so it should be good. Needs proper online testing though
2021-12-09 13:20:35 -05:00
Sally Coolatta
bf4b47a2cf Merge branch 'master' into terrain-lump 2021-12-09 03:46:01 -05:00
Sally Coolatta
e212f947ad Implement the sector special-like effects
Offroad, sneaker panels, trick panels, and damaging floors can now be set via terrain.
2021-12-09 03:20:45 -05:00
Sally Coolatta
d7a8ec9fbd Liquid terrain functions 2021-12-09 02:37:44 -05:00
Sally Coolatta
f7834054a5 You can now link terrain to textures 2021-12-09 01:55:29 -05:00
Sally Coolatta
53d777788a Friction value is used, implemented DefaultTerrain 2021-12-09 01:21:34 -05:00
Sally Coolatta
150faf9de6 Add terrain pointer to mobj_t 2021-12-09 00:56:05 -05:00
Sally Coolatta
a8615cac5b TERRAIN lump reading
Does not impact gameplay but hey pretty cool
2021-12-08 19:16:12 -05:00