107 Commits

Author SHA1 Message Date
UnknownShadow200
d45e32c8b4 Trees should only grow on grass (Thanks McBean56545) 2017-03-05 15:21:01 +11:00
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
1515ab9028 Better map generator interface 2017-02-10 20:57:47 +11:00
UnknownShadow200
55093847db initial entity rotation. breaks multiplayer. 2017-01-25 21:16:11 +11:00
UnknownShadow200
fd454c0c01 Now some entities spawn and can be clicked on. 2017-01-20 13:08:28 +11:00
UnknownShadow200
cc54c6bc80 Initial work on survival test 2017-01-20 09:43:44 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
fb30269cae fix last commit 2016-12-03 18:56:29 +11:00
UnknownShadow200
b9f404ad08 more work on abstracting lighting 2016-12-02 15:05:09 +11:00
UnknownShadow200
4d1ef1a65b more work on lighting abstraction 2016-11-29 21:25:39 +11:00
UnknownShadow200
2986773b51 Abstract block lighting 2016-11-29 21:01:18 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
96710328a8 Core: Fix respawning in singleplayer sometimes putting you inside a block
also a minor touchup to reduce IModel code
2016-11-06 14:40:39 +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
da43eff85e Core: Fix deleting sponge on bottom of map in singleplayer crashing, closes #281. (Thanks McBean56545) 2016-10-30 12:53:37 +11:00
UnknownShadow200
ae5b73993d Core: Fix mushroom and flower physics in singleplayer. (Thanks McBean56545) 2016-10-20 12:42:37 +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
d74d78df0d Core: Rewrite camera class to have less code duplication. 2016-10-01 18:21:49 +10:00
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
0ab5ef4434 Rename INetworkProcessor to the more descriptive IServerConnection, since it does not necessarily actually use the network. 2016-09-11 12:52:00 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +10: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
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
9e17292a6b Include server name in chatlog title, don't include date for each entry in a chatlog file. Closes #209. 2016-06-02 15:32:31 +10:00
UnknownShadow200
087be01db2 Disable players tab list in singleplayer (makes no sense), disable alt text widget in classic mode. 2016-05-26 21:17:19 +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
be28a782f5 Don't show CPE blocks unless the server supports them. 2016-05-16 18:04:42 +10:00
UnknownShadow200
6ab5dbc3ae Separate LauncherTableWidget into LauncherTableWidget and LauncherTableView. 2016-05-15 11:50:16 +10:00
UnknownShadow200
ce4d050c73 Second pass of optimising isometric block drawing. 2016-05-13 18:26:49 +10:00
UnknownShadow200
e9ea36a03c First pass of optimising isometric block drawing. 2016-05-13 18:06:20 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
dfde526675 Fix single frame of lava fog in singleplayer. 2016-05-08 14:21:11 +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