Commit graph

18981 commits

Author SHA1 Message Date
NepDisk
89c5ece49b Merge branch 'blankart-dev' into newinput 2025-03-13 01:50:07 -04:00
NepDisk
cdd3516f0b Remove CLIENTBACKUPTICS
Removes the second part added by 6e7adedaa0
This is to be closer to kart and to remove some freezes I sometimes feel
2025-03-13 01:48:02 -04:00
NepDisk
7ce17d2c6e Various random changes
Menus, rotation and more!
2025-03-13 01:07:13 -04:00
NepDisk
6c9b038438 Add input display toggle 2025-03-13 00:08:07 -04:00
GenericHeroGuy
15e12d2c96 Fix default controls and loading controls 2025-03-13 02:44:17 +01:00
GenericHeroGuy
b3ce5c8a85 Prettier default controls table
See if you can spot the new default controls I added :^)
(i needed an excuse to put a KEY_AXIS1 in there in case these get updated)
2025-03-13 00:44:03 +01:00
GenericHeroGuy
b5be67d8d3 Always convert Item presses to backspace in M_Responder 2025-03-13 00:17:54 +01:00
GenericHeroGuy
0859c8a710 Use defaults behavior instead of hardcoded keys for most controls
Same behavior if you leave the controls at their defaults or unbind them,
but now if you bind them to some other key then the default keys they use
are freed up (a bit jank tho for screenshot keys...)
2025-03-13 00:11:28 +01:00
NepDisk
175e7e3cab Revert 'Use Author like RR for now'
This reverts commit 1d4da50b00.
2025-03-12 15:28:37 -04:00
NepDisk
dc68da6da3 Whoops forgot to add sloperoll and slopepitch to precipmobj_t 2025-03-12 15:08:38 -04:00
NepDisk
1d4da50b00 Use Author like RR for now 2025-03-12 14:48:28 -04:00
NepDisk
f1c27ff963 Use musicdef from main.pk3 instead. 2025-03-12 14:45:15 -04:00
NepDisk
1f6e8f25cd Music Test port from Saturn pt1
Mostly ported over but its kind of broken for whatever reason...
2025-03-12 12:36:07 -04:00
NepDisk
c13e4b1d61 Modify M_ChangeCvar conditions 2025-03-11 23:23:50 -04:00
NepDisk
8f0a8860c6 Default turnsmoothing to Off
Someone is bound to complain at first if these is on by default
2025-03-11 22:58:55 -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
NepDisk
a55393bf4c Add camera tilting to menu 2025-03-11 22:01:47 -04:00
NepDisk
33c2d09557 Remove remaining uses of line->special in processspecial 2025-03-11 19:49:06 -04:00
GenericHeroGuy
20d11760bb Whoops, turn smoothing doesn't apply to sidemove 2025-03-11 23:46:55 +01:00
GenericHeroGuy
bfcee5d6c2 Remove menu defaults/backup code from G_PlayerInputAnalog
Nothing except the extra event loop in CL_ServerConnectionTicker uses this,
because we still use old menus with events rather than inputs,
and that has its own system for default controls.

