66 Commits

Author SHA1 Message Date
UnknownShadow200
06ba0208bc comments 2017-02-25 18:44:27 +11:00
UnknownShadow200
810b2e8a9a Fix blocks previously sprite not reverting back to default collision bounds (Thanks fam0r) 2017-02-25 16:51:54 +11:00
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
a16eaca72d Fix last few issues 2017-02-16 16:54:27 +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
d947ac6988 Slightly less hardcoding 2017-02-01 17:36:09 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
eddf8229f0 Optimise block tinting 2016-12-21 14:27:24 +11:00
UnknownShadow200
b785c3e2b7 core: /client cuboid now takes block names 2016-12-07 21:27:12 +11:00
Goodlyay
d4a50ef33f Core: add support for auto-rotating blocks
based on name
2016-12-07 00:22:01 -08:00
UnknownShadow200
250ab7f417 Do same for launcher 2016-11-27 14:50:45 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +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
5fdfba9d1b Client: Move more stuff to DefaultSet 2016-10-04 10:19:13 +11:00
UnknownShadow200
be619e29f0 Client: Start moving stuff into separate DefaultSet class for block properties. 2016-10-04 09:34:21 +11:00
UnknownShadow200
ae379a85c0 You should always be able to place/delete blocks, unless they are overriden by SetBlockPermission. Fixes being unable to /b an lb/gb removed block. 2016-08-21 14:06:29 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +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
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
70a6e2fe1a Fix sprite blocks not recalculating their selection box after reconnect. 2016-05-23 08:23:18 +10:00
UnknownShadow200
be28a782f5 Don't show CPE blocks unless the server supports them. 2016-05-16 18:04:42 +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
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
39f315e12a Fix heightmaps sometimes being updated incorrectly. (Thanks goodlyay) 2016-01-28 17:28:41 +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
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
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
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
a6f90acf00 More comments. 2015-10-24 15:31:57 +11:00
UnknownShadow200
9e15c3775b Add tab to new launcher, make sprite bounding boxes exactly match the texture. 2015-10-22 18:29:12 +11:00