Commit Graph

44 Commits

Author SHA1 Message Date
UnknownShadow200 87721a8e6e Implement reverse floating point depth buffer. (Breaks OpenGL) 2016-03-26 21:47:37 +11:00
UnknownShadow200 a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200 17b695845a Fix entity shadows on Direct3D9 backend. (Thanks goodlyay) 2016-02-18 23:13:19 +11:00
UnknownShadow200 7427d399c5 Particles now use the 1D texture atlas arrays. This means we no longer need a copy of the 2D terrain atlas in vram. 2016-01-31 23:54:45 +11:00
UnknownShadow200 be005c791f Abstract away platform specific window/input handling. 2016-01-21 21:09:41 +11:00
UnknownShadow200 101cbc5f06 Add more methods for android, add platform class to abstract away some platform differences. 2016-01-07 22:29:40 +11:00
UnknownShadow200 c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200 928ab17ec2 More comments. 2015-11-03 16:26:15 +11:00
UnknownShadow200 bc92278291 More comments in IGraphicsAPI. 2015-10-29 06:58:11 +11:00
UnknownShadow200 6f8a4be44d Use /client gpuinfo and log gpu info when an unhandled exception occurs, rather than always displaying it at startup. 2015-10-26 20:51:55 +11:00
UnknownShadow200 f63d1e35e1 Begin to phase out usage of LogX/Y/Z calls, see issue #108 for why this is being done 2015-10-26 19:55:16 +11:00
UnknownShadow200 e83957c685 More code commenting and cleanup. 2015-10-25 20:34:47 +11:00
UnknownShadow200 534294f646 More comments, separate heightmap calculation. 2015-10-25 08:32:17 +11:00
UnknownShadow200 7cf129963d More comments, new launcher works on linux. 2015-10-21 18:30:18 +11:00
UnknownShadow200 b000dcd543 Add functionality for isometric block drawing for gui, simplify and arrange graphics api info, add warning for intel graphics cards users that they should use Direct3D build because of the lousy OpenGL implementation. 2015-10-06 20:15:48 +11:00
UnknownShadow200 87ffa1e5fe Fix Direct3D9 build crashing if another application took and exited exclusive fullscreen, potentially fix crash in SetBlock packet. 2015-10-03 08:25:28 +10:00
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