37 Commits

Author SHA1 Message Date
UnknownShadow200
2738713a83 Skip inside faces for all opaque blocks, even those that are not a full solid block. 2017-02-21 08:27:09 +11:00
UnknownShadow200
005d0cebe2 For the 0-1 people who bother, make 12 bit block ids as easy as a compile time switch. 2017-02-19 22:29:07 +11:00
UnknownShadow200
a3290a8442 Better scrollbar in inventory (Thanks goodlyay) 2017-02-18 22:27:26 +11:00
UnknownShadow200
c92ebcac6c Use BlockID typedef instead of hardcoding byte everywhere.
In the 0.00001% chance someone changes blockid to be 16 bits
2017-02-16 16:31:17 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
06afac2d4b Quick fix for wrong draw type 2016-11-01 12:24:23 +11:00
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +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
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
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
e59b2b4c2b Fix Z-fighting and incorrectly not drawing issues for translucent blocks. 2016-05-11 18:59:37 +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
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
3b3a155243 Optimise chunk mesh building functions even further. 2016-02-03 13:31:57 +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
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
662b55129e Quick fix for large performance drop of last commit. 2015-12-23 14:35:52 +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
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
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
UnknownShadow200
5593bda240 More work on BlockDefinitions. Remove minecraft.net functonality from launcher because classic was removed from minecraft.net. 2015-10-03 17:00:26 +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
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
2920b3afb5 Hopefully address problem raised in comments in #61, thanks Mono. 2015-09-09 18:25:29 +10:00
UnknownShadow200
d705593c36 Add highly experimental, partial support for BlockDefinitions to address #42. 2015-09-08 06:28:30 +10:00
UnknownShadow200
ffa96b651b Some stylistic cleanup in BlockInfo.Culling, use TileSide.Sides instead of an apparent magical constant, minor simplifications in mesh building code. 2015-08-29 08:16:49 +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