Commit graph

20673 commits

Author SHA1 Message Date
Sal
8007446349 Merge branch 'restartmap-menu' into 'master'
Menu Restartmap

Closes #301

See merge request KartKrew/Kart!768
2022-11-18 20:13:51 +00:00
toaster
3ef98fd80d Don't use a seperate count, I literally forgot id is useful for this 2022-11-18 20:08:52 +00:00
toaster
4235798d8a Revert "Make the second page of cups accessible by up/down input at the limit, rather than left/right input"
This reverts commit f01bb3e793.
2022-11-18 20:05:09 +00:00
toaster
70d83da507 More lenient waterskip per VC discussion 2022-11-18 19:59:15 +00:00
toaster
a558c4f5c0 Waterskiing stepdown improvement
Only prohibits when there's a valid stepdown if the object is on a sloping surface.
Fixes Mega Aqua Lake without breaking Water Palace or a modified Nova Shore (after addition of an extra downward slope)
2022-11-18 19:39:56 +00:00
toaster
3422efb2fd Reduce restriction for water skiing slope differences
Only prohibit if slope surface is TOO different along the direction of movement, rather than even slightly different across any axis.
Fixes MK's indev Mirage Saloon
2022-11-18 19:36:01 +00:00
toaster
3174e0cc3d Tryx, tryy for P_GetThingStepUp in increment_move instead of destination x, y 2022-11-18 12:50:24 +00:00
Sally Coolatta
d0cd25328e Remove decabanana 2022-11-18 02:34:59 -05:00
Sal
989b24ae0c Merge branch 'fix-check-tracking' into 'master'
Fix position of CHECK

See merge request KartKrew/Kart!770
2022-11-18 07:19:08 +00:00
Sally Coolatta
32c477e619 Bananas use proper death frame 2022-11-18 01:56:45 -05:00
Sally Coolatta
1688325c67 Banana angle crazy mode
- Randomize banana angles when thrown
- Spin bananas when mid-air
- Add MF_SLOPE flag to control whenever or not pitch/roll are set for an object (replaces MF_BOXICON)
2022-11-18 01:05:01 -05:00
Sally Coolatta
88d1f1d147 Fix bananas not maintaining angle when dropped 2022-11-18 00:37:53 -05:00
Sally Coolatta
d0a3e4704d Make position number scale vary
- Before: always x2
- With "normal screen" (1P, 3P, 4P):   x1.75
- With "wide splitscreen" (2P): x2.5
2022-11-17 23:48:06 -05:00
Sally Coolatta
651b75e802 Sound when passing 2022-11-17 23:45:56 -05:00
Sally Coolatta
e6217cb206 Merge branch 'chengi-nums-fix' of https://git.do.srb2.org/KartKrew/Kart into chengi-nums-fix 2022-11-17 23:11:48 -05:00
Sally Coolatta
98f5f4bfcb Go back to old growth behavior 2022-11-17 23:11:26 -05:00
Sally Coolatta
895a5e34e0 Go back to old growth behavior 2022-11-17 23:09:19 -05:00
Sally Coolatta
2d200c1361 Fade-in position number after GO 2022-11-17 23:02:44 -05:00
Sally Coolatta
5f20d5a3ac Smooth scale-up 2022-11-17 22:46:26 -05:00
Sally Coolatta
31046f0390 Gamma correct the colors used by the position nums
My case for why I hate the gamma correction: took me 30 minutes tops to insert all of these colors originally, but took me an hour to reverse the proper gamma correction to the handful that needed it.
2022-11-17 22:25:55 -05:00
James R
0d5d1c7a09 Invert yaw diff in reverse HUD tracking
This fixes the player CHECK moving in the opposite
direction of what it should across the screen.
2022-11-17 18:50:29 -08:00
Sally Coolatta
e456eaed6d SubtractNum also makes tripwire subtractive 2022-11-17 21:11:01 -05:00
Sally Coolatta
0233c26386 Chengi's new position numbers 2022-11-17 21:11:01 -05:00
toaster
f01bb3e793 Make the second page of cups accessible by up/down input at the limit, rather than left/right input 2022-11-17 18:30:55 +00:00
toaster
372854f8d3 Do SOME attempt to add quality of life changes to the admin Change Map flow, rather than just bypassing it entirely.
- Pre-select the current gametype when showing what gamemodes are available.
- Pre-select the current map's cup when opening up the cup view.
2022-11-17 17:28:18 +00:00
toaster
962393f7b9 Restart Map/Try Again pause menu entry
Closer to parity with pre-newmenus behaviour.
- Clinical term for server admins, colloquial for SP contexts (GP/modeattacking)
- Won't show up in GP if you're out of lives
- Also fixes lives going negative in K_PlayerLoseLife
2022-11-17 16:45:07 +00:00
toaster
0c8c3df6a3 Fix menus sometimes getting stuck closed
The problem here is that the menuactive check I added in the followers branch prevented noFurtherInput from being unset. It now can no longer be set while the menu is closed.
2022-11-17 16:42:05 +00:00
toaster
1242e9256e Clear menus on returning to title screen 2022-11-17 16:37:09 +00:00
toaster
f87366de04 Make menu-created button prompts consistent with d_clisrv.c button prompts 2022-11-17 16:36:54 +00:00
Sal
e8a6aa7540 Merge branch 'follower-fixes' into 'master'
Followers and Character Select improvements

