Commit graph

23986 commits

Author SHA1 Message Date
James R
b8b286b177 Merge branch 'softer-stumble' into 'master'
Smoothlanding leniency (resolves #602)

Closes #602

See merge request KartKrew/Kart!1428
2023-08-28 07:49:20 +00:00
James R
1db1eaedff Merge branch 'sealed-star-lose-text' into 'master'
Sealed Stars: show text on the screen for loss conditions; improved titlecard cecho centering, splitscreen support

See merge request KartKrew/Kart!1404
2023-08-28 07:48:47 +00:00
James R
e3da061192 cecho command: don't add trailing space
Fixes centering for cechos of only punctuation.
2023-08-27 15:11:14 -07:00
James R
2e748636d7 Create V_CenteredTitleCardStringOffset
- V_TitleCardStringWidth no longer has the special case
  for punctuation, moved to this function instead.
- Handles both leading and trailing punctuation, and even
  spaces.

toaster-assisted, thank-you-toaster
2023-08-27 15:06:51 -07:00
Sal
2eb8180dd1 Merge branch 'improved-debugstart' into 'master'
debugstart can now force POSITION on (resolves #600)

Closes #600

See merge request KartKrew/Kart!1431
2023-08-27 20:09:55 +00:00
Sal
702faa60f1 Merge branch 'fix-unfix-flat-offsets' into 'master'
Fix TextmapUnfixFlatOffsets & other writetextmap bugs

See merge request KartKrew/Kart!1437
2023-08-27 20:04:22 +00:00
Sally Coolatta
a4911b0821 Add equation slopes to writetextmap 2023-08-27 15:49:05 -04:00
Oni
055e4f1e50 Merge branch 'moar-sneaker-panels' into 'master'
More Sneaker Panels

See merge request KartKrew/Kart!1430
2023-08-27 19:29:11 +00:00
Sally Coolatta
e7c3a8ac46 Fix thingstringarg typo in -writetextmap 2023-08-27 14:36:48 -04:00
Sally Coolatta
1bbe90f659 Fix TextmapUnfixFlatOffsets
It had the right idea, it just literally did it wrong :P
2023-08-27 14:04:28 -04:00
James R
d0ada97e0b Merge branch 'write-textmap-command' into 'master'
Make -writetextmap a console command, call it "writetextmap"

See merge request KartKrew/Kart!1426
2023-08-27 11:42:23 +00:00
James R
ae0e34bbbe Merge branch 'fastfall-trickpanel' into 'master'
Pogospring / trickpanel disable fastfall (resolves #624)

Closes #624

See merge request KartKrew/Kart!1427
2023-08-27 11:39:45 +00:00
James R
c080828dde Dash Rings, Fast Fall: reset pitch too 2023-08-27 04:17:16 -07:00
James R
eabef184f1 Add P_ResetPitchRoll 2023-08-27 04:17:16 -07:00
James R
7d9a40fc38 K_TimerInit: actually let debugstart force POSITION on, even in Free Play 2023-08-27 03:34:34 -07:00
James R
92bc946d60 Merge branch 'no-scams' into 'master'
No last-minute scams with Garden Top / Flame Shield (resolves #603)

Closes #603

See merge request KartKrew/Kart!1433
2023-08-27 10:27:22 +00:00
James R
359186bc5d Merge branch 'magician-scale-change' into 'master'
Fix Magician Box going crazy when player changed scale

See merge request KartKrew/Kart!1434
2023-08-27 10:23:35 +00:00
AJ Martinez
03b491a2fa Fix Magician Box going crazy when player changed scale 2023-08-26 23:49:33 -07:00
AJ Martinez
d7e989c54c Buff Flame Shield bar-per-distance to compensate for scamlessness 2023-08-26 23:32:13 -07:00
AJ Martinez
1666d872e2 No last-minute scams with Garden Top / Flame Shield 2023-08-26 23:22:55 -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
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
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
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