Commit graph

319 commits

Author SHA1 Message Date
SinnamonLat
9eb7ae3cff Fix ONLINE menus 2022-05-24 00:57:35 +02:00
SinnamonLat
256ec0517f Fix video mode controls being reversed 2022-05-24 00:30:19 +02:00
SinnamonLat
d0a6fe18c4 Fix cursor defaulting to profile values instead of last used values when changing characters mid-game 2022-05-24 00:26:34 +02:00
SinnamonLat
348dab6fe2 Fix being unable to switch followers & colours from the menu without switching skins 2022-05-24 00:18:40 +02:00
SinnamonLat
5f8eaaf41b Fix device being wrongly unset for P1 when beginning charsel with anything besides keyboard, oops 2022-05-23 23:53:25 +02:00
SinnamonLat
79831b46cc Default restrictskinchange to yes, change conditions for changing skins 2022-05-23 23:48:23 +02:00
toaster
54b9f3b7cc Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart.git into new-menus
# Conflicts:
#	src/Sourcefile
#	src/f_finale.c
#	src/m_menu.c
#	src/y_inter.c
2022-05-22 17:22:49 +01:00
toaster
5b13d4f75d Repair character colors and followercolors via the menu, both visually and mechanically.
* Fully reimplement the MenuColor system from 2.2's codebase, so super and emerald colours are now inaccessible again.
* Add FOLLOWERCOLOR_ constants and internal loop support to M_GetColorBefore and M_GetColorAfter.
* Fix improper initialisation of certain menu colour data.
* Repair previously created (or manually-edited) profiles with invalid colours.
* Add an actual function to turn followercolor constants to effective values.
2022-05-22 16:57:26 +01:00
toaster
aa0c6d12eb Fix backing out of the input tester for a new profile causing a crash. 2022-05-21 19:34:59 +01:00
SinnamonLat
c58624bca2 Fixed fresh profiles being able to have duplicate names after deleting other Profiles 2022-05-21 18:04:43 +02:00
SinnamonLat
df64ea9ce6 Fix softlock when exiting profile controls when initially making a new Profile 2022-05-21 17:50:25 +02:00
SinnamonLat
399272946c Tie POWERLEVEL to Profiles 2022-05-21 17:47:15 +02:00
SinnamonLat
13c74efa41 Give split players default controls while sellecting profile # 2022-05-21 14:57:16 +02:00
SinnamonLat
479d1b1ffc Fix character switching mid game 2022-05-20 22:34:04 +02:00
SinnamonLat
30aec86479 Allow P1 to add splitscreen players on command, allow console in menus 2022-05-20 21:36:43 +02:00
SinnamonLat
95e4bc21ff Allow P1 to retain controller usage when playing alone even if they started charsel with keyboard 2022-05-20 20:07:25 +02:00
SinnamonLat
3f201c4609 Don't allow creating new profiles mid-game 2022-05-20 17:10:19 +02:00
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