Commit graph

1838 commits

Author SHA1 Message Date
UnknownShadow200
c23728cb2f Launcher: Gradient progress bar when downloading resources, reduce button border size. 2016-09-13 09:13:21 +10:00
UnknownShadow200
5416fa363c Launcher: quick fix for build bot 2016-09-13 08:08:26 +10:00
UnknownShadow200
94dc022567 Add back in Options.Set(string, string) to avoid MissingMethod. (Thanks Cheesse), fixes #235 2016-09-13 06:51:51 +10:00
UnknownShadow200
b3c2a21fc0 Split up Drawer2DExt into Drawer2DExt and Gradient 2016-09-12 17:22:12 +10:00
UnknownShadow200
1a8a7bf042 Split up PlatformDrawer into files for each platform. 2016-09-12 16:26:10 +10:00
UnknownShadow200
7693e09417 Modularise LauncherInputWidget out a bit. 2016-09-12 16:14:39 +10:00
UnknownShadow200
4c8e5078e0 Better comments for launcher widgets. 2016-09-12 15:44:48 +10:00
UnknownShadow200
f6dbfc6062 Gradient buttons in launcher. 2016-09-12 12:28:05 +10:00
UnknownShadow200
77d404674d Fix nostalgia options going back to main instead of options menu. 2016-09-12 09:07:14 +10:00
UnknownShadow200
7d2c9b0829 Fixes messages to the server including trailing spaces at the end of the chat input. 2016-09-11 13:02:35 +10:00
UnknownShadow200
0ab5ef4434 Rename INetworkProcessor to the more descriptive IServerConnection, since it does not necessarily actually use the network. 2016-09-11 12:52:00 +10:00
UnknownShadow200
da8ebc61b1 Fix last compile errors for android backend. 2016-09-11 12:45:23 +10:00
UnknownShadow200
59ee780aca Fix some of compile errors for android target. 2016-09-11 11:58:59 +10:00
UnknownShadow200
8be566b75d Avoid dictionary usage. 2016-09-11 11:14:54 +10:00
UnknownShadow200
a8f7e2b0a7 In SinglePlayer, you should be able to use commands without /client. (E.g. /cuboid will act the same as /client cuboid) 2016-09-09 09:07:27 +10:00
UnknownShadow200
db9698c331 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-09-06 11:57:57 +10:00
UnknownShadow200
899b705e54 Less code duplication in Chibi model. 2016-09-06 11:57:08 +10:00
UnknownShadow200
a234d07bc3 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-09-04 12:43:15 +10:00
UnknownShadow200
89e0145571 Fix UV mapping for blocks. (Thanks goodlyay) 2016-09-04 00:09:24 +10:00
UnknownShadow200
43b3d5e921 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-08-30 12:50:09 +10:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
91082328fc Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-08-28 13:52:12 +10:00
UnknownShadow200
e28b391105 and fix the last commit to work after client restart. 2016-08-28 13:51:59 +10:00
UnknownShadow200
83aaf4091d Should be using the 'lastmodified' provided for our own 'if modified since' header, fixes texture packs from some web servers always being redownloaded. (Thanks CookieNetwork) 2016-08-28 13:45:25 +10:00
UnknownShadow200
fd879b0b00 Fix HackControl resetting jump height to default of 1.2 blocks, not user's jump height on non -hax maps. 2016-08-26 16:53:04 +10:00
UnknownShadow200
777d3a829b Do backface determination and distance calculation for chunks in a single pass. 2016-08-23 14:43:48 +10:00
UnknownShadow200
ae379a85c0 You should always be able to place/delete blocks, unless they are overriden by SetBlockPermission. Fixes being unable to /b an lb/gb removed block. 2016-08-21 14:06:29 +10:00
UnknownShadow200
443c520bd0 Fix case where if uncompressed map size was longer than actual map volume, would cause the client to Mono to infinitely loop. (Thanks mhsjlw) 2016-08-20 10:38:33 +10:00
UnknownShadow200
874de2ce9b An invalid .ogg file should not crash the whole client. (Thanks JplaysClassic) 2016-08-20 10:04:19 +10:00
UnknownShadow200
f5a016fce0 Fix disconnected screen flickering on OpenGL backend. 2016-08-18 23:51:00 +10:00
UnknownShadow200
99018cc610 Fix the 'ClassicalSharp.exe needs to be in the same folder' message incorrectly showing when starting the client via terminal on non-windows from another directory. (Thanks MrGoober) 2016-08-18 10:24:10 +10:00
UnknownShadow200
202b6a99aa Microoptimise block redraw methods, makes things slightly faster when changing millions of blocks. 2016-08-17 14:08:43 +10:00
UnknownShadow200
466bd531cd Avoid unnecessary memory allocation in BlockDefinitionChanged. 2016-08-16 14:26:44 +10:00
UnknownShadow200
e39be25b3f Fix minor issue with ErrorScreen unnecessarily redrawing the button. 2016-08-16 12:14:43 +10:00
UnknownShadow200
6b2651b8fb Split up Utils.cs into Utils.cs and Utils.Math.cs, also use our own ToLower() method that does not make any extra memory allocations. 2016-08-15 20:00:57 +10:00
UnknownShadow200
4033dcff1a Avoid the temp mem allocation for reading compressed data in ZipReader. 2016-08-15 18:49:06 +10:00
UnknownShadow200
8c52ada595 Use named StringLength constant instead of hardcoding 64 everywhere, replace StringBuilder with StringBuffer. 2016-08-15 18:33:37 +10:00
UnknownShadow200
b3e0b8b32b Ensure that colours read from WoM http page have full alpha. 2016-08-15 16:59:09 +10:00
UnknownShadow200
a28d2a38fd Increase 'Connection timeout' threshold to 30 seconds, avoid StringReader and replace with our own ReadLine() method. 2016-08-15 16:43:55 +10:00
UnknownShadow200
25b8f453ad Remove a redundant foreach. 2016-08-15 15:30:19 +10:00
UnknownShadow200
bd1f2c9597 Oops we need to use SocketException instead of IOException now. 2016-08-15 13:22:55 +10:00
UnknownShadow200
0936dd7e50 Use raw socket receive/send instead of NetworkStream. 2016-08-15 13:18:46 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
b2ff1bb70e Fix being unable to use function keys in error screen. (Thanks WolfGangNS) 2016-08-14 10:00:49 +10:00
UnknownShadow200
a8b73a0e46 Switching to classic/classic+hax mode should not reset your 'use classic background' option. (Thanks JPlaysClassic) 2016-08-13 08:48:06 +10:00
UnknownShadow200
11a75d0231 Minorly optimise GdiPlusDrawer2D's string measuring function. 2016-08-06 17:47:44 +10:00
UnknownShadow200
0331311360 Increase network data reading frequency from 20 to 60 seconds when loading a map, this makes receiving map faster. (Especially on localhost and LAN servers, around half the time) 2016-08-06 15:39:03 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
ae5f379438 Fix client crash when using normalfast mode and on Intel OpenGL build. 2016-08-06 09:15:54 +10:00
UnknownShadow200
a73630432e Don't centre cursor when window is not focused.
Fixes cursor being moved to centre of client's window, when you are interacting with another application, and you finish joining another map.
2016-08-03 14:57:50 +10:00