The third argument is now 'digital' to get rid of that pesky global boolean
2025-03-11 22:21:45 +01:00
GenericHeroGuy
f547af9992 Simplify gamepad axis code
Yes I intentionally spelled it JOYAXISES to not conflict with the old define
2025-03-11 20:38:37 +01:00
Eidolon
4d65f09eb7 Port Ediolon's SDL GameController work
Basically instantly solved all of the issues that made this branch completely unusable
2025-03-11 20:01:25 +01:00
NepDisk
26da74c4aa Karma doesn't combo. 2025-03-11 11:42:06 -04:00
NepDisk
df6be21c24 Revert SPB explosion bypass like to be like v1 2025-03-11 11:38:50 -04:00
Sally Coolatta
e1ffc206e7 Finish some unused SDL hat input support to use events rather than polling all of the time 2025-03-11 15:17:51 +01:00
GenericHeroGuy
e669ca6edb Restore turn smoothing in the most horrific way possible 2025-03-11 01:44:25 +01:00
NepDisk
8e9370c11f Item odd changes
Drop target was dropped a point.
FlameShield was made slighty more common since its less strong.
The change for superings in useodds 0 has been dropped a point.
2025-03-10 19:37:05 -04:00
NepDisk
077b34b37f Make legacy waypoint helper and expose K_RingsActive and K_UsingLegacyCheckpoints to lua 2025-03-10 19:14:35 -04:00
GenericHeroGuy
fb230a27d3 Restore mouse aiming 2025-03-11 00:04:34 +01:00
GenericHeroGuy
e61c43a852 Merge branch 'blankart-dev' into newinput 2025-03-10 23:26:30 +01:00
GenericHeroGuy
c719ad49aa MISSING BRACES AROUND INITIALIZER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
amazing warning spam
2025-03-10 23:19:36 +01:00
GenericHeroGuy
4cf9c7f6b6 Make vertical aiming work again 2025-03-10 23:08:47 +01:00
NepDisk
c6377f884f Update some ACS documentation 2025-03-10 17:19:45 -04:00
NepDisk
8884f7d3c9 Add WumboSpasm to the credits 2025-03-10 15:22:52 -04:00
NepDisk
95750e50e4 Implement MultiItems into capsules/dropped items as well 2025-03-10 15:18:58 -04:00
NepDisk
9d2c895b2a Fix offset for options main status 2025-03-10 14:20:23 -04:00
NepDisk
178ba3b4a6 Fix copy paste mistake 2025-03-10 14:16:22 -04:00
NepDisk
7ad73c040d Add Camera submenu from Saturn 2025-03-10 14:14:07 -04:00
GenericHeroGuy
167414af2f Control setup menu changes
* Gamepad select option now displays the name of your gamepad on the right
* Switch to thin font when bind names are too long
* Reduced margins and shortened some control names to fit longer binds
* Fixed deadzone cvar always being player 1's
* Fixed missing arrows on deadzone cvar (this NEEDS to be a macro...)
* Only accept inputs from the current player's gamepad, shouldn't be a
  problem since your chosen gamepad is displayed now
* Show all 8 instead of 7 gamepads in gamepad select
2025-03-10 18:14:51 +01:00
NepDisk
e8adbfb8b7 Fix typo in namespace code 2025-03-10 12:57:45 -04:00
NepDisk
1935895f88 Remove Unused ACS code and rename POSITION script type 2025-03-10 12:44:21 -04:00
NepDisk
431d504e8d Update ACS code and add playerfinishscript 2025-03-10 12:37:20 -04:00
NepDisk
a7167bfbcd Demo code updating
Still has stuff to resolve but it kinda works now. Bots should turn correctly now but replays that have bots added at the race start don't play for whatever reason. Ghosts have been fixed and no longer crash the game after they end.
2025-03-10 10:40:19 -04:00
GenericHeroGuy
ef1489aa04 Cleanup, fix menu controls and keyboard 2025-03-10 15:06:52 +01:00
toaster
144e967ee5 Rework the entire G_PlayerInputAnalog system.
* Previous control checking flow:
    * Current controller/keyboard (userbound controls).
    * If on a menu:
        * Current controller/keyboard (default controls).
        * All controllers not in use by a player (default controls).
* New control checking flow:
    * Current controller/keyboard (userbound controls).
    * If player 0 and just checked a controller, check keyboard (userbound controls).
    * If on a menu:
        * Check all controllers not in use by a player (userbound controls).
        * If keys are inaccessible/unbound and keybind is necessary to navigate menus, repeat eveyrhting with default controls.
* Instead of duplicated code, control the flow in a finer fashion.
* Now able to detect if gamepad inputs are possible to recieve (via checking deviceID), instead of assuming they are.
* If a keybind is set but inaccessible by the above metric, make it flash on the Profile Controls screen.
* Fix out-of-order key mappings for a given bind being invisible on the Profile Controls menu.
2025-03-10 11:04:00 +01:00
NepDisk
bda7d26a0f Port basic lap anticheat for new waypoints from RR 2025-03-09 20:03:10 -04:00
NepDisk
58e243a20c Don't Do levelstart or Map Music in Titlemap 2025-03-09 11:22:00 -04:00
NepDisk
8ed52a3a9d G_Ticker fixes from RR
ab0094b8d0 95216563a6
2025-03-09 11:09:01 -04:00
NepDisk
033b65a70b Move Waypoint check code to P_DeathThink 2025-03-09 09:30:21 -04:00
NepDisk
da01a91852 Break from loop when valid target is found 2025-03-08 21:09:11 -05:00