Commit graph

25749 commits

Author SHA1 Message Date
James R
98c4b34530 Fix dereferncing Broly null pointer 2023-12-23 00:26:40 -08:00
James R.
c8827c18a2 Merge branch 'no-remap-terrain' into 'master'
TERRAIN 'remap' property, for ENCOREMAP/TWEAKMAP

Closes #756

See merge request KartKrew/Kart!1698
2023-12-23 06:10:26 +00:00
SteelT
578d038b1a cmake: Set GIT_EXECUTABLE before add_subdirectory(src)
This fixes the build info not being set for my own builds.
2023-12-23 00:26:42 -05: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
James R
5d91834c60 K_InstaWhipCollide: check P_DamageMobj succeeds before applying hitlag to attacker 2023-12-22 19:04:58 -08:00
James R
dae4454055 Use untranslated texture for checking R_TextureCanRemap
- Handles animated textures correctly
2023-12-22 19:02:07 -08:00
James R
9bcdc9094b K_GetTerrainForTextureName: use case insensitive search 2023-12-22 19:02:07 -08:00
James R
a589b4961e R_NoEncore: remove hardcoded condition for trick panels, sneaker panels, speed pads 2023-12-22 19:02:07 -08:00
James R
73e032573d TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP
- Software* + OpenGL support
- *Not supported: R_DrawColumnShadowed_8
  - This has something to do with walls and FOF lights.
    However, I don't see an easy code solution and I don't
    know how to even test this.
2023-12-22 19:02:06 -08:00
James R
03deb45c67 Cache TERRAIN on texture_t
- K_GetTerrainForTextureNum no longer performs a string
  lookup
2023-12-22 19:02:06 -08:00
Sally Coolatta
1df1e841d2 Continues reduce bot level by 2 2023-12-22 20:54:11 -05:00
Oni
2d4cc49101 Merge branch 'goner-accelerate' into 'master'
Press down on Goner Setup to complete existing text line early

See merge request KartKrew/Kart!1703
2023-12-22 21:51:01 +00: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
62a4c59aa0 Merge branch 'fix-splat-remap' into 'master'
R_RasterizeFloorSplat: fix encore remap

See merge request KartKrew/Kart!1699
2023-12-22 21:22:06 +00:00
toaster
3430ba9697 Press down on Goner Setup to complete existing text line early 2023-12-22 21:17:27 +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
Oni
955f4c39c0 Merge branch 'spb-capsules-emergency' into 'master'
Obj_SPBEradicateCapsules: Only autodestroy if the type is KITEM_SPB

See merge request KartKrew/Kart!1702
2023-12-22 20:43:04 +00:00
Oni
27ff4ea4cb Merge branch 'bots-auughhgh' into 'master'
Bots (scream)

Closes #752, #780, #741, and #753

See merge request KartKrew/Kart!1693
2023-12-22 20:14:38 +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
0041df0e08 R_RasterizeFloorSplat: fix encore remap 2023-12-22 05:28:28 -08:00
James R
a5772c21c3 Crates: fix bottom splat angle 2023-12-22 05:25:45 -08:00
James R.
0d2844bc5a Merge branch 'remove-surround' into 'master'
Remove surround sound cvar

See merge request KartKrew/Kart!1694
2023-12-22 06:16:23 +00:00
James R.
701680fcdc Merge branch 'spring-semibright' into 'master'
Apply semibright to all spring types (excluding pogo)

