Commit graph

2135 commits

Author SHA1 Message Date
NepDisk
08408831bf the safeguardist of safeguards 2025-05-15 11:38:43 -04:00
NepDisk
a1c3c6b9e1 Reimplement ringloss on bump. Also fix some shield issues. 2025-05-13 13:36:11 -04:00
NepDisk
c3bae82317 Update waterrun conditions and make water trails spawn on items 2025-05-01 10:22:09 -04:00
NepDisk
6b46ff7bb5 Disallow ring use and kickstart accel before starttime 2025-04-29 09:18:08 -04:00
NepDisk
f2bb124ab7 Fix TSR in compatmode 2025-04-13 10:50:36 -04:00
NepDisk
dede660e89 Reduce wall transfer tilting and make it only affect the player 2025-04-09 20:03:24 -04:00
NepDisk
a53c2d87da Restore power giving for some effects 2025-04-08 12:18:12 -04:00
NepDisk
a0f5e41a23 Fix party system interaction with freecam 2025-04-02 16:57:35 -04:00
NepDisk
f81c764057 Fix Splitscreen freecam
Based on fec0f13419 0b7a6ed7f5
2025-04-01 18:36:40 -04:00
NepDisk
911afb22a6 Move freecam state to camera_t
Based on fa89576f34 p1 still controls both cameras for now.
2025-04-01 13:57:27 -04:00
NepDisk
f3ecfae3d8 Revert 'Invert freecam turning in encore'
This reverts commit 3bab18cb21.
2025-03-30 11:06:53 -04:00
NepDisk
d6ed7e0373 No longer needed since it applies to freecam already 2025-03-30 11:05:50 -04:00
Alug
8eced6db14 oops smol error 2025-03-30 10:42:50 -04:00
Alug
9587afa23b let postimg stuff also apply to freecam 2025-03-30 10:41:03 -04:00
Alug
7656b519bf fix postimg data types mismatch
also remove the "postimgflag_t" typedef since its useless
and use smoler type for everything we dont need much space lol
2025-03-30 10:38:36 -04:00
Alug
6b1de73341 move postimg flags to camera struct
- also dont let water and heat be applied on top of each other since it does not look good (water postimg takes priority over heat)
- also save a little time in opengl splitscreen since it does not support heat or wöter effects
2025-03-30 10:33:48 -04:00
Eidolon
3bab18cb21 Invert freecam turning in encore
Fixes KartKrew/Kart#652
2025-03-30 09:03:20 -04:00
James R
872b31563d P_DemoCameraMovement: even out vertical angle after toggling
After turning on freecam, the vertical angle is tilted
slightly downward (this is carried over from normal
chasecam).

Interpolate that angle back to normal while moving
forward. This makes it so you don't need to manually
adjust the vertical angle, since it would cause forward
movement to send you into the ground.
2025-03-30 09:02:15 -04:00
James R
c84d9f24fd P_DemoCameraMovement: don't let A button press from menu carry over to rise camera 2025-03-30 09:01:29 -04:00
James R
e0a191f4d5 Replace spectator movement with demo freecam 2025-03-30 08:55:40 -04:00
James R
6531cc065e Fix sound handling in demo freecam
- Object sounds are audible from the location of the
  camera
- Certain HUD sounds should no longer be audible
  - For instance, lap complete sfx
2025-03-30 08:44:56 -04:00
NepDisk
d72f4e8917 Assorted RR party changes 2025-03-29 08:42:27 -04:00
Alug
fe30efacdd refactor postimg stuff so it can be combined with each other better
thx much indev! <3
everything now works with encore!
software now also supports screen effects in splitscreen!
2025-03-28 18:22:01 -04:00
James R
2f36b9931d Remove macro to disable noclip camera 2025-03-27 21:43:42 +01:00
GenericHeroGuy
dc791e494d Merge branch 'blankart-dev' into socmenus 2025-03-26 18:49:30 +01:00
NepDisk
ceed76cc73 Repair parties for blankart 2025-03-24 14:24:23 -04:00
NepDisk
616941841c Fix being able to reverse in the air 2025-03-24 11:16:33 -04:00
James R
af09ba91ec Completely rewrite party management code
Replaces g_splitscreen.c with g_party.cpp. Simplifies
party management functions.

