11 Commits

Author SHA1 Message Date
UnknownShadow200
28eb8de0b8 Mostly port physics to C, declare World_GetBlock/SetBlock as macros 2017-06-06 09:37:22 +10:00
UnknownShadow200
2428e8c33a Turns out the TNT algorithm in classic is far simpler, implement that instead. 2017-05-20 17:16:00 +10: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
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
46095f6db9 Use methods compatible with OpenTK 1.0 API. 2016-06-21 08:34:27 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +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
ccbdd19080 Modularise out falling and foilage physics. 2016-05-20 16:21:11 +10:00