Commit graph

22538 commits

Author SHA1 Message Date
toaster
de79dfe983 UCRP_MAPDESTROYOBJECTS
You have to destroy all objects of a certain list of types.
UNLIKE OTHER CHALLENGES, this is dependent on a mapheader parameter!!
The author of this commit just didn't want to create too laggy a condition check.
- `Condition1 = MapDestroyObjects RR_ESPRESSOLANE tables & chairs
- Map RR_ESPRESSOLANE
    - DestroyObjectsForChallenges = MT_ESPTABLE,MT_ESPCHAIR
2023-10-19 17:28:55 +01:00
VelocitOni
645a6df765 Adjusted cup icon offsets
Made the Chaotix Monitor & Sonic Advance capsule cup icons have proper icon offsets.
2023-10-19 12:24:08 -04:00
toaster
5680e00deb P_TrackRoundConditionTargetDamage, Obj_SpecialUFODamage: Fix incorrect non-g_localplayers indexing into player table
Destroying the UFO has now been promoted to a full deferred condition check
2023-10-19 16:38:50 +01:00
Oni
2ab6710e29 Merge branch 'opaquenum' into 'master'
Opaque tripwire on subtractnum maps (resolves #707)

Closes #707

See merge request KartKrew/Kart!1564
2023-10-19 07:33:42 +00:00
Oni
07298ce94b Merge branch 'force-waypoint-update' into 'master'
Update respawn waypoint on fastfall bounce, reset lap on track reset (resolves #705, #489)

Closes #489 and #705

See merge request KartKrew/Kart!1563
2023-10-19 07:21:01 +00:00
Oni
7212796f4b Merge branch 'block-lightsnake' into 'master'
"Block lightsnake" flag on waypoints (resolves #682)

Closes #682

See merge request KartKrew/Kart!1562
2023-10-19 07:05:59 +00:00
Oni
2d83bdbc7c Merge branch 'basic-frame-skip' into 'master'
Frame skipping

See merge request KartKrew/Kart!1566
2023-10-19 06:52:40 +00:00
Oni
1a0c56fcbf Merge branch 'tally-169' into 'master'
Non-green HUD fixes: Tally, FREE PLAY, server splash

See merge request KartKrew/Kart!1560
2023-10-19 06:51:20 +00:00
Oni
871c7db70d Merge branch 'titlemap-fixes' into 'master'
Fixes for titlemaps

See merge request KartKrew/Kart!1559
2023-10-19 06:14:40 +00:00
AJ Martinez
e105e710cd Merge branch 'force-waypoint-update' of git.do.srb2.org:KartKrew/Kart into force-waypoint-update 2023-10-18 22:40:38 -07:00
AJ Martinez
6f65d55009 Correct to safelap instantly to prevent finish distance spike 2023-10-18 22:40:24 -07:00
James R
8c113510e7 PLAYERFLAG_LIST: add PF_UPDATEMYRESPAWN 2023-10-18 18:00:50 -07:00
James R
1b19ad8890 Frame skipping
Skip up to 3 frames of rendering if the time between tics
exceeds TICRATE. If rendering is a significant source of
that slowdown, skipping some frames can speed up the game
loop and improve input responsiveness.
2023-10-18 01:40:15 -07:00
AJ Martinez
f0d0a0f07b Reset player lap when they reset to track 2023-10-17 22:18:49 -07:00
AJ Martinez
f1eaa1509f Opaque tripwire on subtractnum maps 2023-10-17 21:48:05 -07:00
AJ Martinez
5235408b0e Update respawn waypoint on fastfall bounce 2023-10-17 21:31:20 -07:00
AJ Martinez
218fc1aeb3 Block Lightsnake: unfuck build 2023-10-17 20:37:13 -07:00
James R
ecc324e4d8 HUD: fix server splash alignment in non-green resolutions 2023-10-17 19:18:00 -07:00
James R
3977d3225d Tally: fix fade not covering entire screen in non-green resolutions 2023-10-17 19:17:46 -07:00
James R
170133dac2 HUD: fix FREE PLAY showing up on Tally in non-green resolutions 2023-10-17 19:16:51 -07:00
toaster
a6ef8d357c UCRP_DRAFTDURATION
"consistently draft off other racers for [parameter] seconds"
Actually counts leniency tics too, but if the leniency hits 0 it gets reset.
2023-10-18 02:32:46 +01:00
toaster
0f06807c65 UCRP_HITMIDAIR: Don't count hitting yourself 2023-10-18 02:05:33 +01:00
toaster
83acdaa0cf UCRP_HITDRAFTERLOOKBACK
"hit a racer drafting off you while looking back at them"
Self-explanatory set of conditions
Wrote a commented out more compicated check for valid angles between player and target, but lastdraft probably is good enough for these purpses
2023-10-18 02:05:12 +01:00
James R.
96e36521d8 Merge branch 'no-battle-ring-box' into 'master'
Fix visual type desync on respawned battle items

See merge request KartKrew/Kart!1556
2023-10-18 01:05:00 +00:00
James R.
9847acc49c Merge branch 'robust-sigcheck' into 'master'
Don't skip signature check steps if server is lagging (resolves #715)

Closes #715

See merge request KartKrew/Kart!1554
2023-10-18 01:02:47 +00:00
toaster
065fc0b89c UCRP_RETURNMARKTOSENDER: Don't fire checkthisframe if it's already true 2023-10-18 01:57:57 +01:00
toaster
a7940684f6 UCRP_WHIPHYUU
Insta-Whip another racer while you yourself are invisible from Hyuudoro, it's shrimple
Also updates the phrasing used for UCRP_TRIPWIREHYUU to match ("afflicted by Hyudoro")
2023-10-18 01:18:34 +01:00
toaster
1c887a7041 UCRP_LANDMINEDUNK: The official parsing is "Land Mine" 2023-10-18 00:45:26 +01:00
toaster
edd3e8bbea UCRP_PODIUMNOCONTINUES
Fires if no continues have been used (as tracked on the Ceremony Ranking screen)
2023-10-18 00:42:59 +01:00
toaster
813ad52b15 Guarantee UCRP_PODIUMxx events only occour ig grandprixinfo.gp is true
Currently podium is GP only, but that won't be forever
2023-10-18 00:42:02 +01:00
toaster
6dfef24534 P_ArchiveMisc: Guarantee that loading a Grand Prix Backup counts as using a continue 2023-10-18 00:38:20 +01:00
toaster
417afd0ac9 UCRP_FALLOFF, UCRP_TOUCHOFFROAD, UCRP_TOUCHSNEAKERPANEL, UCRP_RINGDEBT: Don't flag if it happens to the player after they exit
UCRP_FALLOFF, // Fall off (or don't)
 UCRP_TOUCHOFFROAD, // Touch offroad (or don't)
 UCRP_TOUCHSNEAKERPANEL, // Either touch sneaker panel (or don't)
 UCRP_RINGDEBT, // Go into debt (or don't)
2023-10-18 00:27:44 +01:00
toaster
acdb7fd869 UCRP_CHASEDBYSPB
True if the player has PF_RINGLOCK (SPB on the HUD). Probably the cleanest implementation.
Stacks well with "finish in 1st".
2023-10-18 00:10:40 +01:00
toaster
a746c4f33f SPB-related conditions: Make hyphenation consistent 2023-10-18 00:07:30 +01:00
toaster
acad8754c8 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into break-through-them-all 2023-10-17 23:32:08 +01:00
toaster
e9d4cc2f3a UCRP_TRACKHAZARD, UCRP_FAULTED: Use latestlap instead of current lap when determining elegibility 2023-10-17 23:25:26 +01:00
toaster
fa2e54dd13 UCRP_FAULTED
- `Condition1 = Faulted Yes`
    - `FAULT during POSITION`
    - for example, combine with "& finish in 1st"
- `Condition1 = Faulted No`
    - `don't FAULT during POSITION`
