97 Commits

Author SHA1 Message Date
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
UnknownShadow200
db7e75a6ad Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-21 08:04:51 +10:00
UnknownShadow200
e7f6fbc3c1 Fix clicking 'updates' in launcher when not connected to the internet crashing the launcher. 2016-04-21 07:42:42 +10:00
UnknownShadow200
a8cd79abcd Fix client crashing after clicking 'chat scale', then 'use font', then 'chat scale' again. 2016-04-20 09:48:23 +10:00
UnknownShadow200
c050ae7a9e Add very basic .lvl importer (need to fallback physics blocks, no support for custom blocks), also tidy up some of the interfaces. 2016-04-11 09:55:02 +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
7af045f9a9 Text input now properly wraps colour codes across multiple lines. (Thanks xnotx123) 2016-03-24 13:11:26 +11:00
UnknownShadow200
41a1ef7113 Client uses your account name and skin from the main menu in singleplayer, also add a /client model command to change model in singleplayer. 2016-03-17 17:08:47 +11:00