See merge request KartKrew/Kart!764
2022-11-14 21:30:03 +00:00
Sal
5d535b0455 Merge branch 'legacydl-16' into 'master'
Direct file downloader changes ported from 1.6

See merge request KartKrew/Kart!759
2022-11-14 21:28:31 +00:00
Sal
1758ab0b6f Merge branch 'filestuff-16' into 'master'
Partial Addfile port from 1.6

See merge request KartKrew/Kart!757
2022-11-14 21:27:38 +00:00
toaster
f706cf479a Merge branch 'vsync-set-fix' into 'master'
Set vsync on screen update or resolution change in software mode

See merge request KartKrew/Kart!765
2022-11-13 11:48:20 +00:00
toaster
bd87ce70d6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into filestuff-16 2022-11-12 17:55:10 +00:00
toaster
8882406ff3 On second thoughts, restrict ANY profile application in dedicated - not just on initial startup - to the Guest profile 2022-11-12 17:48:00 +00:00
toaster
f5f94b977e Deprecated constants flagged in review 2022-11-12 17:42:16 +00:00
toaster
a8a69ff03e Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into legacydl-16 2022-11-12 17:36:23 +00:00
toaster
f323a372a6 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into servers-16
# Conflicts:
#	src/d_netcmd.c
2022-11-12 17:30:40 +00:00
Sally Coolatta
492c068cdd Try some things to reduce rng biases
- Don't clamp all RNG calls to [0, FRACUNIT-1]. Only does this for P_RandomFixed now.
- Use rejection sampling for any clamped RNG calls, to remove modulo bias.
- Because of this, P_RandomRange ranges >= FRACUNIT are no longer undefined behavior.
- Added P_Random/M_Random to grab RNG output directly.
- Shuffle M_Random's RNG as well, since OS rand can be [0,INT32_MAX] instead of [0,UINT32_MAX].
2022-11-12 09:48:59 -05:00
Sal
df968e1b1a Merge branch 'chat-paste-overflow' into 'master'
Fix buffer overflow when pasting into chat

See merge request KartKrew/Kart!766
2022-11-08 11:54:13 +00:00
James R
c216cc6988 Fix buffer overflow when pasting into chat 2022-11-07 20:30:14 -08:00
toaster
6eda325561 More character select quality of life
- When selecting follower category, initial follower category is now the category of your last used follower (or None)
- More C/Extra button functionality:
    - Profile selection: Toggle between your last used profile and guest
    - Follower category: Toggle between category of your last selected follower and None
    - Follower: Return to category selection and hover over None (flows seamlessly into above option)
2022-11-07 20:57:02 +00:00
toaster
e086b52055 Fix the MP character select being completely busted and sending infinite changenameandcolor packets
Still has weird inappropriate conditions for changing skin, but gets the feature at least WORKING for now.
2022-11-07 20:16:53 +00:00
SteelT
2304ef28a5 Set vsync on screen update or resolution change in software mode
Similar to what the OGL code does, fixes vsync not being properly applied on game startup
2022-11-07 14:32:13 -05:00
toaster
2e75012645 Clean up follower setting to handle strings and values just like player->skin
- Fixes defaulting to follower id 0 (previously chao, currently hot robo) when joining a server without going through the menu flow
- No need to store TWO names for a follower, so save a little memory
- Should make it easier to add unlockable followers later
2022-11-07 18:11:45 +00:00
toaster
35a3a9db4a Remove follower on player departure 2022-11-07 17:09:51 +00:00
Oni
578908065b Merge branch 'grayscale-command' into 'master'
Add grayscale palette toggle command

See merge request KartKrew/Kart!753
2022-11-07 01:06:43 +00:00
toaster
fa5aa408be WIP: Catch a few places which could be going wrong with followers on joining servers.
Definitely better than it was, but current status: sometimes when joining a server cv_follower[n].value is 0 and I don't know why.
2022-11-07 00:58:55 +00:00
Oni
8f16a6a040 Merge branch 'backdrop-in-splitscreen' into 'master'
Overlays use dispoffset instead of position hack

See merge request KartKrew/Kart!763
2022-11-07 00:14:58 +00:00
toaster
8aeaf9738d Major changes to follower selection
- Followers now have categories, definable in SOC
- New character select step: Follower category
    - "None" is a category, just skips straight to Follower None
    - Select a category to go to the previous regular follower selection step
- Press the C/Extra button to reset a character select step to its "default"
    - Character: Center the character in the engine class (goes from [0,1] to [1,1], etc)
    - Character alts: Centers the "primary" alt (prefers Eggman over Eggrobo)
    - Skincolor: Centers the character's prefcolour
    - Follower category: Centers on the "None" option
    - Follower: [CURRENTLY NO BEHAVIOUR]
    - Followercolor: Cycles between follower's defaultcolour, "Match", and "Opposite"
2022-11-06 22:53:12 +00:00