357 Commits

Author SHA1 Message Date
UnknownShadow200
e769fe8b7f Style: move autorotate stuff into separate file 2016-12-07 21:55:00 +11:00
UnknownShadow200
b785c3e2b7 core: /client cuboid now takes block names 2016-12-07 21:27:12 +11:00
Goodlyay
d4a50ef33f Core: add support for auto-rotating blocks
based on name
2016-12-07 00:22:01 -08:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
fb30269cae fix last commit 2016-12-03 18:56:29 +11:00
UnknownShadow200
0d3102c868 Finish plugin support 2016-12-03 18:49:21 +11:00
UnknownShadow200
dddc9954b7 Client: start work on loading external plugins 2016-12-03 17:44:45 +11:00
UnknownShadow200
9e7334fec7 Core: fix crashing if texture is not power of two dimensions (Thanks Joshim4). 2016-12-02 21:33:56 +11:00
UnknownShadow200
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +11:00
UnknownShadow200
2986773b51 Abstract block lighting 2016-11-29 21:01:18 +11:00
UnknownShadow200
6ec9c2d4b8 Client: also allow using shift and control to scroll hotbar when B menu is open. (Thanks goodlyay) 2016-11-27 22:02:30 +11:00
UnknownShadow200
250ab7f417 Do same for launcher 2016-11-27 14:50:45 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +11:00
UnknownShadow200
2a06c0fda8 OpenTK: Make Key enum much more concise 2016-10-19 16:39:55 +11:00
UnknownShadow200
17d948d33b Client: Use simpler form of changing key bindings 2016-10-19 15:38:11 +11:00
UnknownShadow200
62f01431ba Client: Remove client clock in top right. 2016-10-18 18:12:20 +11:00
UnknownShadow200
03a8c27deb Client: Modularise out TextAtlas part of FPSScreen 2016-10-18 18:09:36 +11:00
UnknownShadow200
3078d63667 Style: Use less modern syntactic shortcuts. 2016-10-17 23:22:06 +11:00
UnknownShadow200
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
6912b7a75c Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-10-17 09:48:32 +11:00
UnknownShadow200
fcc443fbcf Style: reduce hardcoding 2016-10-17 09:47:55 +11:00
UnknownShadow200
1342b92d8b Style: Allow adding more Camera classes. 2016-10-17 09:37:41 +11:00
UnknownShadow200
8d994e7c08 Core: Chunks should unload/load based on user's view distance, not map fog. 2016-10-16 14:09:15 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
f9c0f75208 Client: Move searcher for block collisions into separate class. 2016-10-10 14:42:05 +11:00
UnknownShadow200
b576506b86 Gfx: add bool indicating whether texture should use managed or default pool. 2016-10-06 10:54:17 +11:00
UnknownShadow200
febe31b904 Style: Split IGraphicsAPI into IGraphicsAPI and IGraphicsAPI.Core, don't catch NotSupportException for invalid bitmap. 2016-10-05 18:25:21 +11:00
UnknownShadow200
ac1a6442a7 Core: Now resetting a custom block that overwrote a core block works properly now. Also fix texture pack not being reset in singleplayer when loading a level without one. 2016-10-04 14:09:20 +11:00
UnknownShadow200
d74d78df0d Core: Rewrite camera class to have less code duplication. 2016-10-01 18:21:49 +10:00
UnknownShadow200
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +10:00
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
1839da07b4 Client: Reduce code duplication in Picking.cs 2016-09-22 15:50:45 +10:00
UnknownShadow200
cb7aba8e9e Make lava animation web scalable. (16x,32x,64x) 2016-09-22 12:42:33 +10:00
UnknownShadow200
ac65ac2ee9 Client: Roughly approximate block density fog in fast mode. 2016-09-15 17:00:51 +10:00
UnknownShadow200
7ff1575eff Android: don't bother compiling hotkeys code. 2016-09-15 12:15:58 +10:00
UnknownShadow200
49d16aa701 Style: Modularise protocol functions. 2016-09-15 12:02:19 +10:00
UnknownShadow200
d8f3458282 Client: Now show message when turning on/off axis lines since some people seem to be confused about it. 2016-09-13 23:46:41 +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
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
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
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
8c52ada595 Use named StringLength constant instead of hardcoding 64 everywhere, replace StringBuilder with StringBuffer. 2016-08-15 18:33:37 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +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