Commit graph

225 commits

Author SHA1 Message Date
UnknownShadow200
bd12b17e8c Start modularising chat input widget out. 2016-10-27 21:07:59 +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
8d994e7c08 Core: Chunks should unload/load based on user's view distance, not map fog. 2016-10-16 14:09:15 +11:00
UnknownShadow200
0b7b5e3a83 Core: Fix model scale not working when computer is set to a language that doesn't use . as its decimal point. (Thanks Daeslender) 2016-10-15 10:25:25 +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
d74d78df0d Core: Rewrite camera class to have less code duplication. 2016-10-01 18:21:49 +10:00
UnknownShadow200
1839da07b4 Client: Reduce code duplication in Picking.cs 2016-09-22 15:50:45 +10:00
UnknownShadow200
ac65ac2ee9 Client: Roughly approximate block density fog in fast mode. 2016-09-15 17:00:51 +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
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
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
899b705e54 Less code duplication in Chibi model. 2016-09-06 11:57:08 +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
8c52ada595 Use named StringLength constant instead of hardcoding 64 everywhere, replace StringBuilder with StringBuffer. 2016-08-15 18:33:37 +10:00
UnknownShadow200
25b8f453ad Remove a redundant foreach. 2016-08-15 15:30:19 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
cbfcc01bbf Optimise weather rendering, part 1. 2016-07-18 18:21:37 +10:00
UnknownShadow200
9e90ef6ed5 Fix skybox orientation in forward third person camera. (Thanks 123DMWM) 2016-07-17 09:06:01 +10:00
UnknownShadow200
309ba45a5d Fix skybox orientation in forward third person camera (Thanks goodlyay). 2016-07-14 16:15:36 +10:00
UnknownShadow200
7be81bea37 Fix most of remaining compilation errors on android project type. 2016-07-14 11:29:54 +10:00
UnknownShadow200
4281dead19 Allow switching between normal / smooth lighting mesh building at runtime. 2016-07-09 16:10:32 +10:00
UnknownShadow200
d25998b39f Jump bobbing should only be enabled when view bobbing is enabled to match original classic behaviour (Thanks lavacraft), fix launcher crashing when classic mode and no terrain.png in default.zip, fix launcher servers list occasionally skipping a full redraw on a resize. 2016-07-08 11:55:24 +10:00
UnknownShadow200
6102a4f2ce Fix texture memory leak. (Thanks lavacraft) 2016-07-05 12:40:06 +10:00
UnknownShadow200
63d71cfa2b Fix alex skins that aren't 64x64. (Thanks goodlyay) 2016-07-04 20:49:38 +10:00
UnknownShadow200
b2d0737b18 RenderType command should save between sessions. (Thanks classic1234) 2016-06-26 22:36:49 +10:00
UnknownShadow200
8bd253a455 Same selection colour as classicube client. 2016-06-26 17:22:20 +10:00
UnknownShadow200
3a93918a2c Fall tilting should not be enabled in third person. 2016-06-26 09:21:37 +10:00
Goodlyay
570dbb43fb Smooth velTilt transition when starting fly/noclip. 2016-06-25 11:34:19 -07:00
UnknownShadow200
0fae1bab87 Fix depth testing for held block. 2016-06-25 21:02:20 +10:00
UnknownShadow200
6fe8991f33 Don't apply fall tilting when flying or noclip mode. 2016-06-25 20:35:04 +10:00
Goodlyay
ce2e297551 Add velocity based tilt to view bobbing. 2016-06-25 02:48:35 -07:00
Goodlyay
b4ddaceecb Merge remote-tracking branch 'refs/remotes/origin/HeldBlock' 2016-06-25 02:39:27 -07:00
UnknownShadow200
d3a0cb69c7 Use rewrited view bobbing by goodlyay. (Much much thanks) 2016-06-25 16:13:45 +10:00
UnknownShadow200
b1a60aa84e Fix ctrl+backspace (Thanks FabTheZen). 2016-06-25 10:21:39 +10:00
UnknownShadow200
ed6e4463c1 First part of heldblock rewrite. (Thanks goodlyay) 2016-06-24 20:53:22 +10:00
UnknownShadow200
6a12fc721c Scale model name with model scale. 2016-06-21 23:33:09 +10:00
UnknownShadow200
46095f6db9 Use methods compatible with OpenTK 1.0 API. 2016-06-21 08:34:27 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
93494613ed Allow toggling black text shadow colours for default.png. (Thanks Cherobrine) 2016-06-06 23:41:44 +10:00
UnknownShadow200
3dd7a8599d Allow using a full-block step instead of just slabs. (Thanks goodlyay) 2016-05-24 15:23:01 +10:00
UnknownShadow200
3546d165df Fix skybox rendering in forward third person mode. (Thanks 123DMWM) 2016-05-15 13:06:32 +10:00
UnknownShadow200
febad36b60 Fix issue with empty line in options.txt (Thanks goodlyay) 2016-05-12 08:06:50 +10:00
UnknownShadow200
b0f3faa530 Reduce 'popping' effect when leaving the ground and view bobbing is enabled, partially addresses #192. 2016-05-08 19:13:09 +10:00
UnknownShadow200
f5878f70a3 Create .lvl and .fcm level exporter. 2016-05-08 15:39:49 +10:00
UnknownShadow200
024bb78cb1 Also log operating system when a crash occurs. 2016-05-03 10:56:52 +10:00