41 Commits

Author SHA1 Message Date
UnknownShadow200
cf0316bce2 Foiled again. It's foliage not foilage 2017-02-28 13:36:20 +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
cf06302e33 Fix leftover issues 2017-02-16 16:42:50 +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
752aac787f Core: Fix sand/gravel falling not always being activated (Thanks McBean56545), partially addresses #84. 2016-10-30 22:38:51 +11:00
UnknownShadow200
3ef1e305d7 Make singleplayer physics behaviour more accurate to original classic. (Thanks McBean65645) 2016-07-07 23:58:28 +10:00
UnknownShadow200
45a8d32fcf Manually deleting a block on map borders should create still water. (Thanks McBean56545) 2016-06-30 23:52:28 +10:00
UnknownShadow200
fa522a8a08 Add double slab and cobblestone slab stacking to singleplayer. (Thanks McBean56545) 2016-06-30 23:21:24 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
a584fe9dd3 Make sand/gravel fall instantly, closes #205. (Thanks andrewja6) 2016-05-21 16:28:21 +10:00
UnknownShadow200
30f39a90fb Deleting sponge should active neighouring water, partially addresses #205. (Thanks andreja6) 2016-05-21 16:11:17 +10:00
UnknownShadow200
fba550f3c2 Use generic BlockChanged event instead of hardcoding behaviour in PickingHandler. 2016-05-21 15:06:38 +10:00
UnknownShadow200
f4b2403639 Inline CheckSponge. 2016-05-20 18:27:34 +10:00
UnknownShadow200
4f376ad146 Do not hardcode which blocks have physics, use generic array of 256 delegates for OnPlace and OnActivate. 2016-05-20 18:13:01 +10:00
UnknownShadow200
e426f7859b Modularise out liquid physics. 2016-05-20 16:31:50 +10:00
UnknownShadow200
ccbdd19080 Modularise out falling and foilage physics. 2016-05-20 16:21:11 +10:00
UnknownShadow200
ad34d92a09 Modularise out falling physics. 2016-05-20 16:04:02 +10:00
UnknownShadow200
4841e84923 Fix sponge not properly updating blocks in singleplayer (Thanks andreja6), partially addresses #205. Fix music thread lagging on some computers due to not buffer enough data ahead of time (Thanks funzrey). 2016-05-20 15:14:19 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
4946926552 Quick fix for compile errors in last commit. 2016-04-06 17:44:41 +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
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
37d055244d Fix compiler warnings about unused code on Mono, also fix tab moving cursor to middle not end of input widgets. (Thanks FabTheZen) 2016-01-14 09:57:36 +11:00
UnknownShadow200
fcee4079ad Optimise singleplayer water physics. (Thanks Fudgie) 2016-01-09 22:26:51 +11:00
UnknownShadow200
2193038449 Can speed through water/lava/rope (Thanks carversedge) and also don't let water 'squish' rope in singleplayer. 2016-01-07 23:39:12 +11:00
UnknownShadow200
8b73b0a713 Minor code cleanup, separate event classes. 2015-12-29 16:24:54 +11:00
UnknownShadow200
f652953582 Add a generation gui. 2015-12-10 21:36:55 +11:00
UnknownShadow200
ffafd8023b Add background generating of singleplayer maps, show progress of generation. 2015-12-10 20:28:38 +11:00
UnknownShadow200
6adb2eec42 Add trees to vanilla gen, optimise noise generation. 2015-12-06 13:03:17 +11:00
UnknownShadow200
70a2fc868f Save singleplayer physics option, only use mob texture for external urls, use bigger font size for name texture. 2015-11-11 17:27:36 +11:00
UnknownShadow200
8f5f869ab5 Add sponges to singleplayer. 2015-10-29 21:03:12 +11:00
UnknownShadow200
f678a2b6c6 Update main screenshot to use default.png 2015-10-29 06:28:23 +11:00
UnknownShadow200
69e23c88e1 Separate various aspects of 'Game' class into own separate classes. 2015-10-02 16:03:55 +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
ba565760c3 Add support for importing .cw maps. 2015-09-26 08:54:08 +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