24 Commits

Author SHA1 Message Date
UnknownShadow200
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +10:00
UnknownShadow200
f399c838f2 Client: Keep track of edge level in mesh builder. 2016-09-15 10:56:32 +10:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +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
466bd531cd Avoid unnecessary memory allocation in BlockDefinitionChanged. 2016-08-16 14:26:44 +10:00
UnknownShadow200
a9b3c0876e Fix last commit. 2016-07-12 20:15:19 +10:00
UnknownShadow200
4281dead19 Allow switching between normal / smooth lighting mesh building at runtime. 2016-07-09 16:10:32 +10: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
UnknownShadow200
118f134b8f Implement top-face water culling like classic. 2016-07-07 17:42:26 +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
3291c47b9f Fix last commit. 2016-06-28 16:55:36 +10:00
UnknownShadow200
d2c6820dec Do much more optimised chunk rendering, this can double FPS on very large worlds (512^3 or 1024^3) which have many empty chunks. 2016-06-28 13:29:42 +10:00
UnknownShadow200
46095f6db9 Use methods compatible with OpenTK 1.0 API. 2016-06-21 08:34:27 +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
303812a0df Minimise number of chunks that need to be recalculated on a lighting change. 2016-06-06 21:45:28 +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
2717458067 Move everything to WorldEnv class. 2016-05-11 19:29:59 +10:00
UnknownShadow200
442d72bd6b More usage of IGameComponent 2016-05-08 18:53:52 +10:00
UnknownShadow200
0c84116f93 Do not reallocate ChunkInfo on Refresh(), reduces temp memory allocations. 2016-05-01 22:01:11 +10:00
UnknownShadow200
730d472da7 Quick fix for last commit 2016-04-27 14:42:43 +10:00
UnknownShadow200
7f2cd4191b Make ChunkUpdater code more concise. 2016-04-27 11:51:07 +10:00
UnknownShadow200
0920837bcb Fix client crashing when switching to a texture pack with less used 1D atlases. (Thanks MrGoober) 2016-04-20 16:04:12 +10:00
UnknownShadow200
02d861b275 Quick fix for commit 8956cc5abdd346b6f3f71549abe37ff3f3a63689 2016-04-20 11:40:07 +10:00
UnknownShadow200
8956cc5abd Modularise MapRenderer class. 2016-04-20 08:41:22 +10:00