2023-10-17 23:21:47 +01:00
toaster
90a65220b2 UCRP_FALLOFF, UCRP_TOUCHOFFROAD, UCRP_TOUCHSNEAKERPANEL, UCRP_RINGDEBT: Only evaluate the "false" case if the player is exiting or has PF_NOCONTEST 2023-10-17 23:20:16 +01:00
Sally Coolatta
5d9e813c5e Fixes for titlemaps
- Removed all old dev title screen remainders that were interfering with titlemaps.
- F_VersionDrawer displays on all title screen types
- SA2 intro sound only plays whenever there's am actual title card to show (before it checked for not GS_CEREMONY?)
- Removed redundant customversionstring check in menus (F_VersionDrawer already handles customversionstring)
2023-10-17 17:56:10 -04:00
toaster
35ca8e6191 UCRP_SPEEDOMETER
Provide a percentage between 100 and 999 inclusive.
Reach that speed on the speedometer at any point during the race to achieve the condition.
2023-10-17 22:53:40 +01:00
toaster
9e1aec4298 UCRP_RETURNMARKTOSENDER
"when cursed with Eggmark, blow up the racer responsible"
Just a simple condition. Either it happens or it doesn't.
MT_SPBEXPLOSION now tracks whether it was made by KITEM_EGGMAN or KITEM_SPB, too!
2023-10-17 22:25:47 +01:00
toaster
54137ad468 Eggmark fixes
- Update eggmanblame on K_EggmanTransfer
    - Currently blames the bumper, but could blame the source's eggmanblame if we wanted to change that
