129 Commits

Author SHA1 Message Date
UnknownShadow200
eea433b7e3 Style: Use less modern syntactic shortcuts. 2016-10-17 23:48:18 +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
49d16aa701 Style: Modularise protocol functions. 2016-09-15 12:02:19 +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
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
443c520bd0 Fix case where if uncompressed map size was longer than actual map volume, would cause the client to Mono to infinitely loop. (Thanks mhsjlw) 2016-08-20 10:38:33 +10:00
UnknownShadow200
202b6a99aa Microoptimise block redraw methods, makes things slightly faster when changing millions of blocks. 2016-08-17 14:08:43 +10:00
UnknownShadow200
d097af1cb0 Fix .cw files saving/loading custom blocks with max fog density when fog density is supposed to be none. 2016-07-27 19:57:50 +10:00
UnknownShadow200
f95dde2ac1 Fix sunlight/shadowlight colour persisting from previous map. 2016-07-10 17:49:38 +10:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00
UnknownShadow200
52d25c081a Make lava draw translucent, optimise button widget rendering by only creating a texture size of text and then offseting to correct coords, instead of making one big texture equal to desired button size. 2016-06-18 23:11:06 +10:00
UnknownShadow200
1e2cd769fe Consistently use 'block' instead of 'tile'. 2016-06-11 18:38:20 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
e1d9b979cb Make water/lava be offset down by 1.5 pixels to match original classic. 2016-06-11 17:15:29 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00
UnknownShadow200
75486ad445 Fix issues with lighting on chunk horizontal borders, fixes #162. (Thanks goodlyay) 2016-06-05 00:40:15 +10:00
UnknownShadow200
1ea806a38f Fix deleting an upside down slab underneath a solid block that blocked light incorrectly marking the above block as being fully in light (Thanks Cherios), closes #207. 2016-05-21 20:48:14 +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
e05c1a14ed More work on EnvMapAppearance v3. 2016-05-12 16:13:08 +10:00
UnknownShadow200
4401823fab Rain speed / Snow speed / Weather falloff are not hardcoded. 2016-05-12 09:34:00 +10:00
UnknownShadow200
e8bd5033f3 Reduce code duplication for particles. 2016-05-11 19:37:31 +10:00
UnknownShadow200
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
37273895dc Properly reset CPE state on server reconnection. 2016-05-09 23:35:44 +10:00
UnknownShadow200
d837b31f84 Also backspace in input should backspace colour code before the character. 2016-05-08 22:06:26 +10:00
UnknownShadow200
36e727beae Fix texture pack not changing in singleplayer, tidy up save level menu. 2016-05-08 21:00:29 +10:00
UnknownShadow200
9c432833de Remove .lcl and .fcm exporter, use .schematic exporter which actually works in recent MCEdit. (Thanks goodlyay) 2016-05-08 20:37:41 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
f5878f70a3 Create .lvl and .fcm level exporter. 2016-05-08 15:39:49 +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
ca0b9cc038 Fix client crashing when animations.txt exists and animations.png is missing (Thanks Chameleonherman), fixes #183. 2016-05-06 12:38:21 +10:00
UnknownShadow200
c2658dfced Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-04-28 09:35:48 +10:00
UnknownShadow200
8391d0ae79 Group all sprite vertices by face. 2016-04-28 08:50:55 +10:00
UnknownShadow200
781692963b Fix issue when a chunk has exactly 65536 sprite vertices. 2016-04-28 08:37:13 +10:00
UnknownShadow200
9aecdd6194 Make loading singleplayer maps 33% faster. 2016-04-27 23:00:03 +10:00
UnknownShadow200
b1a6e87d92 Occlusion code does not work currently and was disabled, therefore there is no need to include it in the output binary. 2016-04-20 07:37:30 +10:00
UnknownShadow200
48496794fe Modularise MapCw (to allow NBT read/write to be reused elsewhere) 2016-04-19 19:25:19 +10:00
UnknownShadow200
69a0b146b6 Active option should be in yellow-ish text, also make 'done' buttons bigger in classic mode. (Thanks FrostFox) 2016-04-16 22:56:31 +10:00
UnknownShadow200
ed1e540c8e Add (untested) support for physics and custom blocks. 2016-04-11 10:20:10 +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
2a67f8f698 Remove Pack=1 arguments which were causing runtime errors on specific mono versions, partially addresses #93. (Thanks Jjp137) 2016-03-30 15:59:55 +11:00
UnknownShadow200
3865bc6888 Rename vertices structs to a more concise one, also fix issue with progress bar very very rarely overflowing when the server overflows on computing the progress value, by instead computing it client-side. (Thanks 123DontMessWitMe) 2016-03-29 20:45:52 +11: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
b859739cb7 Show texture pack download status in top right corner. 2016-03-02 13:37:45 +11:00
UnknownShadow200
0e320c6cf0 Quick fix for one face being mirrored the wrong way around for sprites. 2016-02-29 19:11:56 +11:00
UnknownShadow200
ddc38805b0 Implement sprite mirroring, closes #56. 2016-02-29 18:11:37 +11:00
UnknownShadow200
40878872bf Fix custom blocks not being able to be modified in singleplayer, also set LastModifiedTime of files when applying a patch to the date of the patch. 2016-02-29 07:49:00 +11:00
UnknownShadow200
6f595f81ec Fix shadows on map water sides (Thanks Lemon), fix liquids being offset incorrectly. 2016-02-20 00:00:39 +11:00