Commit graph

24370 commits

Author SHA1 Message Date
AJ Martinez
f67b4914b9 Remove Texture Filtering option from Hardware Options 2023-08-26 23:02:27 -07:00
AJ Martinez
59b2db3129 Debugstart can now force POSITION on 2023-08-26 22:58:18 -07:00
AJ Martinez
2f331a4d10 Let's be slightly more semantically correct about this 2023-08-26 22:24:18 -07:00
AJ Martinez
b43df44156 Tyron you suck at using your editor 2023-08-26 22:23:10 -07:00
Lach
3ca23fbecf Remove scenery flag from Sneaker Panel Spawners (to tick their fuse) 2023-08-27 14:59:42 +10:00
Lach
ac9b96e98b Add spawn rate arg to Sneaker Panel Spawners; allow sneaker panels to scale themselves redundantly 2023-08-27 14:01:23 +10:00
Sally Coolatta
ea7ad31fef Add Radius Action thing
Thing type 4096, activates its action when a player enters the specified radius
2023-08-26 20:28:50 -04:00
Oni
ec83b73ee9 Merge branch 'bubble-bounce' into 'master'
Bubble bounce converts height into speed, bubble set boosts

See merge request KartKrew/Kart!1425
2023-08-26 23:14:05 +00:00
AJ Martinez
b03056e4c8 Smoothlanding leniency 2023-08-26 16:05:34 -07:00
toaster
79699f47d5 Sealed Star finish cleanup
- No FINISH text
- No voices
- Warp sound on crossing the line, not any other stuff
2023-08-26 23:48:18 +01:00
toaster
6fb7d16c85 Don't give extra lives in the final entry on a Round Queue (which fixes sealed star sound overload) 2023-08-26 23:47:36 +01:00
AJ Martinez
dbe8f4c820 Pogospring / trickpanel disable fastfall 2023-08-26 15:37:29 -07:00
toaster
6869496843 Fade to white before the Podium if you successfully get the Emerald/Prize
Further Sealed Star polish requested on the gitlab.
2023-08-26 23:30:12 +01:00
AJ Martinez
cfa20179b0 Higher bubble bounce 2023-08-26 15:15:34 -07:00
toaster
908022c821 Fix overlapping Title CEcho text
If an admin title cecho is active, do not render individual viewport title cechos.

Some information is lost, but currently everything expressed through them is not unique while admin title cechos generally are, so they're a safe thing to sacrifice given limited screen space.
2023-08-26 21:44:51 +01:00
James R
5d8efb66a4 Sealed Stars: show text on the screen for loss conditions
Player dies:

    FALL OUT!

Player finishes before collecting the emerald:

     EMPTY
    HANDED?

UFO finishes before player:

    TOO LATE...
2023-08-26 21:39:18 +01:00
James R
2328ceb4bc V_TitleCardStringWidth: don't count punctuation, in order to help centering
Punctuation, like ellipsis, normally offsets the centered
position of text. But this looks subjectively weird. By
not counting it, punctuation is basically allowed to
extend further off to the sides.

The difference looks like:

                   CENTER
                     ||
                     \/
                     ||
    OLD:    |   TOO LATE...    |
                     ||
    NEW:    |     TOO LATE...  |
                     ||
                     /\
                     ||
                   CENTER
2023-08-26 21:39:18 +01:00
James R
ae2fdcbd12 cecho command: use titlecard font 2023-08-26 21:39:18 +01:00
James R
baf7f82af3 HU_DoTitlecardCEcho: add splitscreen support and interrupt feature
- Takes player argument and only appears on the screen if
  they're a display player.
- Uses 4P font when in splitscreen.
- Uses 1P font if not in splitscreen, or player argument
  is NULL -- message to everyone.
- Interrupt argument controls whether the message should
  overwrite another message that's already playing.
  - Global and player specific messages are considered
    separately.
2023-08-26 21:39:18 +01:00
James R
4f60d046ba V_DrawTitleCardString, V_TitleCardStringWidth: add 4P font support 2023-08-26 21:39:18 +01:00
toaster
e123ed7480 MAJOR cleanup of Spectator set/unset
- G_AddPlayer now contains CL_ClearPlayer, G_DestroyParty, and playeringame set
- Instead of a nasty, complicated block in P_SpawnPlayer, externalise it into G_SpectatePlayerOnJoin
- All mid-game human player-to-spectator transitions are handled by P_SetPlayerSpectator, instead of lots of `spectator = true` and associated boilerplate
    - Simplifies Got_Teamchange MASSIVELY
        - Of course this is helped by also stripping back team change
    - This is called by P_KillPlayer, too
- P_KillPlayer no longer eats DMG_SPECTATOR when lightsnaking or exiting
- G_GametypeHasSpectators condition tidied
2023-08-26 19:48:20 +01:00
James R
cb06fedc18 Make -writetextmap a console command, call it "writetextmap"
- Convert multiple maps at once
- The game cheers for you when it's done and tells you
  where it saved the TEXTMAP files
