228 Commits

Author SHA1 Message Date
UnknownShadow200
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
f9c0f75208 Client: Move searcher for block collisions into separate class. 2016-10-10 14:42:05 +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
be619e29f0 Client: Start moving stuff into separate DefaultSet class for block properties. 2016-10-04 09:34:21 +11: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
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
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
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
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
309ba45a5d Fix skybox orientation in forward third person camera (Thanks goodlyay). 2016-07-14 16:15:36 +10:00
UnknownShadow200
7711515aee Fix last commit. (Oops) 2016-07-12 20:14:19 +10:00
UnknownShadow200
246a47ba67 Optimise advanced lighting mesh builder. 2016-07-12 20:09:25 +10:00
UnknownShadow200
f39f83cd22 Start work on modularising mesh builder class, so we can support both normal and smooth lighting backends. 2016-07-09 15:30:39 +10:00
UnknownShadow200
9b45596107 Release 0.99.2 again. (Fix last commit, I am too tired) 2016-07-09 00:18:50 +10:00
UnknownShadow200
b93b9c6070 Get dig animation mostly right. (Much much thanks to goodlyay and his gifs) 2016-07-08 23:30:08 +10:00
UnknownShadow200
f227bbfbbf Modularise animation part of held block into a separate file. 2016-07-08 22:06:35 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +10:00
UnknownShadow200
118f134b8f Implement top-face water culling like classic. 2016-07-07 17:42:26 +10:00
UnknownShadow200
b732b8a58a Fix receiving handshake packet settings 'receivedFirstPosition' to false (thanks again opticalza), optimise skybox rendering to avoid unnecessary clear call. 2016-07-07 00:09:52 +10:00
UnknownShadow200
7fa3fb5ca1 Error screen is same colour as classic, minor performance optimisations for mesh building. 2016-07-06 23:47:48 +10:00
UnknownShadow200
5ec0fc783a Add lava animation like classic. (Much much thanks to goodlyay) 2016-07-03 17:04:26 +10:00
UnknownShadow200
fa522a8a08 Add double slab and cobblestone slab stacking to singleplayer. (Thanks McBean56545) 2016-06-30 23:21:24 +10:00
UnknownShadow200
f960043a08 Colour held block, more work on dig anim. 2016-06-25 13:48:12 +10:00
UnknownShadow200
52d25c081a Make lava draw translucent, optimise button widget rendering by only creating a texture size of text and then offseting to correct coords, instead of making one big texture equal to desired button size. 2016-06-18 23:11:06 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
e1d9b979cb Make water/lava be offset down by 1.5 pixels to match original classic. 2016-06-11 17:15:29 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
d06110f571 Make selected block lines smaller (Thanks Coliop). 2016-06-08 13:54:46 +10:00
UnknownShadow200
6c3f72c6c8 Reduce code duplication for classic and normal player list code. 2016-05-29 21:47:46 +10:00
UnknownShadow200
9061063b1e Get rid of console window again. 2016-05-26 13:45:01 +10:00
UnknownShadow200
e610a191e0 Draw input text over top of hotbar (Thanks FrostFox). 2016-05-26 10:01:32 +10:00
UnknownShadow200
e426f7859b Modularise out liquid physics. 2016-05-20 16:31:50 +10:00
UnknownShadow200
ccbdd19080 Modularise out falling and foilage physics. 2016-05-20 16:21:11 +10:00
UnknownShadow200
ad34d92a09 Modularise out falling physics. 2016-05-20 16:04:02 +10:00
UnknownShadow200
65069f2f34 Organise launcher classes into namespaces. 2016-05-17 10:17:24 +10:00
UnknownShadow200
fe6dccc944 Reduce shadow alpha slightly (Thanks goodlyay). 2016-05-16 15:22:28 +10:00
UnknownShadow200
f7dafcde0e Make 'edit hotkey' menu nice, and consistent with rest of gui. 2016-05-15 00:04:45 +10:00
UnknownShadow200
5c0df54013 Separate 'hotkeys list' code from 'edit hotkey' gui code. 2016-05-14 23:21:21 +10:00
UnknownShadow200
8f8ae2f36f Initial work on texture packs. 2016-05-14 20:37:07 +10:00
UnknownShadow200
109e5fc1a8 Render rain/snow in correct order. 2016-05-13 19:49:39 +10:00
UnknownShadow200
e8bd5033f3 Reduce code duplication for particles. 2016-05-11 19:37:31 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
91cfde2fca Fix sound playing at top of now bottom of leg animation cycle. (Thanks goodlyay) 2016-05-11 17:10:16 +10:00
UnknownShadow200
37273895dc Properly reset CPE state on server reconnection. 2016-05-09 23:35:44 +10:00
UnknownShadow200
60111bcbf2 Add /cuboid command for singleplayer. (Thanks MrGoober) 2016-05-09 08:38:59 +10:00
UnknownShadow200
3fa57fa6ac Add UserEvent events class. Only event currently is when user has manually placed a block. 2016-05-09 00:26:36 +10:00
UnknownShadow200
723585661a Make Animations a game component, make TexturePackExtractor less hardcoded. 2016-05-08 23:05:56 +10:00