Commit graph

497 commits

Author SHA1 Message Date
AJ Martinez
a982b3bf63 Monitor damage sounds 2024-01-06 02:03:40 -07:00
AJ Martinez
dd71c81b24 Battle: reduce damage hitlag + monitor hitlag 2024-01-06 01:56:27 -07:00
AJ Martinez
0cd3c26b8b Don't show item box preview holograms if they aren't going to spawn 2024-01-06 01:08:26 -07:00
Oni
10f8bb5a3f Merge branch 'battle-release' into 'master'
Battle is (almost) ready for release

Closes #681

See merge request KartKrew/Kart!1788
2024-01-06 06:08:28 +00:00
James R
967cb65124 Battle UFO: extend hitbox down by 1/4 2024-01-05 21:00:42 -08:00
James R
2bdb7d4349 Battle UFO: power-up drops take player momz, pick up immediately 2024-01-05 20:59:18 -08:00
James R
d0259b0896 Super Flicky: speed changes
- Slows down when close to its target
- Slow when stunned (whipped or blocked)
- Stun time increased
  - Whip: 5s -> 10s
  - Block: 1s -> 5s
- Blocking launches the Flicky into the air
2024-01-05 18:34:46 -08:00
Oni
483e45c3bf Merge branch 'o-joyous-mulch-balloons' into 'master'
Hardcode Joypolis trick balloons

See merge request KartKrew/Kart!1787
2024-01-06 00:40:46 +00:00
Eidolon
61db93db0c Hardcode Joypolis trick balloons 2024-01-05 17:56:38 -06:00
James R
8430489673 Replace darktimer/darkness with g_darkness
Modifies netsave.

- Instead of setting a timer, set a start time and end
  time
- Interpolated darkness value itself doesn't need to be
  netsynced
2024-01-05 15:56:24 -08:00
toaster
aa3033575b crate.cpp: Add crate sfx to configuration
- sfx_cratew for wooden SA2 crates
- sfx_cratem for metal SA2 crates
- sfx_s3k82 for Ice Cap blocks (copied from MT_SMK_ICEBLOCK)
2024-01-05 21:33:36 +00:00
toaster
414f0ec70c Merge branch 'fix-tutorial-hologram-items' into 'master'
Fix tutorial items spawning as holograms

See merge request KartKrew/Kart!1784
2024-01-05 12:34:43 +00:00
AJ Martinez
eddeb0d568 Fix tutorial items spawning as holograms 2024-01-04 14:49:32 -07:00
James R
77e69228f7 Metal SA2 Crate crushes players if it falls onto them 2024-01-02 03:48:07 -08:00
AJ Martinez
b6a3174e0b Preview location of Prison item boxes 2024-01-01 17:07:13 -07:00
Oni
b7e76d5b96 Merge branch 'longer-ufo-intangibility' into 'master'
Special UFO: post-damage intangibility tics 30 => 60

Closes #786

See merge request KartKrew/Kart!1711
2023-12-29 20:04:22 +00:00
Oni
66e2610236 Merge branch 'ufo-no-hit' into 'master'
Only let items and player hit special UFO; fix SPB not registering hit on UFO correctly

Closes #774

See merge request KartKrew/Kart!1707
2023-12-24 16:30:05 +00:00
Oni
e2cb791a15 Merge branch 'fix-splat-panel-slope' into 'master'
Obj_SneakerPanelSetup: call P_CheckPosition directly and manually set standingslope

Closes #700

See merge request KartKrew/Kart!1715
2023-12-23 22:41:40 +00:00
Oni
8a250e3237 Merge branch 'fix-crate-instawhip' into 'master'
Fix Metal Crate instawhip hitlag

Closes #800

See merge request KartKrew/Kart!1696
2023-12-23 22:41:02 +00:00
Oni
710e561981 Merge branch 'cmd-const' into 'master'
Enforce const in bot ticcmds

