4126 Commits

Author SHA1 Message Date
UnknownShadow200
3584522e8f Scale up servers table default column widths with DPI 2019-08-04 09:32:53 +10:00
UnknownShadow200
dd7b1c1bca Rename LScreen->Reposition to more logical LScreen->Layout 2019-08-04 08:49:42 +10:00
UnknownShadow200
6035276344 Fix register dump getting truncated with arm64/ppc64 2019-08-03 20:22:03 +10:00
UnknownShadow200
e4f192e091 Partially fix just touching on web client causing camera to jerkily rotate 2019-08-03 07:05:51 +10:00
UnknownShadow200
49df32be8f cleanup Window.c and only declare win_rawMouse once instead ofmultiple times (windows,sdl,web backends) 2019-08-02 22:51:11 +10:00
UnknownShadow200
aa345a5c5f don't pointlessly use Random_Range with 0 min, use Random_Next instead 2019-08-02 22:15:03 +10:00
UnknownShadow200
15079ee79f Actually implement String_UNSAFE_SubstringAt as a function instead of a macro on top of String_UNSAFE_Substring
This saves around 1ms when loading 431 fonts on my PC
2019-08-02 19:37:03 +10:00
UnknownShadow200
9813402aee cleanup drawer2d code 2019-08-01 18:25:07 +10:00
UnknownShadow200
874509d5df Fix egl backend not behaving properly after resize 2019-08-01 17:28:02 +10:00
UnknownShadow200
219a8e9cf9 Properly check result code returned by IDirect3DDevice9_Reset 2019-08-01 13:53:08 +10:00
UnknownShadow200
59b4125a03 remove inline functions that were only used once
Turns out the web client doesn't actually inline inline functions
2019-08-01 08:16:08 +10:00
UnknownShadow200
abd3e2853b Scale up resources menu background box with DPI 2019-07-30 22:53:14 +10:00
UnknownShadow200
f833db6ba8 Fix caret alternating in launcher input widgets causing whole input widget to get redrawn instead of just caret area
Also make all launcher widget drawing behaviour consistent with dirtying area and not drawing while hidden
2019-07-30 21:38:17 +10:00
UnknownShadow200
2598ba18ce Make getting shadow colour for text a bit faster 2019-07-30 20:39:27 +10:00
UnknownShadow200
1a9ada3590 Don't leak memory when a resource fails to download in launcher 2019-07-29 22:53:16 +10:00
UnknownShadow200
186172e1d1 and simplify launcher screen code 2019-07-29 20:49:56 +10:00
UnknownShadow200
e3eee65df1 simplify launcher widgets code 2019-07-29 20:13:23 +10:00
UnknownShadow200
aabfab54cf use more compat tablist representation in memory, 1kb less usage 2019-07-29 18:08:41 +10:00
UnknownShadow200
e105b53648 test commit to ensure I didn't break auto build from github 2019-07-29 10:21:14 +10:00
UnknownShadow200
845679c7a5 Scale up table scrollbar and gridlines with DPI 2019-07-28 23:41:14 +10:00
UnknownShadow200
8c57e07132 Box/Seperator widgets in launcher scale with DPI 2019-07-28 23:30:32 +10:00
UnknownShadow200
87e385d00a Don't redraw background behind servers table because that's a complete waste, oops.
Makes dragging columns in servers table 4-5 times more responsive
2019-07-28 21:10:17 +10:00
UnknownShadow200
3286dcf58c Make drawing stone/dirt background for classic mode launcher quite a bit faster 2019-07-28 18:56:39 +10:00
UnknownShadow200
29cd6608ff Fix table overlapping scrollbar/bottom input with high DPI in launcher 2019-07-28 17:13:12 +10:00
UnknownShadow200
2107826b99 Remove Window_X/Y because the game shouldn't rely on them
For instance they are always 0 in the web client
2019-07-28 16:22:29 +10:00
UnknownShadow200
9778e4534f remove usage of Point2D 2019-07-28 15:55:14 +10:00
UnknownShadow200
8f36382eb6 Change Cursor_SetScreenPos to Cursor_SetPosition which takes window coords, and remove Cursor_GetScreenPos 2019-07-28 15:37:54 +10:00
UnknownShadow200
6646b10059 scale window_create width/height based on DPI settings on windows 2019-07-28 13:24:40 +10:00
UnknownShadow200
7fc6007e49 Get rid of Window_CreateSimple and just have Window_Create work out x/y instead 2019-07-28 13:12:59 +10:00
UnknownShadow200
824e43a1ea
default compiler should be clang not gcc for FreeBSD in readme 2019-07-28 07:48:32 +10:00
UnknownShadow200
9fe0b6805a Move stuff out of Resources.h and into Resources.c 2019-07-28 07:32:19 +10:00
UnknownShadow200
3fc7f0edb1 log DPI to console instead 2019-07-26 20:21:11 +10:00
UnknownShadow200
df83310b59 remove unused CC_ALIGN_HINT from Core.h 2019-07-25 19:32:40 +10:00
UnknownShadow200
4b192c351a Fixup comments in Http.h 2019-07-25 17:21:41 +10:00
UnknownShadow200
b2669696b3 Fix game having improper timing on OSX 10.5 powerpc (thanks doctorj1)
This caused behavour such as showing 5 FPS when running at 60, movement being way too fast, etc
2019-07-25 08:50:14 +10:00
UnknownShadow200
bcce489b41 remove debug DPI message 2019-07-23 19:31:17 +10:00
UnknownShadow200
f05aece6f1 get rid of unused Gfx_ApiInfo field 2019-07-22 23:18:54 +10:00
UnknownShadow200
2dc6a143f6 simplify PackedCol_Unhex 2019-07-22 18:01:46 +10:00
UnknownShadow200
a32ffdab30 Show dialog if non-http error occurs when downloading resources 2019-07-22 11:04:27 +10:00
UnknownShadow200
cf5671394a Fix fog incorrectly still applying with a non-full size block, even though camera wasn't actually inside the block (thanks Goodly) 2019-07-22 07:34:17 +10:00
UnknownShadow200
4342482610 Fix modern OpenGL backend crashing 2019-07-21 17:57:15 +10:00
UnknownShadow200
e709ce33f2 Only fill in gpu info when /client gpuinfo is actually called, instead of always filling it at gfx init 2019-07-21 17:40:01 +10:00
UnknownShadow200
fc58658e58 Initial WIP on OpenGL contexts being able to report themselves as lost 2019-07-21 17:15:30 +10:00
UnknownShadow200
4a5594f577 Split up platform and dynamic lib blocks of code in Platform.c for nicer looking code 2019-07-21 16:10:25 +10:00
UnknownShadow200
b410386a2e Avoid a pointless redirect with register button in launcher 2019-07-21 13:46:12 +10:00
UnknownShadow200
9aa7312407 Move ClassicalSharp source into a .zip to cut down on repository zip size 2019-07-20 19:56:16 +10:00
UnknownShadow200
7ec12b458e Make separators in updates/choose mode menu widgets, so they can be properly DPI scaled 2019-07-20 18:37:45 +10:00
UnknownShadow200
8dc0006211 Initial WIP for scaling launcher widgets depending on DPI 2019-07-20 14:11:52 +10:00
UnknownShadow200
8fb63080c8 Quick workaround for #594, a real fix will come later. (Thanks igor725) 2019-07-20 11:10:32 +10:00
UnknownShadow200
65ac893238 Fix windows and OSX builds 2019-07-19 20:48:31 +10:00