Commit graph

35 commits

Author SHA1 Message Date
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
25342af17f Slight adjustments to cause less misclicks 2021-12-28 05:48:17 -05:00
Sally Coolatta
e628894b47 Merge branch 'new-menus' into profiles 2021-12-25 06:09:53 -05:00
SinnamonLat
cdb3b1ca98 Difficulty select before GP, match race & netgames 2021-12-11 18:22:56 +01:00
SinnamonLat
9de737682d extras: replay hut 2021-12-10 20:30:09 +01:00
SinnamonLat
2e79d84f4a Extras menu barebones start, it does nothing 2021-12-10 16:07:36 +01:00
Sally Coolatta
ecffa90949 Add menucmd system
Allows menu input delays to feel sorta similar to how they did before ... maybe  could be adjusted further, since it feels just a tad bit touchy to me, but it's much better than before when it was a static value.
2021-12-06 14:53:30 -05:00
Sally Coolatta
d2e26bbc86 Finish menu input for char select
TODO:
- Menu delay shouldn't be a static value and work closer to how it did before (likely requires a more complicated system than just calling G_PlayerInputDown ... menu ticcmds? lol)
- Create a sdl function to determine if any of the possible joysticks' buttons are being pressed & return the joystick number & set usejoystick to that number ... for the PRESS START prompt.

Already tired of this code, I'm good
2021-12-04 17:58:23 -05:00
Sally Coolatta
58d5d1759b Set menu delay between menus 2021-12-04 17:34:34 -05:00
Sally Coolatta
4cef6ee0df More menu inputting (delays + partial support for character select)
Suddenly stopped compiling as I was working on this, with the same error it gave when before james merged the makefile changes, even though it was fine a minute ago and those changes are distinctly in here, so I guess it ends here.
2021-12-04 16:23:21 -05:00
Sally Coolatta
8cbaad4e4f Merge branch 'new-menus' into profiles 2021-12-04 15:47:11 -05:00
Sally Coolatta
f17b948491 Update how input is handled in menus to use key bindings
VERY broken right now, it lost the delay between key presses. Kinda already sick of the reorganization needed though
2021-11-29 12:02:56 -05:00
SinnamonLat
2e875eb3f0 Options menu background + sounds 2021-11-27 21:11:00 +01:00
SinnamonLat
c377ea1186 options: data & manual 2021-11-26 16:36:15 +01:00
SinnamonLat
6bea4a393a options: server options 2021-11-26 10:55:33 +01:00
SinnamonLat
76bba0fc9c options: gameplay 2021-11-26 10:18:50 +01:00
SinnamonLat
9c08483505 options: sound & hud 2021-11-26 09:04:08 +01:00
SinnamonLat
3449064b8b options menu + video options (res & ogl) 2021-11-25 23:36:42 +01:00
SinnamonLat
17e45d92c5 Pause: addons menu 2021-11-19 23:58:35 +01:00
SinnamonLat
a64f97da7b Tiny prep work for splitscreen spectate/join to implement later 2021-11-18 22:05:22 +01:00
SinnamonLat
55b9489af0 pause menu: spectate + exit game 2021-11-18 20:47:52 +01:00
SinnamonLat
e560bffcf7 Pause menu start + map switching 2021-11-18 15:19:25 +01:00
SinnamonLat
1412b96b20 EXPERIMENTAL: Save last 3 IPs manually joined to allow rejoining them later 2021-11-16 23:03:46 +01:00
SteelT
fd1552cc56 Fix some variables not be extern properly 2021-11-14 17:40:42 -05:00
SinnamonLat
fdf778c72f Allow hosting and joining by IP 2021-11-14 21:24:09 +01:00
SinnamonLat
feb0868292 Small continuation of the MP menus, this allows us to reach CORE/MODDED split 2021-11-13 19:32:12 +01:00
SinnamonLat
04bd3efd5b First attempt at multiplayer menus 2021-11-13 18:08:34 +01:00
Sally Coolatta
8289bf252f Chengi's menu selectors
- Menu BG image is defined by menu option
- Menu BG image slides in
- Gamemode menu options are now like Chengi's mockup
2021-01-13 01:16:14 -05:00
Sally Coolatta
2af75a2bd1 Fix merge conflicts 2021-01-11 00:06:34 -05:00
TehRealSalt
64a3d133b4 Cleanup & bug-fixin 2019-10-15 20:56:28 -04:00
TehRealSalt
32bdd10dbf Cup definitions, updated menu to use them 2019-10-04 22:44:19 -04:00
TehRealSalt
94e8fddd46 Time Attack screen
No functionality ported yet
2019-10-04 13:27:09 -04:00
TehRealSalt
67e63442da Start on Cup/Level selects 2019-10-04 00:18:34 -04:00
TehRealSalt
dae7dd003a More complete character select 2019-10-02 19:13:56 -04:00
TehRealSalt
ca83b06d93 Fuckhuge restructuring
- m_menu.c and m_menu.h are dead. Everything has now been moved to k_menudef.c, k_menufunc.c, k_menudraw.c, and k_menu.h.
- Expanded menu_t and menuitem_t to add transitions and tooltips
- Early character select screen
- Removed almost all menu definitions, I'll be reimporting them as they are needed
2019-10-02 11:31:11 -04:00
Renamed from src/m_menu.h (Browse further)