Commit Graph

20 Commits (c006555b0129cc4429c21ec2ab60fd1cfa7daa52)

Author SHA1 Message Date
Nemirtingas 1016e7f47f Fix lag on events
Found on sanctum2, returning 0 in XPending & XEventsQueued make the SDL do something else than polling events and makes lag the event loop.
Now the event loop returns 0 when there are no more events.
2019-09-03 17:25:42 +02:00
Nemirtingas 9fa4053551 Cleanup 2019-09-03 11:38:54 +02:00
Nemirtingas bb8cfbda10 Updated ImGui event handle for X11 2019-09-03 11:37:36 +02:00
Nemirtingas aeeb85da55 This should do something like this
(Working on portal2 ubuntu 18.04)
2019-09-02 10:51:16 +02:00
Nemirtingas b9cd9ae6c2 Fix build 2019-09-01 20:53:16 +02:00
Nemirtingas 1785ae6eaf Moved every platform specific code to their own folder 2019-09-01 20:48:27 +02:00
Nemirtingas 8a6db1c401 ImGui X11 impl 2019-09-01 20:47:04 +02:00
Nemirtingas cb0e1dff25 Added opengl32 lib and declared glew as static 2019-08-16 11:11:13 +02:00
Nemirtingas 1ce95ec672 Fixed compilation on Clang-cl 2019-08-14 18:06:32 +02:00
Nemirtingas d2a75db930 Moved colored implementation to their own functions
To minimise source code modifications, colored input text has been moved to their own functions.
The ImFont is still modified tho.
2019-08-03 14:37:03 +02:00
Nemirtingas 804355fa54 Fix input select going out of bound 2019-08-03 13:44:33 +02:00
Nemirtingas 4f9e67d700 Support for chat message (WIP) 2019-08-03 12:58:48 +02:00
Nemirtingas 3a0d9c55c1 Added support for dynamic d3dcompile load
If you really want to use d3dcompile, then I think its better to find the most recent d3dcompile you have on your computer and load its D3DCompile function.
This process is now automatically handled. Just define  the right Preprocessor.
2019-08-02 09:06:59 +02:00
Nemirtingas e6826d8ead Basic & Ugly implementation of overlay.
Overlay still WIP, don't look too much into the code.
I will do it better soon.
2019-08-01 15:47:47 +02:00
Nemirtingas 6328b59b0b Added opengl hook 2019-08-01 15:47:38 +02:00
Nemirtingas 3d3c8b26cd Added ImGui precompiled shaders
(And removed dependency to d3dcompile)
2019-07-25 23:32:52 +02:00
Nemirtingas ead81a704b Added missing ImGui headers 2019-07-25 23:31:24 +02:00
Nemirtingas cb28b22fd3 Don't support gamepad (remove directinput dependency) 2019-07-25 23:27:54 +02:00
Nemirtingas faf13e77b6 Added 64bits support to ImGui 2019-07-25 23:27:09 +02:00
Nemirtingas 176c9eb7dd Added ImGui base code
I'll implement overlay with ImGui
2019-07-25 23:25:46 +02:00