See merge request KartKrew/Kart!1695
2023-12-22 06:13:55 +00:00
James R
27dbc0905f CMakePresets.json: define CMAKE_COLOR_DIAGNOSTICS for Ninja presets 2023-12-21 21:53:00 -08:00
Sally Coolatta
266c745bda Set trySpindash to false when using bot controller 2023-12-21 22:23:57 -05:00
wolfs
0e54024347 Apply FF_SEMIBRIGHT to all spring types (excluding pogo) 2023-12-19 20:21:14 -06:00
SteelT
36f6c89ce1 Remove code that is behind SURROUND define 2023-12-19 13:36:49 -05:00
SteelT
a9df0fc269 Remove surround sound cvar
There's really no point in having it be registered at all if it does nothing
2023-12-19 12:09:32 -05:00
Sally Coolatta
22a2323148 Air drag for bots on dash pads is not stronger 2023-12-19 11:28:10 -05:00
Sally Coolatta
bfd84b1099 Fix logic bug with bot shortcut waypoints 2023-12-19 11:27:12 -05:00
Sally Coolatta
2689012249 Ignore z height for connected waypoints on jumps
Resolves #780
2023-12-19 11:24:21 -05:00
Sally Coolatta
1911a45e3f Simplify forced bot direction behavior
Resolves #741
2023-12-19 09:14:04 -05:00
Sally Coolatta
54e62bbd8f Leave bot friction alone on dash pads
Should fix #752, otherwise probably isn't harmful though.
2023-12-19 08:59:01 -05:00
toaster
fd7de3c604 Merge branch 'tutorial-pass' into 'master'
Goner Setup + Tutorial first pass

Closes #697

See merge request KartKrew/Kart!1692
2023-12-18 23:05:51 +00:00
toaster
2c815258c0 P_InitPlayers: In GT_TUTORIAL, force the presence of Mystic Melody if it's unlocked 2023-12-18 20:35:46 +00:00
toaster
c93e02af4a Additional Goner BG polish
- Helper functions for eased X/Y
- Don't jump Metal's camera around when doing things rapidly
- Don't have ctrl alt del open mouths when not on the main Goner menu itself
2023-12-18 20:14:23 +00:00
toaster
f955c639e8 Profile setup music changes
- Plays unconditionally, even while mid-game
- ...except on the Goner Setup, per direct request
2023-12-18 20:03:45 +00:00
Sally Coolatta
47fdab3bdd 0 out complexity on no-respawn waypoints 2023-12-18 14:41:49 -05:00
Sally Coolatta
1ff3706e64 Revert bot complexity modifier ceiling 2023-12-18 14:38:11 -05:00
toaster
322e4d3447 M_DrawHorizontalMenu: Final entry flashes when not selected 2023-12-18 17:52:06 +00:00
toaster
fa6beeaaea GT_TUTORIAL: Allow MT_RANDOMITEM to respawn 2023-12-18 17:27:47 +00:00
toaster
c6edfa0de5 Goner Setup Polish
- Imply passage of time when returning from Tutorial to Outro by resetting all the background variables
- Add an additive layer to the Options cogs, so they show up over an extremely dark background
- Metal Sonic will not focus on Tails/Eggman until video is restored
- Don't draw the Miles Electric transparent unless it's completely in its upright position
2023-12-18 17:01:29 +00:00
toaster
b308a81e9d Clean up interactions between Goner Setup and restoreMenu behaviour 2023-12-18 16:30:12 +00:00
toaster
83025f10e9 M_DrawMenuTyping: Forgot to commit y update 2023-12-18 14:33:35 +00:00
toaster
55e3abf58d Teach players how to interact with Goner Setup just before input is first required
- Checks for whether a Gamepad is connected
    - If yes, says you can use "your Gamepad"
    - If no, says you can use "Enter, ESC, and the Arrow Keys"
- Show ENTER and ESC on any Message prompt (instead of A/B/X) if no Gamepad is connected
    - Add M_DrawMediocreKeyboardKey, a genericisation of the previous entry in the series' Time Attack HUD
2023-12-18 14:30:58 +00:00
toaster
c63ebf2129 M_DrawMenuTyping: Update informational text, since you can no longer automatically switch between Virtual Keyboard and standard typing while the dialog is open. 2023-12-18 14:25:10 +00:00
toaster
73ff45458e Quit prompt updates for when game hasn't truly started
- More clinical wording
- Guarantee never auto-show when Playing()
2023-12-18 14:10:55 +00:00
toaster
ca6ebd89d8 Minor dialogue/Tails posing updates
- Assign poses for Outro and GDQ Passwords
- Flicker camera when showing visuals after using a GDQ Password
2023-12-18 14:09:11 +00:00