Commit graph

23086 commits

Author SHA1 Message Date
James R
582b76f168 Intermission: fix marquee scroll 2023-05-10 14:42:54 +01:00
wolfy852
aa94bdb7cc Fix scroll directions 2023-05-10 14:42:54 +01:00
wolfy852
f8c1a0f758 WIP: Marquee & Checker scrolling
Bad numbers. Scroll is happening, just not the way we want it to.
2023-05-10 14:42:53 +01:00
wolfy852
ddd8f84648 Use a more descriptive var name 2023-05-10 14:42:53 +01:00
wolfy852
b1524a8c7f intermission skincolor + demolition of sanity 2023-05-10 14:42:53 +01:00
wolfy852
e7d46c3c0a V_MODULATE -> V_SUBTRACT 2023-05-10 14:42:53 +01:00
wolfy852
2496502b31 Draw marquee, checker, and player icon 2023-05-10 14:42:53 +01:00
wolfy852
1167105ba2 V_DrawFixedPatch -> V_DrawMappedPatch 2023-05-10 14:42:53 +01:00
wolfy852
f53e0398d5 lines 2023-05-10 14:42:52 +01:00
wolfy852
3070c2037b New intermission base
Very incomplete. Currently draws the background and most of the necessary patches. Ignore some of the stupid shit I did here, it'll be cleaned up later.
2023-05-10 14:42:52 +01:00
wolfy852
1e2c3b8657 Dummy out old intermission code, draw level icon as background 2023-05-10 14:42:52 +01:00
AJ Martinez
28bba54905 Allow host to skip gamestochat, not just admins (??????????????) 2023-05-10 00:26:12 -07:00
Oni
5c5157bce5 Merge branch 'finish-jingles-tidy' into 'master'
Finish Jingles Tidy

See merge request KartKrew/Kart!1217
2023-05-10 06:42:54 +00:00
Sal
920f58fd18 Merge branch 'fix-block-players' into 'master'
Fix Block Players for waypoint detection

Closes #546

See merge request KartKrew/Kart!1228
2023-05-07 18:54:45 +00:00
Sally Coolatta
0ec5c4346b Fix Block Players for waypoint detection 2023-05-07 14:34:03 -04:00
toaster
965dc114aa Merge branch 'round-queue-automate' into 'master'
Round Queue Automate

See merge request KartKrew/Kart!1222
2023-05-07 14:14:34 +00:00
Sal
83a637bc11 Merge branch 'slow-duel-bomb' into 'master'
Slow down duel bombs

See merge request KartKrew/Kart!1227
2023-05-07 01:41:08 +00:00
Sal
b907880295 Merge branch 'centered-skies' into 'master'
Line up the center of skies with horizon line

