Commit graph

72 commits

Author SHA1 Message Date
UnknownShadow200
4d3331ae47 Prefer 24 bit depth buffer by default, only use the maximum used atlas in MapRenderer. 2015-10-04 15:24:20 +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
1740631f17 Simplify linux backend, use core vbo functions if running >= 1.5 opengl. 2015-10-01 18:10:22 +10:00
UnknownShadow200
81d1a5f00a Add single player specific option for toggling physics, move drawing rounded rectangle to Utils2D. 2015-09-26 20:11:32 +10:00
UnknownShadow200
6c69baeb38 More physics (still to go: saplings) 2015-09-25 20:21:05 +10:00
UnknownShadow200
808d66ea6c Initial single player physics added. 2015-09-25 18:17:04 +10:00
UnknownShadow200
f8ceac887d Release 0.95, this time with updated assembly versions. 2015-09-24 19:54:20 +10:00
UnknownShadow200
571580a2f4 Release 0.95. 2015-09-24 19:48:06 +10:00
UnknownShadow200
f9b6da294f Remove WindowBorder from OpenTK, simplify a little bit in X11 API. 2015-09-22 20:20:58 +10:00
UnknownShadow200
dde58e8b1d Reorganise BlockInfo, more work on BlockDefinitions. 2015-09-22 16:48:04 +10:00
UnknownShadow200
0f187cf5b0 Remove WindowBorder since we never used it. 2015-09-20 20:28:51 +10:00
UnknownShadow200
b0a180b1db Simplify various stuff in X11 api. 2015-09-20 18:01:18 +10:00
UnknownShadow200
afb81d4088 More work on loading .dat, remove unused functions from SharpDX.Direct3d, fix #75. 2015-09-17 18:16:34 +10:00
UnknownShadow200
9b7e12bb9d Fix crashing when pressing non-mapped keys on 64 bit platforms. 2015-09-16 06:50:26 +10:00
UnknownShadow200
c88348c6d8 Fix rotation of models, use nicer constants in Model classes. 2015-09-13 12:17:34 +10:00
UnknownShadow200
48f8450256 Hopefully fix XButton presses. 2015-09-13 10:43:15 +10:00
UnknownShadow200
a17cda3d3c Print to console when DEBUG_OPENTK is defined instead of using System.Diagnostics.Debug, fixes crashing on Mono and fixes #63. 2015-09-10 13:48:21 +10:00
UnknownShadow200
52d249b84a Calls to CursorVisible must be balanced, fixes #62. 2015-09-10 06:34:24 +10:00
UnknownShadow200
96aaec9dea We have to actually indicate that we handled MouseWheel window message, fixes #57. 2015-09-07 17:49:07 +10:00
UnknownShadow200
6df70aa383 Don't use face culling for translucent liquids, fixes #55. 2015-09-06 17:33:00 +10:00
UnknownShadow200
f3306f48fd Fix setting cursor position on X11, fixes #36. 2015-09-04 19:57:55 +10:00
UnknownShadow200
6f63292268 Add cursor showing and hiding on X11, use our own method of setting X11 cursor position to avoid having to load System.Windows.Forms on Mono. 2015-09-04 19:50:01 +10:00
UnknownShadow200
4769e7dbbd Implement cursor hiding on Windows to partially address #36. (Will do Linux backend next) 2015-09-04 06:55:12 +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
c163ebcb59 Proper fix of UnsafeString on windows platforms - should fix input text and block info string. 2015-09-02 19:44:24 +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
7baf64051f Add proper singleplayer support. Can generate new flatgrass worlds with /client gen, also the client starts singleplayer when no arguments are provided. 2015-09-01 17:24:01 +10:00
UnknownShadow200
c6d797aebc Properly respond to changes in yaw and pitch sent by server. Fix bug with InterpAngle when passing from <90 to >270 degrees. 2015-08-22 14:01:12 +10:00
UnknownShadow200
a67d44a25c Finally get the solution to properly compile with MonoDevelop. 2015-08-22 08:04:01 +10:00
UnknownShadow200
539b6694d1 Fix building on MonoDevelop, log web exceptions in Launcher. 2015-08-22 07:49:57 +10:00
UnknownShadow200
921860b327 Add InteropPatcher to solution, fix InteropPatcher not working properly with some older IDEs. 2015-08-22 07:33:44 +10:00
UnknownShadow200
9d9ca55a7c Make everything in OpenTK have consistent whitespace, simplified detecting unix kernel, combined INativeWindow and IInputDriver. 2015-08-22 06:50:23 +10:00
UnknownShadow200
53fbe02e42 More cleanup in OpenTK. Avoid calling PeekMessage then GetMessage in WinGLNative, we can just use PeekMessage with PM_Remove. 2015-08-18 18:58:35 +10:00
UnknownShadow200
50209b22ad Remove unused joystick code. 2015-08-17 20:03:21 +10:00
UnknownShadow200
40ce65ab09 Combine factory definitions into one file, simplify WinGLContext. 2015-08-17 20:00:03 +10:00
UnknownShadow200
1eb12e83eb X11 cleanup. (Untested) 2015-08-16 16:28:56 +10:00
UnknownShadow200
09912f3d79 Simplify various apis in OpenTK. 2015-08-16 13:13:12 +10:00
UnknownShadow200
12814a308b Simplify event classes, combine various input interfaces into one interfaces file. 2015-08-16 11:41:01 +10:00
UnknownShadow200
09939603de Simplify Vector and Matrix structs. 2015-08-16 10:51:14 +10:00
UnknownShadow200
9d73e2492d Integrate SharpDX into OpenTK. 2015-08-16 10:16:59 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
1590664f68 Make IGraphicsApi even more consistent. 2015-08-04 07:17: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
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
e2d154d2c4 Cleanup in OpenTK. 2015-07-27 19:17:25 +10:00
UnknownShadow200
5f7aafc8e1 Remove Color4 and unused VirtualKey definitions. 2015-07-27 17:06:35 +10:00
UnknownShadow200
f99e9eeb3a Fix crashing on close, remove file that somehow magically appeared? 2015-07-21 19:05:59 +10:00
UnknownShadow200
25d7cbda9e Combine player rendering functions into Player class, remove D3DX reference since we longer need it. 2015-07-21 18:48:51 +10:00
UnknownShadow200
7c1479526a Release 0.8. This will likely be the last work done on the client for a while. 2015-07-10 07:40:25 +10:00