Commit graph

24702 commits

Author SHA1 Message Date
Oni
200986f8b9 Merge branch 'sunbeam-palm-draw-further' into 'master'
Make Sunbeam Paradise palm trees draw from infinite distance

See merge request KartKrew/Kart!1538
2023-10-02 03:38:00 +00:00
James R.
7c4bb65380 MT_SUNBEAMPALM_STEM, MT_SUNBEAMPALM_LEAF: add MF_DRAWFROMFARAWAY 2023-10-01 18:08:18 -07:00
James R.
a7382ca9d0 UpscaleBackbuffer::begin_pass: use separate renderpass to clear framebuffer if texture was recreated
Fixes wipes potentially reading invalid data from the
framebuffer if the texture was recreated but not yet
rendered to.
2023-09-30 19:23:14 -07:00
James R.
2ec5d3e6b0 Add scr_scale, scr_x, scr_y cvars to scale and adjust viewport position 2023-09-30 16:50:41 -07:00
James R.
37dc1189bb srb2::hwr2::BlitRectPass::set_output: set x/y as well 2023-09-30 16:38:56 -07:00
James R.
2d9d06e267 Let window be resizable 2023-09-30 16:09:10 -07:00
James R.
18efb35602 SDLSetMode: render immediately after resolution change to avoid 1-frame of texture presented at wrong size 2023-09-30 16:07:53 -07:00
Lach
7cd059dfb3 Merge remote-tracking branch 'origin/master' into hardcode-chaos-chute 2023-09-29 22:41:31 +10:00
Lach
2bdc055139 Scale Chaos Chute objects 2023-09-29 20:27:13 +10:00
Lach
abf784cc79 Have bots avoid MT_SPECIALSTAGEBOMB 2023-09-29 20:25:59 +10:00
Lach
1ea5b6759a Add screenshake to MT_SPECIALSTAGEBOMB explosions 2023-09-29 20:23:18 +10:00
toaster
c26b4036b7 Challenges Menu: Subtle glowverlay on the Chao Key in the top left if you're able to skip the currently selected tile 2023-09-29 11:01:20 +01:00
toaster
f1241d692f Improved tutorial messaging
They're now called Big Challenges, because Chrome used it for space reasons and it's funny to be reminded of the Sanrio character
2023-09-29 10:03:53 +01:00
toaster
5ac1854b1b The conversion rate for Rounds to Keys is now 32:1 per popular consensus 2023-09-29 10:03:05 +01:00
toaster
911588a5fe Challenges Tutorial messages
Currently exists for:
- Generating a Chao Key
- Attempting to use a Chao Key on a Major Challenge
    - Only shows after Generating a Chao Key just so it doesn't fire before you know what's going on
Text is preliminary
2023-09-29 00:25:51 +01:00
toaster
07afe6cb06 Challenge Grid is 5 tiles high now again
I'm sorry, it was just TOO SWAG.
Gamedata minor version increment
2023-09-28 22:30:26 +01:00
toaster
20f47a69dd Challenges Menu: Cooler winged counters for Chao Keys and Completion Percentage
Moves rounds-to-key metyr back to being horizontal and under the counter again, but integrated into the wing
2023-09-28 21:54:42 +01:00
toaster
aca676a7b6 M_DrawChallengePreview: Fix inverted presence of Alt-character stats dot on Character Select preview 2023-09-28 21:40:24 +01:00
toaster
54ddf72466 Challenges Menu: Do not show any conditiontext underlay for empty tile spots 2023-09-28 12:29:44 +01:00
toaster
cf1367fb8d Challenges Menu: Chao Medal icon in the top right
Fills up as you complete challenges.
Unlock all Challenges without using Chao Keys on a major tile to get the Beginner Chao Medal.
Do so without using any Chao Keys at all and you get 101%, with the Challenge Chao Medal!
(This can retroactively apply if you complete the relevant tasks legitimately at a later date.)

Also makes CC_s into an enum (now prefixed with CMC_, since CC_MAX exists in a header file already).
2023-09-28 12:28:14 +01:00
toaster
bd7be2dd6f M_DrawChallengeKeys: Grey out the last Chao Key on the stack if you're either out of them, or going to be out of them after the animation is over 2023-09-28 12:22:17 +01:00
toaster
6bf364545e Seperate our M_DrawChallengeKeys from the already pretty big M_DrawChallenges 2023-09-28 09:57:32 +01:00
SteelT
f63eb31d5b Remove host-testers configure preset from CMakePresets.json 2023-09-27 19:31:00 -04:00
toaster
1a91f41dbb Update Challenge Menu UI
- Percentage for Challenges completion
- Smaller footprint in either top corner
    - Uses mini rank numbers
    - Rounds to new Key meter is now vertical
2023-09-27 21:19:39 +01:00
toaster
f29430f29c Longer delay for using a Chao Key on a Major Challenge Tile
Also tidies up a lot of the code and constants related to the Key usage timing
2023-09-27 20:54:32 +01:00
toaster
3e901b312c Catch all unconditional cv_playercolor[] visuals
Resolves #704
Now converts to skin prefcolor in:
- Player menu party
- Challenges menu
    - Why it's done on this branch - want to avoid merge conflicts
