151 Commits

Author SHA1 Message Date
UnknownShadow200
fdd4b93fdb Fix incorrect lighting when replacing slab lower with slab upper 2017-02-26 23:38:22 +11:00
UnknownShadow200
fe7b494a84 comments 2017-02-25 19:11:53 +11:00
UnknownShadow200
2738713a83 Skip inside faces for all opaque blocks, even those that are not a full solid block. 2017-02-21 08:27:09 +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
e02faa36e5 Add exp fog (thanks goodlyay) 2017-02-06 11:56:22 +11:00
UnknownShadow200
d947ac6988 Slightly less hardcoding 2017-02-01 17:36:09 +11:00
UnknownShadow200
e7aa519846 more concise interpolation, fix last commit 2017-01-25 22:30:56 +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
75f0a73841 Style: Indent catch and switch properly. 2016-12-02 15:31:34 +11:00
UnknownShadow200
619ebafca1 more work on abstracting lighting 2016-12-02 15:29:23 +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
250ab7f417 Do same for launcher 2016-11-27 14:50:45 +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
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +11:00
UnknownShadow200
cc4f284591 Client: Fix 'always yes' not working (Thanks Daeslender), fix sprite blocks loading wrongly from .cw files. 2016-10-19 07:52:18 +11:00
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