Commit graph

6084 commits

Author SHA1 Message Date
UnknownShadow200
5a0f83c650 Add 64 bit raspberry pi build 2022-05-17 20:41:12 +10:00
UnknownShadow200
22b232940e
Merge pull request #942 from Goodlyay/master
Minor fix for advanced lighting
2022-05-15 14:10:57 +10:00
UnknownShadow200
a318d9ed98 Attempt to workaround rare crash that would happen when IDirect3DDevice9_Reset returns D3DERR_NOTAVAILABLE 2022-05-14 18:49:13 +10:00
UnknownShadow200
1ff3f481c4 Launcher: Change yellow to red for invalid field value errors 2022-05-14 15:07:45 +10:00
UnknownShadow200
0543f3d2a5 Webclient: Fix rare garbage data when drawing system font text
What was happening was that the text drawing would rarely resize the system font drawing canvas to accomodate wider text. However, resizing the canvas also resets the properties of the associated CanvasRenderingContext2D, which hence caused the text to be drawn mostly offcanvas in a smaller font, which hence appeared as 'garbage' at the top of the drawn text in-game
2022-05-14 09:03:26 +10:00
UnknownShadow200
40183b6059 iOS: Support colored text in labels in launcher 2022-05-13 22:57:35 +10:00
UnknownShadow200
64e892741a Webclient: Support colors in system font drawn text 2022-05-13 21:41:03 +10:00
UnknownShadow200
07bc5645df iOS: Fix typing in search filter in servers menu crashing the launcher, also change it so pressing 'done' in search filter input just closes the onscreen keyboard instead of trying to connect to server 2022-05-10 22:49:29 +10:00
UnknownShadow200
22fb91a0c1 iOS: Clicking done in onscreen keyboard now triggers enter behaviour, fix downloading flag causing selected row to be lost 2022-05-10 19:03:16 +10:00
UnknownShadow200
9c55dc7858 iOS: Servers table cell backgrounds are now coloured correctly
Still a minor issue where when a flag is downloaded (which triggers table data reload), the selected row is lost
2022-05-10 17:42:17 +10:00
UnknownShadow200
dac62e7ce2 iOS: Implement label for checkbox 2022-05-09 23:05:14 +10:00
UnknownShadow200
4ca550539f Move more stuff to launcher backend 2022-05-09 20:38:13 +10:00
UnknownShadow200
bfa6b42166
Merge pull request #944 from UnknownShadow200/UIConstraints
Redesign launcher widget layout system
2022-05-07 19:52:49 +10:00
UnknownShadow200
f70b6406d8 iOS: Move to new layout system, part 1 2022-05-07 16:43:43 +10:00
UnknownShadow200
00e56e9815 Simplify new layout system slightly 2022-05-07 16:02:28 +10:00
UnknownShadow200
6629be4f62 Add layout mode for table width/height, make button background drawing not depend on an LButton instance 2022-05-07 13:38:43 +10:00
UnknownShadow200
b89008f626 Port UpdatesScreen to new layout system
Now every launcher menu uses the new layoutr system
2022-05-07 13:08:37 +10:00
UnknownShadow200
ab36dc1211 Port most screens to new layout system 2022-05-07 12:19:32 +10:00
UnknownShadow200
c812e72941 Port MainScreen to use new layout system 2022-05-07 09:32:02 +10:00
UnknownShadow200
7324458b75 Initial WIP on redesigning widget layout positioning 2022-05-07 09:15:00 +10:00
UnknownShadow200
be322ae46b iOS: Fix buttons having 4 garbage pixels around them 2022-05-06 19:57:53 +10:00
UnknownShadow200
9d5e821273 iOS: Update button background image when theme changes
Note that because widgets are cached, this currently only updates the active screen
2022-05-06 19:09:47 +10:00
UnknownShadow200
69b0df4e3f iOS: Avoid loading all system fonts when going to servers menu 2022-05-06 18:48:07 +10:00
UnknownShadow200
47284db214 iOS: Draw logo natively instead of using classicube's system fonts
Bitmapped logo textis still drawn the same way though
2022-05-06 11:26:34 +10:00
UnknownShadow200
fbbc76448c WIP on splitting up logo drawing in launcher 2022-05-05 21:55:34 +10:00
UnknownShadow200
9e3ecc96b8 WIP on more accurate leaves/sponge particles (Thanks Birevan) 2022-05-04 19:54:23 +10:00
UnknownShadow200
19e7d474fe Improve error message for when blocks array size doesn't equal volume of map 2022-04-27 20:55:47 +10:00
Goodlyay
51c2ed7f6f Use defined constants for bitflag gen in Adv_Lit 2022-04-26 05:13:25 -07:00
Goodlyay
10dc27a83f Make fullbright block glow more accurate and clarify some code in Adv_Lit 2022-04-25 16:41:11 -07:00
UnknownShadow200
f7c81da3c9
Merge pull request #941 from UnknownShadow200/LBackend45893
Redesign launcher backend to defer drawing and move dirty region tracking into default backend
2022-04-25 09:02:06 +10:00
UnknownShadow200
6d3c77db5d Fix caret 2022-04-24 22:12:00 +10:00
UnknownShadow200
3e8db412fd ios: Free framebuffer after it has been blitted to the UIWindow's background, instead of wastefully keeping it around 2022-04-24 10:03:42 +10:00
UnknownShadow200
5338115bf2 Move framebuffer to LBackend 2022-04-23 23:58:24 +10:00
UnknownShadow200
d9b3659551 Move dirty region tracking into LBackend, fix background area resetting to work with resources screens 2022-04-23 23:38:29 +10:00
UnknownShadow200
ccfb87e54f Completely redesign default backend widget drawing to use deferred drawing instead
Now instead of always having to remember to call LXYZ_Draw after LXYZ_Set, LXYZ_Set simply marks the widget as 'needing to be redrawn' - and the default backend will subsequently redraw it on next tick
The framebuffer was only redrawn on ticks anyways, so doesn't make any significant difference latency wise to defer drawing