Moves externs out of already bloated doomstat.h and
g_game.h into g_party.h.

Cuts down on globals spam.
2025-03-24 09:43:34 -04:00
NepDisk
f40771dd97 bot and respawn improvements
Bot respawn incrementer is based on RR's general antigrief incrementer with edits and additions
2025-03-23 14:14:46 -04:00
GenericHeroGuy
a609c7b5ce Replace prevmenu with menustack
menustack[0] replaces both menuactive and activeMenuId
Hopefully this is the last major change to the codebase...
2025-03-23 01:47:19 +01:00
NepDisk
76ec93f957 Allow Mobjs to waterrun
Waterrunning has been moved over to flag2 MF2_WATERRUN
Applying the flag allows to stand/move on water.
2025-03-17 14:16:44 -04:00
NepDisk
89c5ece49b Merge branch 'blankart-dev' into newinput 2025-03-13 01:50:07 -04:00
NepDisk
52b532f265 Make sloperoll+pitch toggleable and make cameratilt not rely on sloperoll toggle
The toggle is handled in renderer for both gl and software!
2025-03-11 22:48:02 -04:00
GenericHeroGuy
e61c43a852 Merge branch 'blankart-dev' into newinput 2025-03-10 23:26:30 +01:00
GenericHeroGuy
4cf9c7f6b6 Make vertical aiming work again 2025-03-10 23:08:47 +01:00
NepDisk
431d504e8d Update ACS code and add playerfinishscript 2025-03-10 12:37:20 -04:00
NepDisk
033b65a70b Move Waypoint check code to P_DeathThink 2025-03-09 09:30:21 -04:00
NepDisk
8df4f4966b Fix goof in turn check 2025-03-07 20:32:14 -05:00
NepDisk
b4b9a250d4 Merge branch 'blankart-dev' into newinput 2025-03-07 12:56:51 -05:00
NepDisk
bdbfeaf1ac More uses K_GetKartButtons 2025-03-07 12:12:52 -05:00
NepDisk
ec6a3d2716 Small turn code refactor 2025-03-07 11:50:10 -05:00
GenericHeroGuy
26ca5be4e0 Fix replay freecam by reusing G_BuildTiccmd 2025-03-07 01:39:10 +01:00
GenericHeroGuy
f419ccee57 New input handling (port of cd8862f0)
More or less a port with gamecontrols left untouched.

Some notable differences:
* ev_joystick now has a separate data1 for each axis, rather than having you
  check which of data2/3 is INT32_MAX and which one isn't
  (pissed me off when updating menu code...)
* Gutted the 1.6 upgrade code, since we're not upgrading from anything :P
* G_GetControlForKey, a helper for menu code
* Turn smoothing code left unused as a reminder to fix it
* Various small fixes so this commit is playable and doesn't segfault

Menu changes:
* Max 4 binds, joystick axes are now bindable like any other button
* The gamepad options submenu has been replaced by its two remaining options
  after the removal of axis cvars (gamepad select and deadzone)

See cd8862f0's message for more details
2025-03-07 00:05:35 +01:00
NepDisk
9458cbbaa2 Accurate Racestart 2025-03-02 08:18:48 -05:00
NepDisk
b3851134c1 fix logic issue 2025-03-01 10:20:43 -05:00
NepDisk
ef11c55b41 Merge and Update Flameshield overhaul concept 2025-02-28 00:54:24 -05:00
James R
0882846d29 Underwater: do not spawn bubbles around player using Bubble Shield 2025-02-27 12:38:27 -05:00
NepDisk
acfb69f818 Remove unsued polyobject define 2025-02-26 16:09:30 -05:00
GenericHeroGuy
3f569913e3 Fix P_ResetPlayer resetting too much 2025-02-25 20:19:07 +01:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00