See merge request KartKrew/Kart!1225
2023-05-07 01:39:24 +00:00
Sally Coolatta
865347544c Slow down duel bombs
They are a bit too fast.
2023-05-06 17:34:03 -04:00
Sally Coolatta
f017f4626f Line up the center of skies with horizon line 2023-05-06 02:19:26 -04:00
VelocitOni
64e091414b Default cam_height increase
75 --> 95  |  Tyron, Sal, and Oni want to test higher cam_height for readability (may drastically help flat maps).
2023-05-06 02:07:20 -04:00
AJ Martinez
cd485c8401 Scale underwater strafe from actual base speed 2023-05-05 18:28:05 -07:00
Oni
348549a1cb Merge branch 'quake-crash' into 'master'
P_StartQuake: Use PushQuake (resolves #543)

Closes #543

See merge request KartKrew/Kart!1223
2023-05-05 13:14:23 +00:00
toaster
ca416a3b7f P_StartQuake: Use PushQuake
- Consistency
- Prevents memory corruption when the quakes list is empty
2023-05-05 13:23:27 +01:00
Sal
69b9805d5b Merge branch 'acs-fix-fof-trigger' into 'master'
ACS: Fix "on enter" triggers on intangible FOFs

See merge request KartKrew/Kart!1221
2023-05-04 15:57:43 +00:00
Sally Coolatta
a7d22f8468 ACS: Fix floor & ceiling FOF triggers 2023-05-03 19:11:08 -04:00
toaster
9aeebe44e9 queuemap: Add "-clear" parameter
- Can be used to clear all entries in the round queue
- Stores the special state in the gametype field
- Returns a message if the queue is already empty
2023-05-03 23:46:09 +01:00
Sally Coolatta
ce712ae68d ACS: Fix enter triggers on intangible FOFs 2023-05-03 18:40:23 -04:00
toaster
80ed8b81b9 Command_Map_f, Command_QueueMap_f: Prevent memory leak on cheat-limited early-return 2023-05-03 23:23:45 +01:00
toaster
b72bc73d28 Two new command automation events
- "QueueStart"
    - Activates just before RoundStart, but only if a roundqueue is being started
- "QueueEnd"
    - Activates just before IntermissionStart, but only if the roundqueue has just finished its final map
I chose before in both instances because Automate_Run runs off COM_BufAddText, and I don't completely trust that the buffer won't overflow for particularly complicated server commands, so prioritising the rarer event. However, this is open for discussion
2023-05-03 22:08:13 +01:00
toaster
99a1e47487 Merge branch 'freeplay-align' into 'master'
K_drawKartFreePlay: Fix alignment for good

See merge request KartKrew/Kart!1220
2023-05-03 20:26:47 +00:00
toaster
d6c86b97b6 K_drawKartFreePlay: Fix alignment for good
Uses V_StringScaledWidth instead of manually inserted spacing
2023-05-03 18:05:51 +01:00
Sal
41770be966 Merge branch 'acs-sector-no-spectator' into 'master'
ACS: Prevent spectators from using sector actions

See merge request KartKrew/Kart!1219
2023-05-03 14:49:40 +00:00
Sally Coolatta
f56504e0d4 ACS: Prevent spectators from using sector actions 2023-05-03 09:37:48 -04:00
Sal
2cba1b7820 Merge branch 'acs-get-set' into 'master'
ACS: Property get/set functions

See merge request KartKrew/Kart!1203
2023-05-03 13:30:15 +00:00
Sally Coolatta
31f0df6103 ACS: Fix tag iterations not working 2023-05-02 19:30:09 -04:00
Sally Coolatta
8588881f4d ACS: Add SIDE_BOTH support for SetSideProperty 2023-05-02 18:44:30 -04:00
Sally Coolatta
4f2c47fde0 ACS: Try to fix sprnames garbage 2023-05-02 18:44:30 -04:00
Sally Coolatta
d953049c78 ACS: User properties can tell bool from string 2023-05-02 18:44:30 -04:00
Sally Coolatta
427ffceac9 ACS: Get/SetThingProperty 2023-05-02 18:44:29 -04:00
Sally Coolatta
48f7d53cd8 ACS: Allocate user properties with PU_LEVEL 2023-05-02 18:44:29 -04:00
Sally Coolatta
f8744560df ACS: Add SIDE_PROP_REPEATCOUNT
Missed this one.
2023-05-02 18:44:28 -04:00
Sally Coolatta
d9382f2100 ACS: UDMF user properties
Lines, sides, sectors, and things now all support the "Custom" tab properly. Label a property as `user_[whatever you want]` in this tab, and it will be added to the structure. ACS will then be able to retrieve it using the `Get[x]UserProperty()` function.
2023-05-02 18:44:27 -04:00
Sally Coolatta
a366948c62 ACS: Remove SECTOR_PROP_SPECIAL
This is only used in binary, and ACS shouldn't be implementing any binary stuff anymore.
2023-05-02 18:44:26 -04:00
Sally Coolatta
5521284fa0 ACS: Implement Line and Side get/set functions
Additionally, these all now support tag 0 as getting/setting properties from the activator.
2023-05-02 18:44:26 -04:00
Sally Coolatta
e27e6c1353 ACS: Get/Set property prototyping
Mostly proof-of-concept so that Charyb can play around with it and tell me if it works for her.
2023-05-02 18:44:25 -04:00
toaster
9497941ef6 P_DoAllPlayersExit: Play finish sounds on successful execution
- If a local player is already finished, don't play any sound
- If the local players finish as a result of this, play the race finish line cross sound
- Else, play the race opponent finish line cross sound
2023-05-02 18:16:26 +01:00
toaster
12ecb1f7a4 P_DoPlayerExit changes
- Add flag application in function signature
    - Consistent gating of extra PF_NOCONTEST application behind not already exiting
        - This should fix dying after winning in K_Cooperative gametypes breaking things
- P_DoAllPlayersExit
    - Consistent condition of playeringame, spectator, exiting, etc checks
    - Also could force-give a life (for Battle Prisons)
2023-05-02 18:16:26 +01:00
toaster
6935bf4754 S_AttemptToRestoreMusic: Handle both GS_INTERMISSION and musiccountdown (via FALLTHRU) 2023-05-02 18:16:26 +01:00
toaster
6882ea7671 P_EndingMusic: Change priority
- In gametypes where you can exit successfully but get PF_NOCONTEST, play the _lose jingle instead of RETIRE
    - Affects Prison Break, Sealed Stars
- If you're losing, even if in first place, don't play the _first jingle
    - Affects Prison Break
2023-05-02 18:16:26 +01:00