- Gamepad indicator
    - Actually fixes a bug at the same time for skins with nonstandard startcolors
2023-09-27 16:02:29 +01:00
toaster
1ce41bdfb4 Large Challenge Tiles can now be Key'd.
- Must have every challenge surrounding it unlocked. (CHE_ALLCLEAR, see previous commits)
- Takes 10 Chao Keys.
- Has a swag animation.

In addition:
- Replace the DEVELOP-only Z button behaviour with "add a free key", since large tiles are no longer permalocked, only expensive.
2023-09-27 16:02:29 +01:00
toaster
33dfb697bf M_UpdateChallengeGridExtraData: Slight optimisation in initial setup 2023-09-27 16:02:28 +01:00
toaster
b33597e225 Beginnings of system for using Chao Keys on large tiles
- M_UpdateChallengeGridExtraData: Register whether major unlock tiles have had every surrounding Challenge cleared (CHE_ALLCLEAR)
- M_DrawChallengeTile: For locked tiles with CHE_ALLCLEAR, show a little dot (temporary drawer)
2023-09-27 16:02:28 +01:00
toaster
d3d548ea36 Copypaste error 2023-09-27 00:44:21 +01:00
toaster
c90eaae477 IsPlayerAdmin: Make reimplementing the DEVELOP-specific behaviour at a later date easier 2023-09-27 00:25:25 +01:00
toaster
b698fcfd0f Enable Server Browser access in TESTER builds
Does not forbid seeing modded servers even if you haven't unlocked add-ons yet
2023-09-27 00:14:11 +01:00
toaster
47fe8bb9b1 Move SRB2_CONFIG_DEV_BUILD and SRB2_CONFIG_TESTERS to the root directory CMakeLists.txt
Repairs the pre-CMake functionality of TESTERS builds having the format `ringracers_branch-name_TESTERS.exe`
2023-09-26 23:59:14 +01:00
toaster
0b5fd330e6 Remove HOSTTESTERS
Now you can host for testers using a bog-standard DEVELOP build.
2023-09-26 23:56:35 +01:00
toaster
9854da9da1 IsPlayerAdmin: Do not have non-tester specific DEVELOP behaviour
It's easy enough for the host to verify any given player, and this is in fact the only HOSTTESTERS-specific sync change..!?
2023-09-26 23:54:56 +01:00
toaster
f522cae573 SV_GenContext: Guard #ifndef TESTERS
Fixes compiling TESTERS builds
2023-09-26 23:16:49 +01:00
toaster
50ae488934 Merge branch 'local-music-patch' into 'master'
ACS music functions: add optional bool to only affect player activator

See merge request KartKrew/Kart!1531
2023-09-26 22:08:14 +00:00
toaster
55bdd60519 Merge branch 'radio-shuffle' into 'master'
Stereo Mode: Add "Shf" (Shuffle) option

See merge request KartKrew/Kart!1517
2023-09-26 22:07:59 +00:00
toaster
25b4eb4f13 Merge branch 'linedef-80-respawn' into 'master'
Respawn things at Z position offset by linedef 80

Closes #542

See merge request KartKrew/Kart!1528
2023-09-26 22:07:46 +00:00
toaster
4a2f3745f0 P_MobjRegularThink for new objects: Return early if certain objects that self-delete do so on this frame 2023-09-26 22:53:44 +01:00
toaster
5c57214e8c New player variables: Fix typing edge cases
- p_saveg.c
- lua_playerlib.c
2023-09-26 22:52:38 +01:00
toaster
a68a0b0135 All other modified files: Trailing whitespace cleanup 2023-09-26 22:51:58 +01:00
toaster
c17b2a44b3 Obj_getPlayerOffRideroid: NULL check 2023-09-26 22:17:52 +01:00
toaster
4f980dc949 Obj_rideroidTrail: Use (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag) instead of consoleplayer hack 2023-09-26 22:14:05 +01:00
toaster
d3e6c6ab02 Newly added object files: Fix Random classes
- Was previously abusing PR_FUZZ
- Add PR_TRACKHAZARD, for randomised track hazards
2023-09-26 22:10:43 +01:00
toaster
490959b6f7 Newly added object files: Fix trailing whitespace + EOF newline 2023-09-26 22:04:14 +01:00
toaster
bee1cb9a04 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into rideroid-hardcode
# Conflicts:
#	src/sounds.c
2023-09-26 21:39:19 +01:00
toaster
36f7c57ca5 Merge branch 'fix-shakes' into 'master'
Some quake improvements

See merge request KartKrew/Kart!1523
2023-09-26 20:36:04 +00:00
toaster
15a87a8a77 P_DoQuakeOffset: Prevent two calls to FixedDiv 2023-09-26 21:34:08 +01:00
Oni
9aa99db2e6 Merge branch 'damage-polish' into 'master'
Damage Polish

See merge request KartKrew/Kart!1524
2023-09-26 20:15:48 +00:00