Commit graph

25075 commits

Author SHA1 Message Date
James R.
eca0310828 Merge branch 'fix-super-flicky-targeting' into 'master'
Do not let Super Flicky target spectators

Closes #785

See merge request KartKrew/Kart!1672
2023-12-08 03:28:06 +00:00
James R.
3c9f4fe3b5 Merge branch 'fix-ufo-desync' into 'master'
Fix Battle UFO desync if midgame joins + UFO bobbing speed fix

Closes #783

See merge request KartKrew/Kart!1671
2023-12-08 03:27:42 +00:00
Eidolon
4627e9b17b Merge branch 'fix-zero-lump-sfx' into 'master'
Fix zero lump sfx

Closes #789

See merge request KartKrew/Kart!1678
2023-12-07 23:58:28 +00:00
Oni
940ce281ae Merge branch 'fix-hazard-scale-comparisons' into 'master'
Don't do scale-to-scale collision checks vs static hazards (resolves #491, #781)

Closes #781 and #491

See merge request KartKrew/Kart!1665
2023-12-07 05:22:12 +00:00
Oni
6639db90f3 Merge branch 'trick-prisons' into 'master'
Trick prisons

Closes #784

See merge request KartKrew/Kart!1673
2023-12-07 05:21:57 +00:00
James R
4931f32bb8 SpawnerList::random_id: avoid division by zero in PRNG function 2023-12-06 04:06:00 -08:00
Eidolon
c5db728606 Immediately load 0-length sfx lumps as nullopt 2023-12-05 19:19:01 -06:00
Eidolon
98ba6c0590 Fix behavior of SpanStream/VecStream seek-from-end 2023-12-05 19:18:42 -06:00
James R
4746f877c3 Tricking players tumble other players, in all gametypes 2023-12-04 20:57:11 -08:00
James R
7d998d0d91 Let player punt if tricking 2023-12-03 16:28:56 -08:00
James R
38d9875d4c Let player kill shootable objects if player can punt 2023-12-03 16:28:56 -08:00
James R
6a94d8cfa2 Do not punt Prison 2023-12-03 16:10:19 -08:00
James R
df9b4fbe12 Do not let Super Flicky target spectators 2023-12-03 15:35:41 -08:00
James R
5329afd23c srb2::MobjListView: call P_MobjWasRemoved directly
Avoid calling an overridden method
2023-12-03 11:47:05 -08:00
James R
02bacc9a6f Battle UFOs, Checkpoints: use srb2::MobjList instead of standard containers
- Net synced; new mechanism in p_link.cpp to automatically
  manage mobj pointers at the global scope
2023-12-03 10:44:11 -08:00
James R
43d090f699 p_saveg.c: consolidate P_RelinkPointers copy-pasted code 2023-12-03 10:44:11 -08:00
James R
39486a56d6 p_saveg.c: initialize "special" fields of mobj, if spawned from mapthing, in default state 2023-12-03 10:44:11 -08:00
James R
ca1bbfd53f objects/battle-ufo.cpp: refactor to make some use of srb2::Mobj 2023-12-03 10:44:11 -08:00
James R
ada9263374 Obj_BattleUFOThink: fix exponential scaling 2023-12-03 10:44:11 -08:00
James R
b5809b6ed2 Add srb2::MobjList, similar to std::forward_list 2023-12-03 10:44:11 -08:00
James R
aba94d205b srb2::MobjListView: support copy assignment 2023-12-03 09:53:35 -08:00
James R
a211ae73fe srb2::MobjListView: fix arrow operator 2023-12-03 09:53:08 -08:00
James R
df5d1e5fb5 srb2::MobjListView: relax constraint so basic mobj_t is allowed 2023-12-03 09:51:26 -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
AJ Martinez
5575a049b1 Don't do scale-to-scale collision checks vs static hazards 2023-11-27 12:41:45 -07: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