28 Commits

Author SHA1 Message Date
UnknownShadow200
0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +10:00
UnknownShadow200
9e9a739932 Fix Direct3D9 build clipping when standing next to a block, blocks should not be placed over players. (Thanks Empy) 2015-09-30 09:10:55 +10:00
UnknownShadow200
976db7a487 Some cleanup, simplify readme. 2015-09-30 08:33:35 +10:00
UnknownShadow200
938cb13182 Initial work on new client gui. 2015-09-24 09:51:55 +10:00
UnknownShadow200
e35850c535 That was an extremely silly mistake. 2015-09-15 20:22:34 +10:00
UnknownShadow200
6974513adc That was an extremely silly mistake. 2015-09-15 20:19:12 +10:00
UnknownShadow200
2096a554f3 Fix compliation on Mono not working on normal .NET 4. 2015-09-15 20:16:52 +10:00
UnknownShadow200
9d907b333b Add support for 16 bpp back buffers in Direct3D9 api (untested), more work on .dat format. 2015-09-15 20:02:46 +10:00
UnknownShadow200
4371246f96 Add support for drawing indexed dynamic VBs - use less memory in WeatherRenderer and can draw more particles in ParticleManager. 2015-09-03 06:32:28 +10:00
UnknownShadow200
9394ce1794 Use more flexible dynamic vertex buffers in Direct3D9 api, in preparation for #45. 2015-09-02 20:27:41 +10:00
UnknownShadow200
f33428a531 Implement ability to perform partial update of textures on both graphics api backends. Partially addresses #44. 2015-09-02 18:33:13 +10:00
UnknownShadow200
6ebed77929 Add basic singleplayer support. Generates a flatgrass map, but has no support for saving. Partially addresses #40. 2015-09-01 06:50:20 +10:00
UnknownShadow200
385c46e21d Make sure to set the MinIndex in Direct3D9 api, as according to various obscure posts, AMD cards require this to be properly filled out, should fix #34. (Thanks Cheesse for reporting this bug) 2015-08-30 12:09:23 +10:00
UnknownShadow200
d053a3bf90 Fix Direct3D9Api not building, print graphics info in more concise way and print adapter description for Direct3D 9. Fixes chunk visibility not being recalculated after terrain atlas size changes, closes #34. 2015-08-30 06:48:53 +10:00
UnknownShadow200
bea5c34691 Try to minimise api overhead with MapRenderer. 2015-08-23 09:13:28 +10:00
UnknownShadow200
2f9d32fdfd Fix compilation with Direct3D9 api, fix launcher title not being correct version. 2015-08-22 14:52:03 +10:00
UnknownShadow200
a67d44a25c Finally get the solution to properly compile with MonoDevelop. 2015-08-22 08:04:01 +10:00
UnknownShadow200
9d73e2492d Integrate SharpDX into OpenTK. 2015-08-16 10:16:59 +10:00
UnknownShadow200
54afbcdb65 Combine IndexBuffer and VertexBuffer, simplify methods of setting data, use inlined fixed instead of GCHandles. 2015-08-16 06:43:37 +10:00
UnknownShadow200
cfeabc612a Remove Result struct and just use int return code. 2015-08-15 14:32:56 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
96b508a2ce Optimise even further, fix bug with sky drawing with OpenGL api. 2015-08-04 11:35:57 +10:00
UnknownShadow200
1590664f68 Make IGraphicsApi even more consistent. 2015-08-04 07:17:20 +10:00
UnknownShadow200
749a1b0436 Simplify API further. 2015-08-04 07:03:20 +10:00
UnknownShadow200
efc7b0bfe6 Use stackalloc to avoid allocating index buffer on LOH, remove Is<X> methods in IGraphicsApi and make IGraphicsApi more consistent. 2015-08-04 06:32:12 +10:00
UnknownShadow200
281e815125 Significantly reduce allocation of GCHandles, replace with inlined fixed statement in GL class. 2015-08-03 20:08:04 +10:00
UnknownShadow200
4bf4209a4c Don't crash when the device is lost, partially addresses #30. Need to conduct more thorough testing to ensure that this works on all graphics cards. 2015-07-30 19:54:02 +10:00
UnknownShadow200
df879604f2 Major rewrite of graphics APIs: Use SharpDX instead of Managed DirectX (64 bit works now), rewrite OpenTK GL class to use calli instructions. 2015-07-28 06:53:22 +10:00