1656 Commits

Author SHA1 Message Date
UnknownShadow200
d8fa0aeb1f Slightly fix smooth lighting. 2016-07-12 14:38:16 +10:00
UnknownShadow200
b345631f79 Make sure to set DefaultWebProxy to null before creating web request, hopefully addresses #227. (Thanks incubusMindgame) 2016-07-11 15:41:48 +10:00
UnknownShadow200
53728f453f More work on smooth lighting.. breaks it again though. 2016-07-10 23:28:13 +10:00
UnknownShadow200
d886909889 First pass on redesigned smooth lighting code. Still a major WIP. 2016-07-10 20:53:24 +10:00
UnknownShadow200
d2034decf2 Cleanup in smooth lighting mesh builder. 2016-07-10 20:04:31 +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
e36304f363 Warn that smooth lighting is not finished yet. 2016-07-10 00:32:13 +10:00
UnknownShadow200
b5d4093873 Fix sprites being mirrored incorrectly in inventory. (Thanks 123DMWM) 2016-07-09 23:35:03 +10:00
UnknownShadow200
3ffb85b2cb Merge pull request #226 from Goodlyay/master
Add unfinished smooth lighting as an option (Thanks UnknownShadow200!)
2016-07-09 18:55:10 +10:00
UnknownShadow200
de89dc891e Cache native window width and height. 2016-07-09 18:43:07 +10:00
UnknownShadow200
35844e526d Optimise lava animation algorithm. 2016-07-09 18:17:27 +10:00
UnknownShadow200
0160285b98 Remove unnecessary fields. 2016-07-09 18:02:45 +10:00
Goodlyay
fd87455735 Attempted fix to top face again. 2016-07-09 00:50:44 -07:00
UnknownShadow200
5ce7e3484a Fix top face. 2016-07-09 17:04:19 +10:00
UnknownShadow200
8ad2dabd29 Inline count function. 2016-07-09 16:53:33 +10:00
UnknownShadow200
4281dead19 Allow switching between normal / smooth lighting mesh building at runtime. 2016-07-09 16:10:32 +10:00
UnknownShadow200
cb07f2666d Finish implementing normal and smooth-lighting subclasses for mesh builder. 2016-07-09 15:56:18 +10:00
Goodlyay
7236d0f419 Revert "Revert "Add smoothing on bottom face.""
This reverts commit 7dc7dbef00673693c2c0379e1adffb2a39ae59ce.
2016-07-08 22:51:01 -07:00
Goodlyay
7dc7dbef00 Revert "Add smoothing on bottom face."
This reverts commit db9089fdd7f6ca85e8ccb319c01c252849a9dfa5.
2016-07-08 22:46:49 -07:00
Goodlyay
db9089fdd7 Add smoothing on bottom face. 2016-07-08 22:41:11 -07:00
UnknownShadow200
f39f83cd22 Start work on modularising mesh builder class, so we can support both normal and smooth lighting backends. 2016-07-09 15:30:39 +10:00
Goodlyay
06657bbdf1 Add light smoothing to top and side faces of blocks. 2016-07-08 20:15:14 -07:00
UnknownShadow200
9b45596107 Release 0.99.2 again. (Fix last commit, I am too tired) 0.99.2 2016-07-09 00:18:50 +10:00
UnknownShadow200
d26f2a39b5 Release 0.99.2. Dig animation still isn't quite right, annoyingly. 2016-07-08 23:53:51 +10:00
UnknownShadow200
b93b9c6070 Get dig animation mostly right. (Much much thanks to goodlyay and his gifs) 2016-07-08 23:30:08 +10:00
UnknownShadow200
f227bbfbbf Modularise animation part of held block into a separate file. 2016-07-08 22:06:35 +10:00
UnknownShadow200
9e1eca9491 Fix 20+names in classic list overflowing box size slightly, also fix selected outlined block being translucent causing entity shadows to disappear. 2016-07-08 20:42:22 +10:00
UnknownShadow200
499a60a42c Inline CollisionsComponent.GetBoundingBox. 2016-07-08 20:10:58 +10:00
UnknownShadow200
cd3072281a Make neighbouring border liquids (e.g. lava on left, stone on left and abovfe the lava) only interact with you on XMin/Zmin faces, to match original classic behaviour. (Thanks MrRockman888) 2016-07-08 16:48:38 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +10:00
UnknownShadow200
333d7cef53 Reduce Texture struct size by 4 bytes, also fix issue with Control+Backspace. (Thanks FabTheZen) 2016-07-08 12:29:55 +10:00
UnknownShadow200
d25998b39f Jump bobbing should only be enabled when view bobbing is enabled to match original classic behaviour (Thanks lavacraft), fix launcher crashing when classic mode and no terrain.png in default.zip, fix launcher servers list occasionally skipping a full redraw on a resize. 2016-07-08 11:55:24 +10:00
UnknownShadow200
3ef1e305d7 Make singleplayer physics behaviour more accurate to original classic. (Thanks McBean65645) 2016-07-07 23:58:28 +10:00
UnknownShadow200
a4eb33dbfd Fix skybox (and other textures) being lost after clicking 'try to reconnect'. (Thanks 123DMWM) 2016-07-07 23:10:44 +10:00
UnknownShadow200
1dd58bf874 Fix selection outline writing to depth buffer when it should not be. 2016-07-07 22:59:52 +10:00
UnknownShadow200
7236028106 Optimise lava animation slightly. 2016-07-07 22:01:36 +10:00
UnknownShadow200
b135d484b3 Allow custom texture packs to specify a file to use the built-in dynamic lava generation algorithm. (Thanks goodlyay) 2016-07-07 21:56:11 +10:00
UnknownShadow200
118f134b8f Implement top-face water culling like classic. 2016-07-07 17:42:26 +10:00
UnknownShadow200
19bfc4a801 Fix culling properly for liquids. 2016-07-07 16:59:21 +10:00
UnknownShadow200
1578bac6bc Make held block and dig animations more accurate. 2016-07-07 15:21:51 +10:00
UnknownShadow200
b732b8a58a Fix receiving handshake packet settings 'receivedFirstPosition' to false (thanks again opticalza), optimise skybox rendering to avoid unnecessary clear call. 2016-07-07 00:09:52 +10:00
UnknownShadow200
7fa3fb5ca1 Error screen is same colour as classic, minor performance optimisations for mesh building. 2016-07-06 23:47:48 +10:00
UnknownShadow200
ad720d69dd Fix rare crash when placing block at top of map. (Thanks kinjacidaleen) 2016-07-05 20:34:05 +10:00
UnknownShadow200
927ef5b2b6 Fix mistakes in handling when our own player name is different to username. (Thanks opticalza) 2016-07-05 15:32:13 +10:00
UnknownShadow200
6102a4f2ce Fix texture memory leak. (Thanks lavacraft) 2016-07-05 12:40:06 +10:00
UnknownShadow200
63d71cfa2b Fix alex skins that aren't 64x64. (Thanks goodlyay) 2016-07-04 20:49:38 +10:00
UnknownShadow200
5ec0fc783a Add lava animation like classic. (Much much thanks to goodlyay) 2016-07-03 17:04:26 +10:00
UnknownShadow200
39828c82aa Fix unhelpful error message when running the launcher but ClassicalSharp.exe is missing, fixes #224. (Thanks Mel321) 2016-07-01 14:19:20 +10:00
UnknownShadow200
2e04b086e8 Fix music thread crashing on .NET 2.0 without a service pack. (Thanks winsupermario) 2016-07-01 11:11:23 +10:00