James R
3030f7c65b
srb2::Draw::TextElement: add color codes to parsing
...
- <white>
- <purple>
- <yellow>
- <green>
- <blue>
- <red>
- <gray>
- <orange>
- <sky>
- <lavender>
- <gold>
- <aqua>
- <magenta>
- <pink>
- <brown>
- <tan>
2024-01-16 20:10:24 -08:00
Oni
379cb55e86
Merge branch 'automedal-timing-adjustment' into 'master'
...
Round times, add best * 110% as another gold time
See merge request KartKrew/Kart!1797
2024-01-17 01:36:30 +00:00
Sally Coolatta
3b755b7153
Reorganize P_DoPlayerExit
...
I tried to fix the GP ending weirdness a long time ago by recalculating all player positions at time of exit... and then K_IsPlayerLosing gets to a variable before the recalculation and a bunch of crap uses it and completely undoes anything this might've fixed. DON'T DO THAT!
2024-01-16 20:08:37 -05:00
Sally Coolatta
e22ed7fd1c
Don't give 1 pwrlv for free play
2024-01-16 19:30:55 -05:00
James R
ae04a9be27
srb2::Dialogue::NewText: use string parsing
2024-01-16 06:34:58 -08:00
James R
cef3b6d841
srb2::Dialogue::NewText: free word-wrapped string
2024-01-16 06:31:56 -08:00
James R
bfa6e4f401
srb2::Draw::TextElement: add parse method
...
- Parse and translate special characters
- Currently supported:
- Button codes
- <up>
- <down>
- <right>
- <left>
- <r>
- <l>
- <start>
- <a>
- <b>
- <c>
- <x>
- <y>
- <z>
- All button codes can be suffixed with '_pressed' or
'_animated'
- E.g. <b_pressed> or <start_animated>
2024-01-16 06:21:13 -08:00
James R
0d765d9fd1
srb2::Draw: TextElement enhancements
...
- Add default constructor
- Add text method with no arguments: returns TextElement
that inherits font and flags from drawer
2024-01-16 06:20:22 -08:00
James R
1d1d1d8a27
srb2::Draw: add missing small_button method
2024-01-16 05:20:17 -08:00
James R
0e4222ae99
String drawing: add support for button character codes
...
- Bits 5 and 6 define the button state
- 0xB0 - unpressed (neutral state)
- 0xA0 - animating between pressed and unpressed
- 0X90 - pressed down
- Bits 1 - 4 define the button type
- 0x00 - up
- 0x01 - down
- 0x02 - right
- 0x03 - left
- 0x07 - R shoulder
- 0x08 - L shoulder
- 0x09 - start
- 0x0A - A
- 0x0B - B
- 0x0C - C
- 0x0D - X
- 0x0E - Y
- 0x0F - Z
- Button offsets and dimensions tweaked to my own taste
2024-01-16 05:19:36 -08:00
James R
0d07b83896
String drawing: fix width calculation not accounting for string dance character code
2024-01-16 05:12:12 -08:00
James R
a1e4479f5d
String drawing: remove support for transparency character codes
...
- Frees up 5-7 bit range when 8th bit is set
2024-01-16 05:03:58 -08:00
Eidolon
bdc0795704
Fix several Clang compile warnings
2024-01-16 06:11:43 -05:00
James R.
6259c30a2e
Merge branch 'fix-gachatarget-hitbox' into 'master'
...
Fix gachatarget hitbox size
See merge request KartKrew/Kart!1839
2024-01-16 03:52:05 +00:00
James R
9d28967206
Battle UFO: fix spawn ordering logic
...
If the mapthings went in reverse order, so mapthing #1 had
a higher ID than mapthing #2 , the spawn ordering logic
would get stuck because it wanted mapthing #1 to have
a lower ID than mapthing #2 .
The root of the bug is that the previously used spawners
ID was not totally ignored. Now it is.
2024-01-15 19:41:49 -08:00
James R
bea26879ea
battleufotest: HUD tracking for Battle UFO spawners, show ID number
2024-01-15 18:24:17 -08:00
James R
c3748ff91a
Fix minimap crash if Super Flicky owner spectates
2024-01-15 18:11:06 -08:00
AJ Martinez
9b224356fe
Add persistent objective messages via K_AddMessage, expose to ACS
2024-01-15 17:49:10 -07:00
James R
92c451538a
Special Stages: fade out music near the finish line
2024-01-15 16:30:12 -08:00
James R
1a0b927cf2
Add Music_LevelVolume, Music_ResetLevelVolume: change music volume from gameplay contexts
...
- Tunes opt into using this volume by setting
Tune::use_level_volume to true
2024-01-15 16:29:01 -08:00
James R
d8e9effbbf
Tally: only reset camera if viewpoint was changed
2024-01-15 15:01:04 -08:00
Oni
14d6477aad
Merge branch 'orbital-whumble' into 'master'
...
Orbital items only inflict stumble
See merge request KartKrew/Kart!1840
2024-01-15 08:11:05 +00:00
AJ Martinez
5dd4733309
Fix inverted Grow check in orbital stumble
2024-01-14 23:26:05 -07:00
AJ Martinez
dad09dc86f
Don't attempt to stumble invinc/grow players (someone get a fire extinguisher)
2024-01-14 23:07:40 -07:00
AJ Martinez
3da44990d0
Orbital items only inflict stumble
2024-01-14 22:40:14 -07:00
SteelT
678250ab3c
Fix gachatarget hitbox
...
Fixes the targets in sealed star 8 having really small hitboxes
2024-01-14 23:07:34 -05:00
SteelT
281d4e72bd
Merge branch 'message-drawer' into 'master'
...
Battle HUD message drawer
See merge request KartKrew/Kart!1838
2024-01-15 03:28:44 +00:00
AJ Martinez
6f2d467542
Merge remote-tracking branch 'origin/master' into message-drawer
2024-01-14 17:58:52 -07:00
AJ Martinez
36dd4e171d
UFO conveyance fixes
2024-01-14 17:58:03 -07:00
AJ Martinez
516e418912
HUD messages: 2P split fixes, text revisions
2024-01-14 17:30:09 -07:00
AJ Martinez
e9ee268965
Per-viewport HUD messages
2024-01-14 17:13:03 -07:00
Oni
eebe8f5389
Merge branch 'fix-inconsistent-cloud-scale' into 'master'
...
Fix inconsistent cloud scale
Closes #898
See merge request KartKrew/Kart!1818
2024-01-14 23:02:47 +00:00
Sal
5a659d7a6c
Merge branch 'snifferbot-spectapalooza' into 'master'
...
Prevent bots from smelling spectators (resolves #238 )
Closes #238
See merge request KartKrew/Kart!1801
2024-01-14 21:05:43 +00:00
Sal
65aaf679b6
Merge branch 'easy-top-bounce' into 'master'
...
Slow down top if player's out of control
Closes #627
See merge request KartKrew/Kart!1836
2024-01-14 21:04:21 +00:00
AJ Martinez
25149db4eb
WIP: Per-player mid-round announcements
2024-01-14 04:18:54 -07:00
AJ Martinez
1e39081856
WIP: Mid-round status messages
2024-01-14 03:05:49 -07:00
Oni
7ad7afe1d9
Merge branch 'fix-spectator-tally' into 'master'
...
Set viewpoint to own self when Tally starts
Closes #904 and #848
See merge request KartKrew/Kart!1813
2024-01-14 07:44:33 +00:00
Oni
c10a042759
Merge branch 'allow-assignment-in-vote' into 'master'
...
Allow gamepad reassignment in vote + from joystick input
Closes #837
See merge request KartKrew/Kart!1831
2024-01-14 07:43:15 +00:00
Oni
271a5a44ed
Merge branch 'battle-fixes-five-nights' into 'master'
...
Battle Fixes at Freddy's (includes gameplay changes that affect Race too!)
Closes #879 , #893 , #900 , #918 , #906 , #903 , #913 , #907 , and #905
See merge request KartKrew/Kart!1837
2024-01-14 07:41:31 +00:00
James R
2213386498
HUD: fix 1P Battle GOAL offset in Duel
2024-01-13 22:56:19 -08:00
James R
bb2affc484
Battle: base PWR level on correct score value
2024-01-13 22:56:19 -08:00
James R
9c7e8b8be3
Battle: cap point limit at 20
2024-01-13 22:56:19 -08:00
James R
ce1fe0028a
Insta-Whip: respect flashing tics unless player is in damage state
...
- Matches new flashing tics behavior
2024-01-13 22:56:19 -08:00
James R
9af09ec507
Bubble/Guard: fix reflected item intangibility, transfer ownership of reflected items
...
- Ignores item just-thrown intangibility only if the item
owner is the same (standard behavior)
- Player who reflected the item takes ownership of it
- Required to make intangibility work correctly
- Improvement to game design
2024-01-13 22:56:18 -08:00
James R
f8f2c51a8d
Bubble/Guard: reflect strength 4x -> 6x
2024-01-13 22:56:18 -08:00
James R
9e650fa6c0
Guard: reflect items like Bubble
...
- Clash + player knockback
2024-01-13 22:56:18 -08:00
James R
92f6e61243
Battle: downscale hitlag VFX and Gahabom explosion (not in Prisons)
...
- Hitlag VFX: 3/4x
- Gachabom explosion: 1/2x
2024-01-13 22:56:18 -08:00
James R
26b03a810c
HUD: fix GOAL not turning rainbow if point limit is less than 5
2024-01-13 22:56:18 -08:00
James R
99a2a3fb74
Let Bubble blow-up destroy any MF_SHOOTABLE object
2024-01-13 22:56:18 -08:00
James R
dd1db7cd4a
Reset viewpoint to self when you spawn
2024-01-13 22:56:17 -08:00