40 Commits

Author SHA1 Message Date
UnknownShadow200
bf314359cd Use dispatch table for reading packets, split off CPE reading/writing into a separate file. 2015-10-03 15:04:59 +10:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +10:00
UnknownShadow200
976db7a487 Some cleanup, simplify readme. 2015-09-30 08:33:35 +10:00
UnknownShadow200
63a42bbc68 Rewrite backend for 2D drawing to be far more modular. 2015-09-28 17:10:27 +10:00
UnknownShadow200
e81bbc13ae Reduce model vertices size, reduce complexity of TextInputWidget significantly, add basis for a save level screen. 2015-09-27 20:29:31 +10:00
UnknownShadow200
a12ffa3730 Fix custom key bindings not being loaded, sprites are now rotated diagonally. 2015-09-27 08:48:51 +10:00
UnknownShadow200
067f87ce37 Use default op block permissions regardless of whether BlockPermissions is used or not. BlockPermissions settings always override other attempts to set permissions. 2015-09-27 06:40:33 +10:00
UnknownShadow200
397b4040e4 Add support for exporting as .cw files. Remove .fcm exporting support. 2015-09-26 18:45:58 +10:00
UnknownShadow200
8575aea22b Add very simple .nbt parser. 2015-09-26 07:51:56 +10:00
UnknownShadow200
808d66ea6c Initial single player physics added. 2015-09-25 18:17:04 +10:00
UnknownShadow200
e01f24bebb Update readme, fix non-compliant GL calls. 2015-09-24 15:56:35 +10:00
UnknownShadow200
df80b95714 Implement new key mapping gui. 2015-09-24 15:38:56 +10:00
UnknownShadow200
eccf108a90 Use new pause menu by default, drop some ugly commands now replaced by the options and environment settings parts of the pause menu. 2015-09-24 15:01:16 +10:00
UnknownShadow200
fde7eef0db Much more work on new client gui. 2015-09-24 14:48:24 +10:00
UnknownShadow200
057859dcda More work on new gui, still in mockup stage. (Press F9 to see it) 2015-09-24 10:47:42 +10:00
UnknownShadow200
938cb13182 Initial work on new client gui. 2015-09-24 09:51:55 +10:00
UnknownShadow200
a9681a15c6 Add initial options widget. (Text drawn over a purple box with rounded corners), make screenshot a global hotkey. 2015-09-24 08:07:17 +10:00
UnknownShadow200
7271e02f6f Persist key bindings, fixes #81. 2015-09-22 06:42:17 +10:00
UnknownShadow200
4b51c5c4c0 Add support for loading .dat files, mark single-player support as done. 2015-09-19 11:03:18 +10:00
UnknownShadow200
6ce9f379a2 Fix second sprite lighting bug. 2015-09-15 17:37:28 +10:00
UnknownShadow200
58e5816acf Much more work on patching. Now we just depend on extract resources from classic's jar and terrain-patch.png. Snow is still broken. 2015-09-13 08:12:47 +10:00
UnknownShadow200
41073fc4b9 Initial work on animations, half size of block picking and change its colour to black. 2015-09-12 13:43:33 +10:00
UnknownShadow200
b6655d54d0 Add simple .zip reader (For reading texture packs), partially addresses #44. 2015-09-12 07:37:34 +10:00
UnknownShadow200
d705593c36 Add highly experimental, partial support for BlockDefinitions to address #42. 2015-09-08 06:28:30 +10:00
UnknownShadow200
03b21b62a7 Do not use our own special packed atlas, use the standard atlas in preparation for #42. 2015-09-06 08:13:21 +10:00
UnknownShadow200
875ec23b5b Add proper brightness to entities, closes #45. (Thanks Goodlyay) 2015-09-03 20:14:10 +10:00
UnknownShadow200
60c753a2fd Make entity models dynamic in preparation for #45, also means we make a lot less matrix multiplications. Still broken! 2015-09-03 19:20:08 +10:00
UnknownShadow200
c163ebcb59 Proper fix of UnsafeString on windows platforms - should fix input text and block info string. 2015-09-02 19:44:24 +10:00
UnknownShadow200
c8c8b8072d Partial support for saving and loading maps. 2015-09-01 19:58:21 +10:00
UnknownShadow200
7baf64051f Add proper singleplayer support. Can generate new flatgrass worlds with /client gen, also the client starts singleplayer when no arguments are provided. 2015-09-01 17:24:01 +10:00
UnknownShadow200
6ebed77929 Add basic singleplayer support. Generates a flatgrass map, but has no support for saving. Partially addresses #40. 2015-09-01 06:50:20 +10:00
UnknownShadow200
bea5c34691 Try to minimise api overhead with MapRenderer. 2015-08-23 09:13:28 +10:00
UnknownShadow200
2f9d32fdfd Fix compilation with Direct3D9 api, fix launcher title not being correct version. 2015-08-22 14:52:03 +10:00
UnknownShadow200
9d9ca55a7c Make everything in OpenTK have consistent whitespace, simplified detecting unix kernel, combined INativeWindow and IInputDriver. 2015-08-22 06:50:23 +10:00
UnknownShadow200
9d73e2492d Integrate SharpDX into OpenTK. 2015-08-16 10:16:59 +10:00
UnknownShadow200
618ded14e0 Add experimental optimisation of grouping vertices by faces, then skipping all vertices of a face if that face is always back facing. Improves FPS by 50 - 100 in some cases. On slower card, imrpvoed FPS by 5-30. 2015-08-03 17:25:42 +10:00
UnknownShadow200
572a52dd3c Don't call AddIndices for every single face - just do it one bulk go in ExpandCapacity(). 2015-07-31 19:57:31 +10:00
UnknownShadow200
df879604f2 Major rewrite of graphics APIs: Use SharpDX instead of Managed DirectX (64 bit works now), rewrite OpenTK GL class to use calli instructions. 2015-07-28 06:53:22 +10:00
UnknownShadow200
4cc1e27157 Cleanup the solution - move the client's files and folders into their own folder. 2015-07-25 06:45:14 +10:00