4189 Commits

Author SHA1 Message Date
UnknownShadow200
fae4fcbb1a Inventory table widget isn't hardcoded to centre alignment anymore 2019-08-24 20:09:43 +10:00
UnknownShadow200
ffb92f652f Fix chatlines not updating 2019-08-23 21:14:45 +10:00
UnknownShadow200
9c8037b95d Fix blank line appearing when you type /client cuboid 2019-08-23 08:01:56 +10:00
UnknownShadow200
e10237c5e5 Status should be rendered behind menus/inventory menu instead of on top 2019-08-22 08:00:13 +10:00
UnknownShadow200
451400fd19 Fix alt input widget not being moved up when you append to input by clicking on chat
Also fix chat geting positioned wrongly in OpenGL build and when reconnecting
2019-08-21 21:16:03 +10:00
UnknownShadow200
812094465b To make original classic, loading menu disables showing or interacting with all other menus 2019-08-21 21:05:41 +10:00
UnknownShadow200
f9bf1029fa Fix disconnect screen not disappearing when you click Reconnect 2019-08-21 20:52:04 +10:00
UnknownShadow200
5febbe41d0 Fix texpack/url overlays not properly stopping mouse events propagating to menus underneath 2019-08-21 20:44:10 +10:00
UnknownShadow200
ac7e02208c Fix position/hacks status still showing in top-left even when in menus 2019-08-21 20:26:38 +10:00
UnknownShadow200
15b67e1b02 Fix generating screen not getting closed, fixed MouseUp PlayerClick not being sent when going into a screen 2019-08-21 20:13:46 +10:00
UnknownShadow200
3d7957570b try to use TextHeight instead of MeasureText 2019-08-21 19:58:18 +10:00
UnknownShadow200
b6d9b9b88d Fix scroll position in chat and chat input caret getting reset on window resize by separating out init/contextrecreated 2019-08-21 19:26:03 +10:00
UnknownShadow200
60565346fa Changing font doesn't need to call Elem_HandlesMouseMove anymore, separate Init/ContextRecreated in TexIdsOverlay.
This means all screens in Menus.c are now separated. Now onto the mess that is HUDScreen.
2019-08-20 22:21:19 +10:00
UnknownShadow200
711c77a48d Fix menu input disappearing on resize
Also make all screen/widget VTABLEs const
2019-08-20 21:32:04 +10:00
UnknownShadow200
42aa261440 Fix extended help disappearing on window resize and changing FPS limit mode 2019-08-20 20:55:40 +10:00
UnknownShadow200
4eed4d6234 WIP on redesigning menuoptionsscreen to separate init/contextrecreated 2019-08-20 19:34:27 +10:00
UnknownShadow200
b0b1518afd Make TextGroupWidget work with vertical anchor modes asides from min/max 2019-08-19 19:59:59 +10:00
UnknownShadow200
addeb72d30 Replace TextGroupWidget_SetUsePlaceHolder with simpler method 2019-08-19 18:22:16 +10:00
UnknownShadow200
467bac486c Make menu options show (Still WIP), redesign PauseScreen to separate init/contextrecreated 2019-08-18 22:33:52 +10:00
UnknownShadow200
b210c140e4 Fix 'accepting new key' getting reset on window resize
keybindings is rewritten to separate init/contextrecreated
2019-08-18 20:40:37 +10:00
UnknownShadow200
b95834a340 Control menus appear, redesign overlays to use new init/contextrecreated stuff 2019-08-18 19:15:55 +10:00
UnknownShadow200
3cca3ea61d Fix input text in gen level/edit hotkey/save level being reset when window is resized 2019-08-18 15:59:51 +10:00
UnknownShadow200
777b31a66e Fix caret becoming apparently invisible when you type in 64 characters (a full line), then input a colour code for the next line
Instead the second line is still drawn
2019-08-18 13:36:02 +10:00
UnknownShadow200
45358517d9 Redesign SaveLevelScreen to seperate out init/contextrecreated stuff. Fixes 'overwrite existing?' getting reset on window resize.
Also move to getting rid of widget->Init
2019-08-18 12:29:40 +10:00
UnknownShadow200
fa4e609c73 Redesign genscreens and edithotkeyscreen to separate out init/contextrecreated stuff.
This means resizing the window won't cause the 'key: press a key..' to reset itself to 'key: K', despite still intercepting the next key
2019-08-18 09:31:06 +10:00
UnknownShadow200
a8c9c471a0 Fix list screen disabling left button even if there's still 1-4 more entries before the current one 2019-08-17 20:59:54 +10:00
UnknownShadow200
02deabc0da get rid of keypress from widgets (only inputwidget used and needs it), fix edithotkey screen not showing 2019-08-17 20:41:42 +10:00
UnknownShadow200
6c90fdd884 Rename elementsXYZ to blocksXYZ in widgets 2019-08-17 17:56:36 +10:00
UnknownShadow200
26120c219a Kill off GuiElem and Recreate method 2019-08-17 09:45:54 +10:00
UnknownShadow200
5006716c4c Move widgets to base Screen and move away from using Recreate method
Also fix texture pack screen messing up after resize
2019-08-17 09:34:31 +10:00
UnknownShadow200
2a4fb3208a Fix keydown not working 2019-08-17 07:53:03 +10:00
UnknownShadow200
ab6df2cc7a cleanup code a bit 2019-08-16 21:34:43 +10:00
UnknownShadow200
ed71eaa588 rewrite OptionsGroupScreen 2019-08-15 15:24:11 +10:00
UnknownShadow200
bb4d963a70 start rewriting overlays 2019-08-15 12:40:55 +10:00
UnknownShadow200
242ffea6e2 simplify listscreen 2019-08-15 08:48:35 +10:00
UnknownShadow200
bf6c81189d Reuse buttons/widgets arrays and save 5kb of memory 2019-08-14 23:12:06 +10:00
UnknownShadow200
5934c3618b Fix cursor being visible at wrong time
And gen/save menus show up properly now
2019-08-14 07:52:03 +10:00
UnknownShadow200
22dea901ee Get rid of unused wasDown argument for KeyDown handler in screens/widgets 2019-08-12 18:02:56 +10:00
UnknownShadow200
340555833e Cleanup list screens 2019-08-12 15:52:27 +10:00
UnknownShadow200
c06203bc7d Now clicking partially works 2019-08-12 11:47:19 +10:00
UnknownShadow200
347fdd0ffc No more compile errors but still completely broken 2019-08-11 21:37:11 +10:00
UnknownShadow200
1308acaa71 now with a few less compile errors 2019-08-11 07:50:29 +10:00
UnknownShadow200
9eefb24253 Phase 1 of screens rewrite 2019-08-10 17:08:42 +10:00
UnknownShadow200
49714a38fb Use thread_stack_pcs/GetGlobalMouse (10.1) instead of backtrace/HIGetMousePosition (10.5), this makes the game compatible with Tiger 2019-08-09 20:11:53 +10:00
UnknownShadow200
9a620753b6 quick fix for fullscreen crash 2019-08-09 08:13:56 +10:00
UnknownShadow200
b1e95d9cd7 return an error code if InternetQueryDataAvailable fails instead of just breaking out of for loop 2019-08-08 23:21:22 +10:00
UnknownShadow200
188c052371 Reuse 1 buttons array between all KeyBindingsScreen, reduces memory usage by 3kb 2019-08-08 22:18:15 +10:00
UnknownShadow200
283f753b3e Simplify menu input code 2019-08-08 22:02:42 +10:00
UnknownShadow200
25d6518931 more cleanup of screen/menu 2019-08-08 21:14:39 +10:00
UnknownShadow200
bea6e546c1 Make Gfx_CreateTexture always return 0 if context is lost, instead of doing it in Drawer2D_Make2DTexture
Also start cleaning up screens code
2019-08-08 20:00:00 +10:00