This is still a WIP and causes the status widget in CheckResources menu to be redrawn with wrong background. However, this does fix some obscure issues such as e.g. typing many words into input widget causing it to get extended horizontally, then backspacing multiple characters, causing ghost parts of the input widget to get left behind still
2022-04-23 23:11:23 +10:00
UnknownShadow200
f0583c32ca WIP moving more drawing/dirty tracking into LBackend 2022-04-23 19:35:39 +10:00
UnknownShadow200
9dcc41f4f1 Move more stuff to launcher backend
Also fix progress bar colour on ios, and fix checkbox not actually toggling
2022-04-23 13:53:43 +10:00
UnknownShadow200
09b043e081 iOS: More work on checkbox wiget, fix buttons missing highlight 2022-04-23 09:29:16 +10:00
UnknownShadow200
3fad0c7404 Mobile: Show Send text/icon on soft keyboard action button when opening keyboard for in-game chat input 2022-04-22 23:44:02 +10:00
UnknownShadow200
d1ece08a58 Launcher: Move font loading into backend mostly, few other minor changes 2022-04-15 14:12:24 +10:00
UnknownShadow200
8c6375b462 ios: support joining servers through list by clicking, fix status text not disappearing after leaving main menu 2022-04-14 23:44:14 +10:00
UnknownShadow200
94bd27f94a Detect png/zip based on file header signature instead of file extension, fixes #938 (thanks TheRealMichaelWang) 2022-04-14 21:04:15 +10:00
UnknownShadow200
cfaa57ade8 ios: add flags in servers list 2022-04-13 23:27:35 +10:00
UnknownShadow200
c891f8d656 Support OpenGL 1.1 fallback in 64 bit Windows 2022-04-12 23:42:52 +10:00
UnknownShadow200
9d81f4a175 ios: autosize servers, WIP landscape orientation support 2022-04-11 21:50:58 +10:00
UnknownShadow200
9965ea5c4e Fix webclient can't connect to https servers that require secure websockets 2022-04-11 18:18:30 +10:00
UnknownShadow200
771da4cd6e Start making OpenGL 1.1 fallback 64 bit compatible 2022-04-10 21:38:01 +10:00
UnknownShadow200
aa793891cc ios: WIP on native table widget 2022-04-10 21:18:10 +10:00
UnknownShadow200
952f8fa268 Show better error message when trying to join multiplayer map with missing blocks array 2022-04-09 08:20:45 +10:00
UnknownShadow200
ce4b6c30db ios: Fix download progress UI not working 2022-04-09 07:15:54 +10:00