76 Commits

Author SHA1 Message Date
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
19bfc4a801 Fix culling properly for liquids. 2016-07-07 16:59:21 +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
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
f86017ffe1 Fix 'TNT' showing in block menu as 'TN t'. 2016-06-12 12:45:39 +10:00
UnknownShadow200
1e2cd769fe Consistently use 'block' instead of 'tile'. 2016-06-11 18:38:20 +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
c7c6e15b8d Fix being unable to pick sprites when top tex id is not same as sides. (Thanks goodlyay) 2016-05-29 13:13:18 +10:00
UnknownShadow200
70a6e2fe1a Fix sprite blocks not recalculating their selection box after reconnect. 2016-05-23 08:23:18 +10:00
UnknownShadow200
67b1fb0b4a Fix sounds not working properly after reconnect (Thanks 123DMWM). 2016-05-22 13:05:57 +10:00
UnknownShadow200
be28a782f5 Don't show CPE blocks unless the server supports them. 2016-05-16 18:04:42 +10:00
UnknownShadow200
e59b2b4c2b Fix Z-fighting and incorrectly not drawing issues for translucent blocks. 2016-05-11 18:59:37 +10:00
UnknownShadow200
d02d56d01b Textures array should be bytes not ints. 2016-05-10 15:08:12 +10:00
UnknownShadow200
60111bcbf2 Add /cuboid command for singleplayer. (Thanks MrGoober) 2016-05-09 08:38:59 +10:00
UnknownShadow200
579357c081 Reset all blocks on disconnection from server. 2016-05-08 00:20:28 +10:00
UnknownShadow200
4d8b0fc3d8 Use bitflags instead of booleans for hidden so it can better fit in cache. 2016-05-06 13:43:25 +10:00
UnknownShadow200
66d11d7676 Don't draw shared faces for translucent blocks when one of them is a solid collision physics. (Thanks 123DMWM) 2016-05-04 14:31:08 +10:00
UnknownShadow200
119cd745ed Use same block names as classicube for wools, only show 'block name' in classic mode. (Thanks FrostFox) Fixes #147. 2016-04-09 07:29:20 +10:00
UnknownShadow200
4946926552 Quick fix for compile errors in last commit. 2016-04-06 17:44:41 +10:00
UnknownShadow200
d1b26ef308 Use more concise block names. 2016-04-06 17:38:32 +10:00
UnknownShadow200
d86f599a5d Modifiable liquids should affect all translucent blocks, translucent blocks should show as such in the block in hand, also fix seaming visibilities between translucent blocks on the outside of the map and inside it. 2016-03-29 20:32:09 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
05336ee5ca Removed herobrine. 2016-02-11 11:43:00 +11:00
UnknownShadow200
1275ece957 Support saving/loading BlockDefinitions blocks in singleplayer. 2016-02-09 16:18:02 +11:00
UnknownShadow200
da6c5eed3d Fix fire playing wood sound, clipboard copying with invalid characters should still insert the valid characters (Thanks 123DontMessWitMe), add 0 chatlines support and fix crashing on chatlines less than 10. (Thanks mtndewissewthing) 2016-02-08 21:23:09 +11:00
UnknownShadow200
3b3a155243 Optimise chunk mesh building functions even further. 2016-02-03 13:31:57 +11:00
UnknownShadow200
95c7eaa6ca Initial implementation of version 2 of BlockDefinitionsExt. 2016-02-01 15:29:27 +11:00
UnknownShadow200
39f315e12a Fix heightmaps sometimes being updated incorrectly. (Thanks goodlyay) 2016-01-28 17:28:41 +11:00
UnknownShadow200
db9d99fd65 Fix lighting for upside down slabs. 2016-01-26 00:28:47 +11:00
UnknownShadow200
0f87b7feb5 Specify whether the FastBitmap instance is readonly or not. (Mainly for android) 2016-01-21 21:19:23 +11:00
UnknownShadow200
7c7bc4e79d Add 'use CPE' button to nostalgia settings. 2016-01-12 22:15:54 +11:00
UnknownShadow200
99bd040d2f Fix DefineBlock/DefineBlockExt packets taking a disproportionate amount of time to process. 2016-01-07 09:54:40 +11:00
UnknownShadow200
0102471e91 Implement gas block draw type in BlockDefinitions, also allow press function keys in text input widget (Thanks FabTheZen). 2015-12-30 21:42:20 +11:00
UnknownShadow200
2b3326197f Fix lighting for non 0 minX/Y/Z and non 1 maxX/Z blocks. 2015-12-24 12:43:56 +11:00
UnknownShadow200
6fb7e099f9 Remove Height[] array and use MaxBB[].Y in its place, also fix sprites being drawn with wrong height in block in hand. 2015-12-23 17:43:45 +11:00
UnknownShadow200
6fb700ae8f Particles now work with non 0 min and non 1 max. 2015-12-23 15:30:34 +11:00
UnknownShadow200
662b55129e Quick fix for large performance drop of last commit. 2015-12-23 14:35:52 +11:00
UnknownShadow200
4da17dc8c3 Get rid of the leftover testing stuff for the last commit. 2015-12-23 14:22:21 +11:00
UnknownShadow200
5ba8539c03 Initial progress on non 0 minX/Z and non 1 maxX/Z blocks. 2015-12-23 14:20:30 +11:00
UnknownShadow200
8179d9f793 Add sounds for BlockDefinitions. 2015-12-18 14:08:42 +11:00
UnknownShadow200
dacd6e4f44 Use MinBB/MaxBB in place of +0/+1, except for mesh builder. 2015-12-15 13:36:49 +11:00
UnknownShadow200
0e331ce01a Fix trees not being generated in singleplayer (Thanks Jerralish), fix some issues with selection bounds not being calculated correctly for BlockDefinitions blocks. 2015-12-09 21:20:47 +11:00
UnknownShadow200
399b2fe86a Add sounds to BlockInfo. 2015-11-27 16:01:58 +11:00
UnknownShadow200
e94e53f348 Fix colour codes not being trimmed from own skin name, launcher should auto-focus to search box. 2015-11-20 10:44:29 +11:00
UnknownShadow200
736f17001f Chat position should be reset upon closing input, border in block hotbar should scale, slightly reduce size of blocks in block hotbar. 2015-11-10 11:29:38 +11:00
UnknownShadow200
17d54a09d5 Treat pixel as solid if its alpha is not 0 when calculating sprite bounds, don't redraw CPE player list names unless necessary. 2015-11-08 13:16:31 +11:00
UnknownShadow200
2493feb86f Initial implementation of being able to switch between arial and default.png (only works for FPSscreen right now) 2015-10-28 07:20:15 +11:00