See merge request KartKrew/Kart!1705
2023-12-23 22:40:52 +00:00
James R
166391531d Fix SPB not properly damaging special UFO 2023-12-23 09:57:28 -08:00
James R
d1739feda9 Only let items and player hit special UFO 2023-12-23 09:43:23 -08:00
James R
244cb1759d Obj_SneakerPanelSetup: call P_CheckPosition directly and manually set standingslope
- P_TryMove may fail for STEP UP (ooooh, scary) reasons
2023-12-23 09:36:28 -08:00
James R
b6c74b4d06 Special UFO: post-damage intangibility tics 30 => 60 2023-12-23 01:49:09 -08:00
James R
98c4b34530 Fix dereferncing Broly null pointer 2023-12-23 00:26:40 -08:00
Sally Coolatta
abde576c58 Enforce const in bot ticcmds
There were a few remaining cases of bot ticcmd generation editing player structures directly. Fix all of this and make as much of it pass const player pointers so this physically can't be allowed to happen ever again. Appears to improve bot sync in netgames & demos bot support, but I have not tested extensively.
2023-12-22 23:28:08 -05:00
James R
8a54edf204 Obj_TryCrateDamage: return bool 2023-12-22 19:05:12 -08:00
Oni
f328d303f2 Merge branch 'fix-crate-angle' into 'master'
Crates: fix bottom splat angle

See merge request KartKrew/Kart!1700
2023-12-22 21:22:22 +00:00
Oni
1c3000ad34 Merge branch 'metal-crate-just-bumped' into 'master'
Add justbumped exception to metal SA2 crates

See merge request KartKrew/Kart!1701
2023-12-22 21:14:51 +00:00
toaster
7703c1999f Obj_SPBEradicateCapsules: Only autodestroy if the type is KITEM_SPB 2023-12-22 19:30:22 +00:00
James R
c0b8d4498a Add justbumped exception to metal SA2 crates 2023-12-22 05:40:32 -08:00
James R
a5772c21c3 Crates: fix bottom splat angle 2023-12-22 05:25:45 -08:00
toaster
a4c91f66ec Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into tutorial-pass 2023-12-17 12:09:06 +00:00
Eidolon
2433d37d44 Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
toaster
97f39abef3 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into tutorial-pass 2023-12-09 17:33:47 +00:00
James R
b68947e636 Hardcode Endless Mine faucet / rain
- Note: rain does not use the weather system
2023-12-08 17:42:17 -08:00
James R
69541b9422 Hardcode bustable rocks -- Angel Island + Endless Mine 2023-12-08 17:42:17 -08:00
toaster
c34b5f6034 SPB Capsule improvements
- Destroy all SPB Capsules in the stage when an SPB becomes relevant
    - When an SPB is put in a player's roulette
    - When an SPB is thrown
        - Automatically happens when SPB Capsule is touched
- Don't respawn a popped SPB Capsule while an SPB is out
2023-12-08 22:24:38 +00:00
Oni
49b09a3cf5 Merge branch 'hardcode-lost-colony' into 'master'
Hardcode Lost Colony Fuel Canisters

See merge request KartKrew/Kart!1681
2023-12-08 04:45:59 +00:00
Oni
e77a52e9fa Merge branch 'sealed-vanish' into 'master'
Winning player vanishes when crossing finish line in Sealed Stars

See merge request KartKrew/Kart!1677
2023-12-08 04:36:17 +00:00
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
5cba9d63b3 Hardcode Lost Colony Fuel Canisters 2023-12-07 19:19:02 -08:00
James R
df023246a5 Broly: separate explosion behavior from main class 2023-12-07 19:15:22 -08:00
James R
b5062e8627 Broly: move Broly class into srb2::objects namespace 2023-12-07 19:14:26 -08:00
James R
11555a2a3c Add objects/objects.hpp, common header for object classes 2023-12-07 16:06:39 -08:00
James R
a96a64dff6 Broly: scale hitbox 2023-12-07 15:42:58 -08:00
James R
c5f421831f Broly: customize scale start/end 2023-12-07 15:42:14 -08:00
James R
dc20fca17d Broly: convert to C++ 2023-12-07 14:35:47 -08:00
James R
4931f32bb8 SpawnerList::random_id: avoid division by zero in PRNG function 2023-12-06 04:06:00 -08:00
James R
e51fa390c1 Obj_BeginEmeraldOrbit: set emerald punt_ref to orbit target 2023-12-04 20:26:17 -08:00