Commit graph

498 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
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
87ffa1e5fe Fix Direct3D9 build crashing if another application took and exited exclusive fullscreen, potentially fix crash in SetBlock packet. 2015-10-03 08:25:28 +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
e5cd574dae Replace local with direct connection tab, store resume information. 2015-10-03 06:24:29 +10:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +10:00
UnknownShadow200
1740631f17 Simplify linux backend, use core vbo functions if running >= 1.5 opengl. 2015-10-01 18:10:22 +10:00
UnknownShadow200
0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +10:00
UnknownShadow200
9e9a739932 Fix Direct3D9 build clipping when standing next to a block, blocks should not be placed over players. (Thanks Empy) 2015-09-30 09:10:55 +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
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
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
ba565760c3 Add support for importing .cw maps. 2015-09-26 08:54:08 +10:00
UnknownShadow200
8575aea22b Add very simple .nbt parser. 2015-09-26 07:51:56 +10:00
UnknownShadow200
ebca009143 Add sapling growth to singleplayer. 2015-09-26 06:41:30 +10:00
UnknownShadow200
6c69baeb38 More physics (still to go: saplings) 2015-09-25 20:21:05 +10:00
UnknownShadow200
808d66ea6c Initial single player physics added. 2015-09-25 18:17:04 +10:00
UnknownShadow200
f8ceac887d Release 0.95, this time with updated assembly versions. 2015-09-24 19:54:20 +10:00
UnknownShadow200
571580a2f4 Release 0.95. 2015-09-24 19:48:06 +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
82d4f8b93a Fix issue with water level being below 0, leaves should not be skipped if they are not next to each other. (Fixes #47) 2015-09-23 14:03:43 +10:00
UnknownShadow200
901f3e359f Fix custom liquids for BlockDefinitions. 2015-09-23 13:18:13 +10:00
UnknownShadow200
b195699620 Ignore extraneous byte for HackControl sent by older D3 servers, but doesn't work properly if jump height is >= 0. 2015-09-23 11:31:59 +10:00
UnknownShadow200
56089bf275 More work on BlockDefinitions support. Liquid collision and gravity still not properly supported. 2015-09-23 08:45:16 +10:00
UnknownShadow200
f9b6da294f Remove WindowBorder from OpenTK, simplify a little bit in X11 API. 2015-09-22 20:20:58 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
7271e02f6f Persist key bindings, fixes #81. 2015-09-22 06:42:17 +10:00
UnknownShadow200
8a076102f4 BlockModel shouldn't always use LocalPlayer's modelname, fixes #82. 2015-09-21 12:06:51 +10:00
UnknownShadow200
3d9d2a0e76 If Op user type and not using block permissions, the player should be able to place grass, water, lava, and admincrete. 2015-09-21 11:13:37 +10:00
UnknownShadow200
fb566ac505 Fix two reported bugs: Client crashes when receiving block update while still loading a map (thanks Goodlyay), client doesn't remove player names from list when ExtPlayerList CPE extension is used (thanks 123DMWM) 2015-09-21 07:19:33 +10:00
UnknownShadow200
0f187cf5b0 Remove WindowBorder since we never used it. 2015-09-20 20:28:51 +10:00
UnknownShadow200
b0a180b1db Simplify various stuff in X11 api. 2015-09-20 18:01:18 +10:00
UnknownShadow200
868a62230f Fix crashing if map already existed when saving in singleplayer. 2015-09-20 07:57:22 +10:00
UnknownShadow200
43b247ea08 Make particles bigger, move faster, and fall faster. 2015-09-20 07:34:01 +10:00
UnknownShadow200
12da9e5d7a Fix Y offseting being incorrect for self teleportation packets, remove ugly hack in Entity.Physics and fixes #78. 2015-09-20 07:18:41 +10:00