James R
5d0c062785
Add g_reloadingMap, true if the map is restarted/retried
2023-11-27 06:28:29 -08:00
James R
d3f9c6e826
Remove mapmusflags
2023-11-27 05:38:20 -08:00
James R.
a578f9b37c
Merge branch 'disable-cusval-print' into 'master'
...
Disable console print on cusval change
See merge request KartKrew/Kart!1662
2023-11-27 13:30:27 +00:00
James R
c5968ad3ad
Hardcode Ice Cap Blocks
2023-11-27 05:07:30 -08:00
James R
aec21cd114
Hardcode SA2 Crates
2023-11-27 05:07:30 -08:00
James R
b773fb9b33
P_DamageMobj: reformat if-statement into switch-case
2023-11-27 05:07:30 -08:00
James R
548618a238
Add srb2::MobjListView: container view, which can iterate a mobj-pointer linked list by calling a lambda
2023-11-27 05:07:30 -08:00
James R
b4be1d5e9c
srb2::Mobj: add aabb method, returns standard bounding box
2023-11-27 04:55:44 -08:00
James R
e88b3c2bdd
srb2::Mobj: add sprite scaling/offsetting methods
2023-11-27 04:55:44 -08:00
James R
7656edc91a
srb2::Mobj: add bouncing methods
2023-11-27 04:55:44 -08:00
James R
5cbb11cbfc
srb2::Mobj: add hitlag methods
2023-11-27 04:55:44 -08:00
James R
5cd6bf81f7
srb2::Mobj: fix scaling functions, use P_SetScale
2023-11-27 04:55:44 -08:00
James R
e9a63bf4f0
srb2::Mobj: type alias fixed, vec2; always use fixed instead of fixed_t
2023-11-27 04:55:44 -08:00
James R
aa00359ab2
srb2::math::Vec2: constexpr constructors
2023-11-27 04:27:19 -08:00
AJ Martinez
4372d0fda8
Disable constole print on cusval change
...
We use this for a bunch of stuff now, it's just clutter—even in DEVELOP
2023-11-27 02:33:52 -07:00
Oni
29c92b8c31
Merge branch 'limit-prison-bonus-time' into 'master'
...
Scale Prison bonus time to remaining time and difficulty
See merge request KartKrew/Kart!1661
2023-11-27 06:20:04 +00:00
AJ Martinez
bcf59845e3
Prison bonus time: fix a shitton of bad math
2023-11-26 20:27:04 -07:00
AJ Martinez
119f309cb8
Scale Prison bonus time to remaining time and difficulty
2023-11-26 15:34:11 -07:00
Oni
6666f6d024
Merge branch 'hardcode-ivo-balls' into 'master'
...
Hardcode Mach Spheres (BIG performance boost for Phantom Cup!)
See merge request KartKrew/Kart!1660
2023-11-26 19:55:05 +00:00
Oni
d90f0b5eed
Merge branch 'hardcode-frozen-production' into 'master'
...
Hardcode Frozen Production Frost Throwers
See merge request KartKrew/Kart!1659
2023-11-26 19:30:31 +00:00
James R
401321e310
Hardcode Ivo Balls
2023-11-25 05:35:06 -08:00
James R
b36695db8d
Add Ivo Ball states
2023-11-25 05:10:51 -08:00
James R
1cadcf8804
Add srb2::Mobj::voice_reduced
2023-11-25 05:10:51 -08:00
James R
764a692a5e
P_IsLocalPlayer, P_IsMachineLocalPlayer, P_IsDisplayPlayer: let player pointer be const
2023-11-25 04:51:13 -08:00
James R
455b402731
SidewaysFreezeThruster::init: fix infinite loop under MinGW
2023-11-23 00:47:26 -08:00
James R
9ff174dd06
Hardcode Frozen Production Frost Throwers (ceiling and horizontal versions)
2023-11-22 23:53:14 -08:00
James R
e6d375d127
Add Frozen Production Frost Thrower states
...
Change from Lua: Ice Dust hitbox is twice as wide
2023-11-22 23:53:14 -08:00
James R
ea697d2048
Physics changes for players in ice cube state
...
- Cancel offroad
- Inputs do not work
- Cannot accelerate
- Drift/Brake does not work (side-effect of P_PlayerInPain)
- Sprite shakes if icecube.shaketimer
- Sprite is colorized Cyan
- Max friction (slippery)
- Player is considered to be in a pain state
- Sprite slowly turns clockwise
- Sprite tilting is disabled
2023-11-22 19:04:30 -08:00
James R
e89c34ac74
player_t: add icecubevars_t
2023-11-22 19:04:30 -08:00
James R
063d7946a3
mobj.hpp: add srb2::Mobj class, abstraction around mobj_t
...
API is still a work in progress and is not yet
comprehensive.
2023-11-22 19:04:30 -08:00
Oni
f49206b1cf
Merge branch 'ringbox-offset-fix' into 'master'
...
Fix visuals on roulette latency compensation
See merge request KartKrew/Kart!1657
2023-11-23 02:02:00 +00:00
Sally Coolatta
6216b077f0
Make ring box use khud_rouletteoffset
2023-11-22 20:49:52 -05:00
Oni
392d4a4d5f
Merge branch 'greyscale-vote' into 'master'
...
Dimmed votes are greyscale
See merge request KartKrew/Kart!1658
2023-11-23 01:31:37 +00:00
Sally Coolatta
5207af40b1
Fix odd low player count servers
...
Has been killing me ever since it got into master. When vote count changes, one of the votes won't be sliding back and forth across the entire screen.
2023-11-22 20:14:01 -05:00
Sally Coolatta
770293e04c
Dimmed votes are greyscale
...
Makes the visuals on the voting screen significantly more clear
2023-11-22 19:44:39 -05:00
Sally Coolatta
0b22e8eb00
Fix visuals on roulette latency compensation
...
- Latency is based on D0 instead of D2.
- Confirm offset is now adjusted for latency, so it should feel more correct when stopping it.
- Slot machine offset is properly set up to use the slot machine offset instead of the item roulette offset.
2023-11-22 18:50:13 -05:00
Oni
687769623f
Merge branch 'buff-faraway-ringboost' into 'master'
...
Buff faraway ringbox
See merge request KartKrew/Kart!1655
2023-11-22 23:41:09 +00:00
AJ Martinez
98b77b6d37
Reduce ringbox awards in Thunderdome
2023-11-22 16:18:06 -07:00
AJ Martinez
074f1e0061
WIP: Nerf Ringbox handling by a LOT
2023-11-22 15:50:03 -07:00
AJ Martinez
07dd3f5f76
WIP: Ring Box handling boost
2023-11-22 15:31:51 -07:00
AJ Martinez
8a3a48695d
WIP: More Ring Box adjustments
2023-11-22 14:57:23 -07:00
toaster
33730d27da
Merge branch 'woops-cuprow' into 'master'
...
Woops cuprow
See merge request KartKrew/Kart!1656
2023-11-22 15:53:35 +00:00
Sal
96f3ed2055
Merge branch 'acs-import-fix' into 'master'
...
Implement getModuleName for ACS environment
See merge request KartKrew/Kart!1644
2023-11-22 14:37:07 +00:00
Sal
84543da38a
Implement getModuleName for ACS environment
2023-11-22 14:37:07 +00:00
Sal
df632fa0fc
Merge branch 'bot-ringboost-leash' into 'master'
...
Quick-fix runaway bot underflow
See merge request KartKrew/Kart!1654
2023-11-22 14:36:48 +00:00
toaster
98b22c0c6e
Self-review now that I'm not dead tired
...
- Fixes for UC_ALLCUPRECORDS
- Actually use the capped difficulty variable
- For the "every Cup" case, don't permit modded Cups to affect the result
- M_CheckCupEmeralds (referenced for the above)
- Also do not permit modded Cups to affect the result
2023-11-22 11:40:10 +00:00
AJ Martinez
8f56fafe6b
Don't double decrement long ringboosts
2023-11-22 02:15:59 -07:00
Oni
25d10e382a
Merge branch 'locked-cuprow' into 'master'
...
Second row of cups is invisible if none of them are unlocked
See merge request KartKrew/Kart!1652
2023-11-22 07:30:36 +00:00
Oni
2124280373
Merge branch 'gust-planet-hardcode-shitty-edition' into 'master'
...
Hardcode Gust Planet seasaws and trees
See merge request KartKrew/Kart!1653
2023-11-22 07:29:51 +00:00
AJ Martinez
a2d9b1361a
Never adjust bot ringboost gain below player ringboost gain (fixes runaway bot underflow)
2023-11-21 22:08:25 -07:00