2023-08-26 06:05:09 -07:00
James R
71f9b79e71 Prisons: fix exit conditions around spectating
Fixes player death not ending a Prisons round, bugged
debug feature.

Now, do it properly. Don't end the round if the last
player spectates.

This is more than a debug feature; in Free Play, it lets
the player spectate and fly around if they want to, and
even come back in, all without restarting the level.
2023-08-26 12:35:16 +01:00
VelocitOni
f3f0ce7351 Don't nerf results
Fast-fall bounce speed can't reduce your speed if the conversion would've been lower
2023-08-26 00:47:13 -04:00
AJ Martinez
b005cf017e Bubble bounce converts height into speed, bubble set boosts 2023-08-25 20:50:24 -07:00
Oni
9bbd850d74 Merge branch 'cvar-reorganization' into 'master'
Refactor cvar definitions completely, move everything to cvars.cpp

See merge request KartKrew/Kart!1422
2023-08-26 03:42:31 +00:00
Oni
3f596a24ba Merge branch 'dialogue-2' into 'master'
Dialogue 2

See merge request KartKrew/Kart!1421
2023-08-26 03:42:10 +00:00
VelocitOni
2eef398381 Merge branch 'master' into dialogue-2 2023-08-25 22:46:14 -04:00
Oni
d2021560e5 Merge branch 'cheats-menu' into 'cvar-reorganization'
Cheats menu on the pause menu

See merge request KartKrew/Kart!1424
2023-08-26 02:34:42 +00:00
James R
64a112e358 Pause menu: add cheats menu
Automatically populated with every cheat cvar.
2023-08-25 17:35:29 -07:00
James R
0559713c41 cvars.cpp: add descriptions to all cheats 2023-08-25 17:25:19 -07:00
James R
f1e4aa5cd4 consvar_t: add optional description field 2023-08-25 17:24:13 -07:00
James R
88cb0dda22 V_DrawFill: clip with cliprect 2023-08-25 17:24:13 -07:00
James R
6c0b042eed Refactor cvar definitions completely, move everything to cvars.cpp
- No need to call CV_RegisterVar
- Cvar definitions live in only one file, easier to locate
- Organized into sections -- netvars, cheats, etc.
- Use builder pattern to initialize cvars
- Still need to extern if you want to read the cvar value
2023-08-25 17:22:40 -07:00
James R
6a3d298d00 CMakeLists.txt: remove -Wnested-externs warning 2023-08-25 17:19:04 -07:00
James R
c194ccb81a Remove more unused cvars
- respawnitem
- respawnitemtime
- respawndelay
- startinglives
2023-08-25 17:18:21 -07:00
Oni
bc0a187961 Merge branch 'thing-script-args' into 'master'
Separate script args from mapthing args

See merge request KartKrew/Kart!1405
2023-08-25 23:29:06 +00:00
Sally Coolatta
3c14931764 Merge master 2023-08-25 18:39:01 -04:00
Sally Coolatta
3c8eb505cc Merge branch 'master' into thing-script-args 2023-08-25 18:32:55 -04:00
toaster
4abc0b2c5d Merge branch 'motd' into 'master'
Add server join splash (resolves #266)

Closes #266

See merge request KartKrew/Kart!1423
2023-08-25 20:43:02 +00:00
toaster
4d08f5e888 Move Song Credits down by 8 pixels to avoid overlap with top-region MOTD 2023-08-25 21:41:49 +01:00
toaster
92bd71496e VC review
- Continue showing up on main in-game pause menu
- Flip to top half of screen, to avoid conflict with Round Queue
- Show over most UI, including menu
2023-08-25 21:41:15 +01:00
Oni
b63f3f6f16 Merge branch 'majin-box' into 'master'
Auto Roulette (resolves #618)

Closes #618

See merge request KartKrew/Kart!1411
2023-08-25 19:24:42 +00:00
Sally Coolatta
2a68650477 Clear name/contact with strncpy instead of memset
Probably doesn't matter, but it satisfies my OCD better
2023-08-25 15:08:53 -04:00
Sally Coolatta
c2c46aca58 Add note about MOTDICON 2023-08-25 14:56:50 -04:00
Sally Coolatta
819ebc4c26 Highlight contact with shoutcolor 2023-08-25 14:51:21 -04:00
Sally Coolatta
019546e846 Add server join splash
Just wanted to give literally any possibility of seeing the server contact as a client
2023-08-25 14:42:01 -04:00
Sally Coolatta
e30ff926d8 Default voice to sfx_ktalk
Someone just needs to put an actual sound for it in sounds.pk3
2023-08-25 13:15:50 -04:00
Sally Coolatta
71e068a8b6 Display Z button 2023-08-25 08:16:16 -04:00
Sally Coolatta
764010b3ab Implement talk sounds
We're in Undertale
2023-08-25 07:53:09 -04:00