Commit graph

25053 commits

Author SHA1 Message Date
James R
97a66a1856 srb2::music::TuneManager::insert: add optional field, to duplicate an existing tune's configuration 2023-12-04 20:17:17 -08:00
James R
f7eddffdb4 Give GTR_NOPOSITION to GT_SPECIAL 2023-12-04 20:14:00 -08:00
Oni
4588943352 Merge branch 'hardcode-lavender-shrine' into 'master'
Hardcode Lavender Shrine wall spears and classic lanterns; fix linked draw renderhitbox

See merge request KartKrew/Kart!1666
2023-11-30 05:47:50 +00:00
Oni
675e4a17f4 Merge branch 'fix-mold-link' into 'master'
Fix debug symbol stripping if -fuse-ld=mold

See merge request KartKrew/Kart!1668
2023-11-29 22:39:15 +00:00
Oni
fcc773f660 Merge branch 'alt-music-reroll' into 'master'
Restart the level to cycle through alt music (no RNG)

See merge request KartKrew/Kart!1664
2023-11-29 22:38:23 +00:00
Oni
6abb335516 Merge branch 'resolution-performance-warning' into 'master'
Warn users about resolution performance impact

See merge request KartKrew/Kart!1669
2023-11-29 22:38:06 +00:00
AJ Martinez
3eab93bd50 Warn users about resolution performance impact 2023-11-29 15:37:14 -07:00
Sal
06d08617bc Merge branch 'lua-first-freeslot' into 'master'
Lua: add S_FIRSTFREESLOT, MT_FIRSTFREESLOT, SPR_FIRSTFREESLOT

See merge request KartKrew/Kart!1667
2023-11-29 20:07:54 +00:00
James R
b7a118a1b7 Fix debug symbol stripping if -fuse-ld=mold 2023-11-29 11:26:02 -08:00
James R
872d3b96e9 Lua: add S_FIRSTFREESLOT, MT_FIRSTFREESLOT, SPR_FIRSTFREESLOT
Helps Lua exporter
2023-11-28 21:57:19 -08:00
James R
3386b1a37c Hardcode Lavender Shrine Classic spears 2023-11-28 07:18:37 -08:00
James R
4b085e3d7b Add Lavender Shrine Classic states
Spears and lanterns
2023-11-28 07:18:36 -08:00
James R
f43094f795 R_ProjectBoundingBox: do not use linkdraw for renderhitbox
Hitbox was not rendering for linkdraw sprites. Don't know
why, but removing this doesn't seem to introduce any
regressions!
2023-11-28 06:33:47 -08:00
James R
7f95e8f0da srb2::Mobj: add linkdraw methods 2023-11-28 06:32:52 -08:00
SteelT
ca2d64d769 Merge branch 'hardcode-crates' into 'master'
Hardcode SA2 Crates and Ice Cap Blocks (BIG performance: Mega Ice Cap, Frigid Cove)

See merge request KartKrew/Kart!1663
2023-11-28 05:24:08 +00:00
James R
ad5baa2636 Crates: update without changing Z
If crates are inside of each other, Z must remain
unchanged, else it causes a teleport (floorz).
2023-11-27 19:44:07 -08:00
James R
5013144344 P_ResetLevelMusic: cycle through alt music (no RNG) if restarting the level 2023-11-27 06:28:29 -08:00
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