87 Commits

Author SHA1 Message Date
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
UnknownShadow200
b859739cb7 Show texture pack download status in top right corner. 2016-03-02 13:37:45 +11:00
UnknownShadow200
1275ece957 Support saving/loading BlockDefinitions blocks in singleplayer. 2016-02-09 16:18:02 +11:00
UnknownShadow200
bad6ac3763 Make loading map/generating map screen more like original classic. (Thanks Darky64) 2016-01-30 22:37:54 +11:00
UnknownShadow200
0ba33ce2a3 Make colours in extended text widget nicer and more extensible, in preparation for CustomTextColours. 2016-01-21 23:12:14 +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
7c7bc4e79d Add 'use CPE' button to nostalgia settings. 2016-01-12 22:15:54 +11:00
UnknownShadow200
fcee4079ad Optimise singleplayer water physics. (Thanks Fudgie) 2016-01-09 22:26:51 +11:00
UnknownShadow200
5e29f5cd23 Add tilde auto-completion (Thanks 123DontMessWitMe) 2016-01-09 20:00:20 +11:00
UnknownShadow200
6ac0e096a4 Add a warning to chat (always shown at button of chat area) when using multiple-line messages on servers that don't support LongerMessages. 2016-01-09 15:23:28 +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