- Use K_FlipFromObject for correct reverse gravity placement
2023-10-17 22:19:16 +01:00
toaster
3e494a342c UCRP_GACHABOMMISER
Break a target (Prison Egg/UFO) using exactly one Gachabom again and again
Becomes invalid if an Insta-Whip collides with a target, or you throw two at the same time
2023-10-17 21:09:22 +01:00
toaster
01b97cb829 Update UCRP_UFOATTACKMETHOD into UCRP_TARGETATTACKMETHOD
Supports Prison Eggs and Gachabom now as well.
For the original behaviour, combine with the new UCRP_SMASHUFO.
2023-10-17 21:03:20 +01:00
toaster
b91823540b UC_PRISONEGGCD: Don't use K_FlipFromObject, this was heinously incorrect 2023-10-17 20:57:19 +01:00
toaster
3836cfddcb UCRP_UFOATTACKMETHOD: Only check roundconditions the frame the UFO is destroyed, not hit 2023-10-17 12:49:50 +01:00
AJ Martinez
38aa1f9d6b Waypoint flag to block lightsnake 2023-10-17 03:54:23 -07:00
Oni
59661f33a7 Merge branch 'ringbox-mace' into 'master'
Fix random items on maces stuck as Ring Box (resolves #712)

Closes #712

See merge request KartKrew/Kart!1555
2023-10-17 09:29:27 +00:00
Oni
005d05ac15 Merge branch 'threaded-software' into 'master'
Threaded software

See merge request KartKrew/Kart!1553
2023-10-17 09:28:59 +00:00
toaster
d11fe78e90 UCRP_UFOATTACKMETHOD
`Condition1 = UfoAttackMethod [type]`
    - "smash a UFO Catcher using only [type]"
        - Combine with `Prefix_SealedStar` or `Prefix_IsMap [special stage stage]`
        - Shows up as "???"
    - Types supported:
        - `Boost` - "boost power" (sneakers)
        - `Whip` - "Insta-Whip"
        - `Banana` - "Bananas"
        - `Orbinaut`- "Orbinauts"
        - `Jawz` - "Jawz"
        - `SPB` - "Self Propelled Bombs"
    - Other types could be added on request, these were just the easy ones

In addition, the prototype for P_MobjWasRemoved was moved to `p_mobj.h`.
It's EXTREMELY important that we're able to safely check mobj pointers anywhere a mobj_t is possible to observe, without including the full `p_local.h`...
2023-10-17 01:07:03 +01:00