Commit Graph

41 Commits

Author SHA1 Message Date
UnknownShadow200 a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200 1bf5c9e68f Super quick fix for OpenGL backend crashing on start. 2016-02-18 23:14:28 +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 0f87b7feb5 Specify whether the FastBitmap instance is readonly or not. (Mainly for android) 2016-01-21 21:19:23 +11:00
UnknownShadow200 b79de4c457 Create and implement the CpeTextColours extension. 2016-01-10 21:05:46 +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 dacd6e4f44 Use MinBB/MaxBB in place of +0/+1, except for mesh builder. 2015-12-15 13:36:49 +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 42e86be6f0 Fix crashing when rainy but not drawing any vertices on nVidia cards, use default.png font for player names. 2015-11-02 17:29:56 +11:00
UnknownShadow200 bc92278291 More comments in IGraphicsAPI. 2015-10-29 06:58:11 +11:00
UnknownShadow200 59aa0a1c07 Remove console window from default builds. 2015-10-27 07:08:46 +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 e83957c685 More code commenting and cleanup. 2015-10-25 20:34:47 +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 1740631f17 Simplify linux backend, use core vbo functions if running >= 1.5 opengl. 2015-10-01 18:10:22 +10:00
UnknownShadow200 0979c0597e Fix translucent blocks, fix clipboard crashing the client. 2015-09-30 13:49:37 +10:00
UnknownShadow200 938cb13182 Initial work on new client gui. 2015-09-24 09:51:55 +10:00
UnknownShadow200 2096a554f3 Fix compliation on Mono not working on normal .NET 4. 2015-09-15 20:16:52 +10:00
UnknownShadow200 5433643e48 Fix blendfuncs initialisation, oops. 2015-09-09 18:57:21 +10:00
UnknownShadow200 2920b3afb5 Hopefully address problem raised in comments in #61, thanks Mono. 2015-09-09 18:25:29 +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 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 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 dab0e31bfc More code XML comments. 2015-08-29 11:54:55 +10:00
UnknownShadow200 2ffa078e75 Experimental heightmap optimisation. Runs a lot quicker. (750ms to 600ms for 256 sized map, 24s to 12s for 512 sized map. 2015-08-25 06:39:54 +10:00
UnknownShadow200 bea5c34691 Try to minimise api overhead with MapRenderer. 2015-08-23 09:13:28 +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 0fe78fdf3b Use indexed drawing and stackalloc in StandardEnvRenderer. 2015-08-04 08:33:00 +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 dd2eb1105a Use single index buffer for all chunks. Very minor increase in performance, but does slightly reduce memory usage. 2015-08-03 19:17:53 +10:00
UnknownShadow200 618ded14e0 Add experimental optimisation of grouping vertices by faces, then skipping all vertices of a face if that face is always back facing. Improves FPS by 50 - 100 in some cases. On slower card, imrpvoed FPS by 5-30. 2015-08-03 17:25:42 +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
UnknownShadow200 4cc1e27157 Cleanup the solution - move the client's files and folders into their own folder. 2015-07-25 06:45:14 +10:00