Commit graph

252 commits

Author SHA1 Message Date
SinnamonLat
60449b8a26 Fix crash when editing profile character with existing follower 2022-05-20 16:47:03 +02:00
SinnamonLat
926b210108 Cleanup some leftovers 2022-05-20 01:30:16 +02:00
SinnamonLat
d0db7e4381 rethink input mapping menu (again (again)) 2022-05-20 01:15:29 +02:00
SinnamonLat
0ee02ce1e1 slight oversights 2022-05-18 14:31:05 +02:00
SinnamonLat
d5d34f9b99 profiles may now be deleted from data options 2022-05-18 14:20:19 +02:00
SinnamonLat
51d21ec388 Select profile after title screen 2022-05-18 02:24:29 +02:00
SinnamonLat
62b6b7ea8f Update controls in real time in control setup, allow testing controller mappings 2022-04-13 03:03:58 +02:00
SinnamonLat
66c62b38da Various fixes in charsel / charswitch menus 2022-04-13 00:53:27 +02:00
SinnamonLat
4f919f883d Bandaid fix for trigger mapping, not super consistent but it helps most of the time... 2022-04-12 16:38:40 +02:00
SinnamonLat
1d4ee40758 Remove unecessary button associations in menu. X is now Back 2022-04-12 11:46:50 +02:00
SinnamonLat
7132a1be10 Profiles: Followers support 2022-04-12 00:58:57 +02:00
SinnamonLat
6db54f77d8 Force menus to use default controls for now. Update device in realtime in control setup menu 2022-04-11 14:50:51 +02:00
toaster
55b0d5d07a Fix axes in M_MapProfileControl.
* Now properly converts ev->data1 to a control, instead of leaving it as an unfiltered axis number.
* Now checks it exceeds a deadzone (TODO: always p1's deadzone for now)

Still a lot of bugs in input support, but we're getting there.
2022-03-30 23:42:45 +01:00
toaster
4cc587b5b2 * Make the scrolling text on the menu interpolate.
* Replace the shitty vidwait option with Sal's shiny new fpscap option.
* Update the item toggles menu for all the new items (and re-enable shitsfree for the new empty spots).
2022-03-29 21:08:36 +01:00
toaster
73dabaeab6 Merge branch 'master' into new-menus
# Conflicts:
#	src/d_clisrv.c
#	src/deh_soc.c
#	src/lua_baselib.c
#	src/m_cheat.c
#	src/m_menu.h
#	src/y_inter.c
2022-03-29 17:14:38 +01:00
SinnamonLat
b3410f7eef Fix manual menu 2022-02-27 00:29:29 +01:00
SinnamonLat
1c0a849b6f Fix addons & replay hut menus 2022-02-27 00:24:19 +01:00
SinnamonLat
2696effe7a Make message boxes separate overlays 2022-02-27 00:15:31 +01:00
SinnamonLat
f5bd0dc3e4 Make typing submenu into a struct 2022-02-26 17:15:45 +01:00
SinnamonLat
ed5005cb05 Add kickstartaccel on profile controls 2022-02-26 15:09:39 +01:00
SinnamonLat
82bab536c7 Don't allow multiple profiles of the same name to exist 2022-02-26 13:37:23 +01:00
SinnamonLat
425160ceaf Don't allow editing guest profile 2022-02-26 11:05:19 +01:00
SinnamonLat
ca11e07f95 Fix the profile closing if you back out from the profile charsel 2022-02-26 10:56:16 +01:00
SinnamonLat
c750c17f37 fix softlock on profile character select 2022-02-26 10:52:50 +01:00
SinnamonLat
964d503988 Prevent profile player name from writing out of bounds 2022-02-26 10:45:27 +01:00
SinnamonLat
87dfa790cb Fix stupid potential softlock on control setup with device detection 2022-02-20 09:50:18 +01:00
SinnamonLat
94c18f535a Map 4 keys per button. Detect device when mapping 2022-02-20 09:40:36 +01:00
SinnamonLat
168f393a62 Remove softlock check as it's unecessary after all 2022-02-20 09:40:35 +01:00
James R
3504f7ebd3 Map buffered inputs to menucmd
This lets buffered tapping not count as one held input.
2022-02-19 16:30:23 -08:00
James R
68ed9982b6 Fix virtual keyboard left wrap 2022-02-19 16:12:12 -08:00
James R
6eaf350387 Process keyboard text inputs at responder 2022-02-19 16:08:35 -08:00
SinnamonLat
7612d7cdf9 CharSel: Make sure the clone we're hovering over actually exists 2022-02-19 22:15:56 +01:00
SinnamonLat
2789d1d90e Allow unbinding controls with C, prevent softlocks by having core keys unbound. (Also fix a silly bug introduced by a previous commit) 2022-02-19 22:10:37 +01:00
SinnamonLat
b9a494551e Don't display empty profiles on player setup 2022-02-19 21:49:08 +01:00
SinnamonLat
8920ec8e6a Disable profile setup outside of GS_MENU 2022-02-19 21:45:42 +01:00
SinnamonLat
33639d7a4c Change button mappings ingame. Put delay after remapping a button to avoid very silly things 2022-02-19 19:25:51 +01:00
SinnamonLat
2b74b7188f profiles: they work(?) now 2022-02-19 18:57:17 +01:00
SinnamonLat
3aadf1bff0 Allow creating new profiles 2022-02-19 16:08:50 +01:00
SinnamonLat
debc93ff5c Make sure to reset setup_player when backing out to not interfere with profile display 2022-02-19 13:43:21 +01:00
SinnamonLat
2e4a58095a Allow ev_joystick for button mappings, oops 2022-02-19 13:31:34 +01:00
SinnamonLat
ebc2156b7e Profiles: control setup (wip but does what it needs to for now) 2022-02-19 13:26:02 +01:00
SinnamonLat
5601fa4c22 profiles: character/colour select 2022-02-18 13:46:32 +01:00
SinnamonLat
0ac0efda70 Add typing menu overlay for controller parity 2022-02-17 15:05:22 +01:00
SinnamonLat
8efba24df7 profiles: start on edit menu (it does nothing) 2022-02-16 23:57:06 +01:00
SinnamonLat
c44300d39f Use mockup design for cards, allow moving around and getting out of the profile menu. Still can't make/edit profiles 2022-02-16 10:29:01 +01:00
SinnamonLat
aea066b70f Update menus to use the new input system all over... 2022-02-15 23:30:51 +01:00
SinnamonLat
8c53108d17 Start on profiles menu (does nothing and softlocks) 2022-02-15 01:28:57 +01:00
Sally Coolatta
a7022af93f Fix cup select & level select to both use the new input handling systems 2021-12-28 12:27:59 -05:00
Sally Coolatta
0179466107 Finalize char select multiplayer
- Add menu control fallbacks.
    - If it could not find a bind using your existing keys, then it looks at default controls.
    - If it could not find it then, and you're P1, then it looks through gamepads, and then lastly settles for keyboard.
    - Changed around the order of operations on the character select menu, to accommodate for this change.
- Added initroutine to menu_t, which is called every time without question when going to a new menu. This solves many, many minor bugs you could experience in the character select menu when changing between menus, due to things only being properly reset when selecting the character select menu option.
2021-12-28 12:02:31 -05:00
Sally Coolatta
3890c06a4d Fix number of players counter breaking when entering as player 1 & then exiting 2021-12-28 08:54:23 -05:00