90 Commits

Author SHA1 Message Date
UnknownShadow200
dc5a29e9f1 Move CloudsLevel to map class, simplify various map set methods, reset texture pack to default if we can't download the .png or .zip., fixes #90. 2015-10-05 16:57:39 +11:00
UnknownShadow200
4d3331ae47 Prefer 24 bit depth buffer by default, only use the maximum used atlas in MapRenderer. 2015-10-04 15:24:20 +11:00
UnknownShadow200
9f4d015709 Detect hats. 2015-10-03 12:13:30 +10:00
UnknownShadow200
4778ef8c32 Make StringBuffer 100% less unsafe. 2015-10-03 09:36:29 +10:00
UnknownShadow200
728785ed6c Fix non 32bpp terrain atlases crashing the client, remove some leftover debug stuff. 2015-10-03 06:57:20 +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
d3c85a8cc5 Can use all valid filename ASCII characters in save level screen. 2015-09-28 07:10:11 +10:00
UnknownShadow200
d632374a88 Add proper level saving screen. 2015-09-28 06:41:16 +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
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
81d1a5f00a Add single player specific option for toggling physics, move drawing rounded rectangle to Utils2D. 2015-09-26 20:11:32 +10:00
UnknownShadow200
397b4040e4 Add support for exporting as .cw files. Remove .fcm exporting support. 2015-09-26 18:45:58 +10:00
UnknownShadow200
ebca009143 Add sapling growth to singleplayer. 2015-09-26 06:41:30 +10:00
UnknownShadow200
fe1d808025 Fix crashing when pressing button in OptionsScreen, save and load default view distance, other minor gui touchups. 2015-09-24 19:39:51 +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
a119b2bddf Add support for EnvMapApperance v2 packets, other various cleanup. 2015-09-23 19:53:12 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
4facc54b47 Pressing escape in pause screen should exit it, fixes #71. 2015-09-14 18:07:22 +10:00
UnknownShadow200
d4a5bf9fff Make function keys reassignable, change view distance binding to default as F, make function keys only apply when a screen does not have input locked. 2015-09-13 19:06:27 +10:00
UnknownShadow200
c714c5136a Can now press F1 to hide gui. 2015-09-11 19:39:48 +10:00
UnknownShadow200
52d249b84a Calls to CursorVisible must be balanced, fixes #62. 2015-09-10 06:34:24 +10:00
UnknownShadow200
46a09255cc Try to find cause of crash found in comments in #61. 2015-09-09 06:28:48 +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
0c7dec86e4 Sadly, it turns out that our memory string optimisation procedures corrupted the headp after the GC was run. Turns out because (I might be wrong though) that the GC appears to try to use leftover string space for heap allocations, which sometimes caused random corruptions but mostly crashes as were directly modifying the underlying string length. Fixes #51. 2015-09-05 07:36:51 +10:00
UnknownShadow200
4769e7dbbd Implement cursor hiding on Windows to partially address #36. (Will do Linux backend next) 2015-09-04 06:55:12 +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
7826f84b55 Consistency of Game/Window - now just use game. Start work on adding crosshairs. 2015-09-01 18:03:36 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
1590664f68 Make IGraphicsApi even more consistent. 2015-08-04 07:17:20 +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