5272 Commits

Author SHA1 Message Date
UnknownShadow200
36d791e604 Fix being unable to modify .zip with some programs. 2015-09-13 18:12:38 +10:00
UnknownShadow200
4cc11bf57a Fix spelling mistake. 2015-09-13 18:04:21 +10:00
UnknownShadow200
e15492aa44 Light emitting blocks should always be flat shaded at full brightness, fixes #69. 2015-09-13 14:33:43 +10:00
UnknownShadow200
8659760440 Fix some slab lighting bugs, support the ability to define animations with an animations.txt file, partially addresses #44. 2015-09-13 14:17:43 +10:00
UnknownShadow200
d5f36adc8d Undo debug yaw/pitch offesting. 2015-09-13 12:19:20 +10:00
UnknownShadow200
c88348c6d8 Fix rotation of models, use nicer constants in Model classes. 2015-09-13 12:17:34 +10:00
UnknownShadow200
3779565272 Chicken.png is in modern jar, not classic jar. 2015-09-13 11:04:32 +10:00
UnknownShadow200
7c3b59691b Fix block models. 2015-09-13 10:57:17 +10:00
UnknownShadow200
48f8450256 Hopefully fix XButton presses. 2015-09-13 10:43:15 +10:00
UnknownShadow200
8a140863fd Fetch snow and animations from modern minecraft. 2015-09-13 09:03:59 +10:00
UnknownShadow200
58e5816acf Much more work on patching. Now we just depend on extract resources from classic's jar and terrain-patch.png. Snow is still broken. 2015-09-13 08:12:47 +10:00
UnknownShadow200
69fb5dcb89 Add a far more compliant .zip reader, we can now treat classic.jar directly as a texture pack. 2015-09-12 17:03:31 +10:00
UnknownShadow200
d535448bb4 Load animations.png from texture pack if it exists. 2015-09-12 13:56:37 +10:00
UnknownShadow200
41073fc4b9 Initial work on animations, half size of block picking and change its colour to black. 2015-09-12 13:43:33 +10:00
UnknownShadow200
3f199816f8 Fix sheep model. 2015-09-12 09:43:03 +10:00
UnknownShadow200
5a8ec25957 Add ability to change entity textures with local texture packs. 2015-09-12 09:29:33 +10:00
UnknownShadow200
670a887218 Load terrain.png from texture packs, add client command to load texture packs. 2015-09-12 08:46:48 +10:00
UnknownShadow200
d4878426bc Fix gold block, sandstone and pillar textures (Thanks Goodlyay) 2015-09-12 08:19:38 +10:00
UnknownShadow200
b6655d54d0 Add simple .zip reader (For reading texture packs), partially addresses #44. 2015-09-12 07:37:34 +10:00
UnknownShadow200
4c73ceb7a6 Adjust player collision size we can jump into two block high tunnels, fixes #68. 2015-09-11 19:56:38 +10:00
UnknownShadow200
c714c5136a Can now press F1 to hide gui. 2015-09-11 19:39:48 +10:00
UnknownShadow200
1ec491d2a1 Entities should use map sunlight and shadowlight colours, camera should use old camer's delta and previous mouse position. Fixes #66, fixes #67. 2015-09-11 18:11:10 +10:00
UnknownShadow200
cef12ac553 Fix lighting bug with slabs. 2015-09-10 19:39:42 +10:00
UnknownShadow200
061d9f7745 Player should only be able to go outside map boundaries (except for flying above the map) when noclip is enabled, fixes #64. 2015-09-10 14:33:04 +10:00
UnknownShadow200
a17cda3d3c Print to console when DEBUG_OPENTK is defined instead of using System.Diagnostics.Debug, fixes crashing on Mono and fixes #63. 2015-09-10 13:48:21 +10:00
UnknownShadow200
52d249b84a Calls to CursorVisible must be balanced, fixes #62. 2015-09-10 06:34:24 +10:00
UnknownShadow200
dbeeb51ddf Hopefully fix remove last of InitialiseArray() with enum calls. 2015-09-09 19:23:27 +10:00
UnknownShadow200
5433643e48 Fix blendfuncs initialisation, oops. 2015-09-09 18:57:21 +10:00
UnknownShadow200
3459b28264 Update assembly version. (Hello webhook) 2015-09-09 18:33:16 +10:00
UnknownShadow200
2920b3afb5 Hopefully address problem raised in comments in #61, thanks Mono. 2015-09-09 18:25:29 +10:00
UnknownShadow200
46a09255cc Try to find cause of crash found in comments in #61. 2015-09-09 06:28:48 +10:00
UnknownShadow200
2e502ee8bb Implement support for resetting block definitions. 2015-09-08 20:10:54 +10:00
UnknownShadow200
d705593c36 Add highly experimental, partial support for BlockDefinitions to address #42. 2015-09-08 06:28:30 +10:00
UnknownShadow200
96aaec9dea We have to actually indicate that we handled MouseWheel window message, fixes #57. 2015-09-07 17:49:07 +10:00
UnknownShadow200
4fbaa4196f Client should not move to pause screen when chat input bar is active, fixes #60. 2015-09-07 17:00:19 +10:00
UnknownShadow200
8a531558ff Implement reading of BlockDefinitions packet, but no actual support yet. 2015-09-07 16:56:01 +10:00
UnknownShadow200
5fb2f45189 Fix chunks not being refreshed properly when sunlight/shadowlight changes. Fix client raising EnvVariableChanged events even if new is equal to old, fixes #54. 2015-09-07 06:29:11 +10:00
UnknownShadow200
896408a751 Particles should use shadow colour when in shadow, fixes #59. 2015-09-06 18:04:12 +10:00
UnknownShadow200
e43add1d32 Client should switch to block on the hotbar if it is the same as the new held block rather than duplicating it, fixes #58. 2015-09-06 17:57:25 +10:00
UnknownShadow200
6df70aa383 Don't use face culling for translucent liquids, fixes #55. 2015-09-06 17:33:00 +10:00
UnknownShadow200
03b21b62a7 Do not use our own special packed atlas, use the standard atlas in preparation for #42. 2015-09-06 08:13:21 +10:00
UnknownShadow200
d95272f4a7 Read saved environment metadata from maps in singleplayer mode. 2015-09-05 20:24:54 +10:00
UnknownShadow200
81906c75ed Mention in readme that you don't really need to turn off VSync anymore for faster chunk mesh building. 2015-09-05 09:39:46 +10:00
UnknownShadow200
b6289b6b79 Increase number of chunks built per frame if we can. 2015-09-05 09:35:27 +10:00
UnknownShadow200
0c7dec86e4 Sadly, it turns out that our memory string optimisation procedures corrupted the headp after the GC was run. Turns out because (I might be wrong though) that the GC appears to try to use leftover string space for heap allocations, which sometimes caused random corruptions but mostly crashes as were directly modifying the underlying string length. Fixes #51. 2015-09-05 07:36:51 +10:00
UnknownShadow200
f3306f48fd Fix setting cursor position on X11, fixes #36. 2015-09-04 19:57:55 +10:00
UnknownShadow200
6f63292268 Add cursor showing and hiding on X11, use our own method of setting X11 cursor position to avoid having to load System.Windows.Forms on Mono. 2015-09-04 19:50:01 +10:00
UnknownShadow200
4769e7dbbd Implement cursor hiding on Windows to partially address #36. (Will do Linux backend next) 2015-09-04 06:55:12 +10:00
UnknownShadow200
875ec23b5b Add proper brightness to entities, closes #45. (Thanks Goodlyay) 2015-09-03 20:14:10 +10:00
UnknownShadow200
9a69dba8c5 And get player animations working again. 2015-09-03 20:06:30 +10:00