34 Commits

Author SHA1 Message Date
UnknownShadow200
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +10:00
UnknownShadow200
ac65ac2ee9 Client: Roughly approximate block density fog in fast mode. 2016-09-15 17:00:51 +10:00
UnknownShadow200
2ca63e97d1 Client: Use better fog colour when in fast render mode. 2016-09-15 16:40:09 +10:00
UnknownShadow200
67f98eb825 Client: Don't show water/lava on vertical bit of borders (thanks tornato). Also offset horizon blocks properly. 2016-09-15 15:11:27 +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
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
ae5f379438 Fix client crash when using normalfast mode and on Intel OpenGL build. 2016-08-06 09:15:54 +10:00
UnknownShadow200
c283494e4b Fix changing shadow colour not rebuilding map bedrock sides (which uses shadow colour), thanks goodlyay. 2016-07-31 21:13:29 +10:00
UnknownShadow200
cbfcc01bbf Optimise weather rendering, part 1. 2016-07-18 18:21:37 +10:00
UnknownShadow200
7be81bea37 Fix most of remaining compilation errors on android project type. 2016-07-14 11:29:54 +10:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00
UnknownShadow200
2a233d9b11 Fix z-fighting and picking issues with water/lava. 2016-07-08 14:47:00 +10:00
UnknownShadow200
b2d0737b18 RenderType command should save between sessions. (Thanks classic1234) 2016-06-26 22:36:49 +10:00
UnknownShadow200
5b5b76f185 Fix skybox not being affected by view bobbing. 2016-06-26 09:03:54 +10:00
UnknownShadow200
df12571d96 Don't load a texture if it is bigger than gpu's max supported size. 2016-06-23 10:50:51 +10:00
UnknownShadow200
635aa4d348 Fix map border blocks not being at correct height, draw translucent blocks before map water when underwater for proper alpha blending. 2016-06-22 18:50:47 +10:00
UnknownShadow200
46095f6db9 Use methods compatible with OpenTK 1.0 API. 2016-06-21 08:34:27 +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
585bde4454 Do not toggle depthwrite on/off in weather renderer unless necessary. 2016-06-08 15:16:31 +10:00
UnknownShadow200
1158193ad1 Fix selected block outline not showing when looking through map edge water. 2016-06-08 15:04:17 +10:00
UnknownShadow200
4c0b6ea1d6 Use safer method of incrementing pointers. 2016-05-25 22:16:38 +10:00
UnknownShadow200
fe6dccc944 Reduce shadow alpha slightly (Thanks goodlyay). 2016-05-16 15:22:28 +10:00
UnknownShadow200
c6d087f3e8 Quick fix for rain/snow. 2016-05-15 22:33:19 +10:00
UnknownShadow200
babf253b59 Add resources list class for launcher. 2016-05-15 19:31:37 +10:00
UnknownShadow200
664fb536c5 Implement rain/snow mirroring. (Thanks goodlyay) 2016-05-15 17:34:11 +10:00
UnknownShadow200
ae50dbd614 Remember that switching to another map does not raise EnvVarChanged event, fixes colour applied to skybox not being reset. (Thanks goodlyay) 2016-05-15 16:52:21 +10:00
UnknownShadow200
f05fba36de Can change skybox colour (Thanks goodlyay). 2016-05-15 13:17:07 +10:00
UnknownShadow200
3546d165df Fix skybox rendering in forward third person mode. (Thanks 123DMWM) 2016-05-15 13:06:32 +10:00
UnknownShadow200
ea7b4d743d Fix orientation of top/bottom faces (thanks goodlyay), closes #186. 2016-05-14 21:23:06 +10:00
UnknownShadow200
66e9329eb4 Read skybox.png from the texture pack if given. 2016-05-14 20:51:26 +10:00
UnknownShadow200
8f8ae2f36f Initial work on texture packs. 2016-05-14 20:37:07 +10:00
UnknownShadow200
109e5fc1a8 Render rain/snow in correct order. 2016-05-13 19:49:39 +10:00