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
UnknownShadow200
b852151211
Fix clear colour/fog/depth function not being properly restored on WebGL context restore
...
This fixes water not being rendered, makes fog show, and fixes horizon/border of map being completely black
2019-07-19 20:23:09 +10:00
UnknownShadow200
f819e49aaa
Fix gui being rendered with solid background after restoring from lost opengl context
2019-07-19 19:16:13 +10:00
UnknownShadow200
d050126868
Reload uniforms when WebGL context is restored
...
This makes the sky appear when restoring from lost WebGL context
2019-07-19 07:52:20 +10:00
UnknownShadow200
b75b4b4457
Fix wrong declaration of vertex format for direct3d9
...
Turns out I have been relying on illegal behaviour for 4 years. Awkward..
2019-07-18 22:50:01 +10:00
UnknownShadow200
14c9da9e27
fix last commit introducing possible crash if no data is received from server for over 30 seconds
2019-07-18 21:46:51 +10:00
UnknownShadow200
ff7bbdb1ad
Rewrite how contexts are lost and restored
...
This means a) context isn't constantly destroyed and recreated when resizing window b) WebGL context is now partially restored, although all textures stay completely black
2019-07-18 21:34:39 +10:00
UnknownShadow200
6de770c6a4
Fix makefile not defining DUNICODE on windows for mingw
...
This fixes 'error setting current directory' and other functions.
2019-07-17 21:05:57 +10:00
UnknownShadow200
8b6b262d7a
Don't pointlessly keep checking if skin's downloaded when it's already been downloaded and applied
2019-07-17 07:50:46 +10:00
UnknownShadow200
2e6d8990b8
Simplify skybox rendering a little bit
...
Gets rid of quite a few CPU instructions, but no change to GPU
2019-07-16 22:24:08 +10:00
UnknownShadow200
e76aab0b55
Use union for PackedCol/BitmapCol, generates slightly better code on all compilers
2019-07-16 21:19:44 +10:00
UnknownShadow200
5c0cd0d871
Remove unused index argument from Utils_IsUrlPrefix
2019-07-15 21:34:18 +10:00
UnknownShadow200
ec39ee90a7
Simplify code related to entity skins
2019-07-15 15:22:28 +10:00
UnknownShadow200
f527fdaa44
Simplify code related to entity nametags
2019-07-15 13:31:23 +10:00
UnknownShadow200
e267d43976
Remove Gfx_SetAlphaTestFunc.
...
It's not actually supported in the modern GL backend at all, and only ever set internally to discard pixels with alpha > 128.
2019-07-15 11:12:04 +10:00
UnknownShadow200
7eaa434f8e
Fix implicit function declaration warning in Audio.c
2019-07-14 20:05:58 +10:00
UnknownShadow200
eb6d5a85dd
fix linux and osx builds
2019-07-14 10:41:21 +10:00
UnknownShadow200
c1fdca87b9
Split up Window_InitRaw into Window_AllocFramebuffer/Window_FreeFramebuffer, and call Window_FreeFramebuffer when closing launcher
2019-07-14 10:35:52 +10:00
UnknownShadow200
9b92a5a2c0
Make struct fields lowercase in BlockPhysics and get rid of unnecessary includes in Chat.h
2019-07-13 20:24:24 +10:00
UnknownShadow200
795b2b4f5a
Rename from BufferSize to Capacity for StringsBuffer to be consistent with rest of codebase
2019-07-13 15:52:36 +10:00
UnknownShadow200
267345e47e
Make packet reading slighly faster by reading strings in-place instead of copying to temp buffer
2019-07-13 12:26:02 +10:00
UnknownShadow200
3725fe0585
oops remove debug connect to 127.0.0.1:25565
2019-07-13 09:12:01 +10:00
UnknownShadow200
9851372277
Use faster alternative to String_InitAndClear, also parse http version instead of relying on http lib
2019-07-13 09:00:28 +10:00
UnknownShadow200
5b47f939c3
Change Bitmap_CopyBlock to Bitmap_UNSAFE_CopyBlock to signify that it doesn't check arguments and will corrupt memory if used improperly
2019-07-12 22:46:45 +10:00
UnknownShadow200
9bb8dfbcfb
Fix BITMAPCOL_CONST producing swapped r/b values in web client
2019-07-12 21:47:29 +10:00
UnknownShadow200
508414c96f
make field names of structs in LScreens.c lowercase
2019-07-12 20:04:26 +10:00
UnknownShadow200
ee3f89b078
fix not compiling on arm64 linux
2019-07-11 19:10:44 +10:00
UnknownShadow200
0371157084
Fix PowerPC register dumping having compile errors on linux and OSX panther
2019-07-10 21:12:15 +10:00