125 Commits

Author SHA1 Message Date
UnknownShadow200
1c00b428ce Fix text consisting of only colour codes (no actual chars) behaving differently depending on whether use font was on or off 2017-10-01 09:38:03 +11:00
UnknownShadow200
d27aba4c70 Obsolete MakeBool ButtonWidget maker 2017-09-16 21:35:23 +10:00
UnknownShadow200
e798f0f7ac Less lambda usage 2017-09-16 16:12:09 +10:00
UnknownShadow200
4413fc69e6 Get rid of nearly all lambda usage 2017-09-15 10:10:49 +10:00
UnknownShadow200
5c2ac98003 Begin rewriting client to eliminate all usage of lambdas 2017-09-14 23:14:44 +10:00
UnknownShadow200
c4c6b96419 Little bit less lambda and Dictionary usage 2017-09-03 16:51:28 +10:00
UnknownShadow200
7736873ae5 Share skins 2017-09-02 19:26:18 +10:00
UnknownShadow200
5a03fda9bd Get rid of InventoryPermissions and just use bool array instead 2017-08-14 09:54:42 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
fc8d593b35 Define our own explict delegate types for better annotating arguments
also means less compile errors when compiling for .NET later than 2.0
2017-06-06 14:46:14 +10:00
UnknownShadow200
c41bb0276d And implement sapling physics in C. 2017-06-06 11:13:22 +10:00
UnknownShadow200
08af45b85e Fix saplings not growing in singleplayer 2017-06-06 09:43:18 +10:00
UnknownShadow200
28eb8de0b8 Mostly port physics to C, declare World_GetBlock/SetBlock as macros 2017-06-06 09:37:22 +10:00
UnknownShadow200
b22774f7b9 Add TransformX and TransformZ methods 2017-06-05 12:53:28 +10:00
UnknownShadow200
9536fa2483 Use single sIndex instead of array variable.
Also don't remove sapling block in singleplayer if tree fails to grow
2017-05-28 16:21:34 +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
34f84ef280 simplify a bit 2017-05-07 16:42:14 +10:00
UnknownShadow200
e5656bcf8e Implement more collide types, fixes #417 2017-04-28 21:44:33 +10:00
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