1
0
Fork 0
Commit graph

282 commits

Author SHA1 Message Date
5a7a5e3f7c source/Platform/Win32/Win32Window.h: fix header guard. 2023-08-22 17:12:36 +02:00
afc0845006 source/Platform/PlatformWindow.h: rename parent to owner as the generic window is not really a parent to the platform one. 2023-08-22 17:10:08 +02:00
45d3bff620 Unix: Rename X11Display to X11Window and make it work again with Spectre/Window/Window 2023-08-22 10:06:19 +02:00
24da7f45e0 Rename Display to Window.
It makes more sense to be consistent and always call it window.
2023-08-22 07:12:47 +02:00
416a71f744 Spectre/Math: Adding Vector2UnProject() 2023-08-21 07:05:34 +02:00
813c0dab17 source/System/Log.cpp: make sure the writer is flushed after we write a line. 2023-08-20 21:07:13 +02:00
7b0cf72ac4 Spectre/System/Log/FileWriter: Implement flush() 2023-08-20 21:06:39 +02:00
0f7a4bbabc include/Spectre/Math/Transform.h: Adding inverse() 2023-08-18 17:54:37 +02:00
910bad0fb7 source/Math/Transform.cpp: Style fixes. 2023-08-18 17:54:37 +02:00
c313c5134f source/Platform/Win32/Win32Keyboard.cpp: Minor style fixes. 2023-08-04 03:43:46 +02:00
7b46a85cec source/Platform/Win32/Win32Keyboard.cpp: Fixing some keycodes that where wrong. 2023-08-04 03:43:26 +02:00
fcc292a40f source/Platform/Win32/Win32Display.cpp: in create() fix a bug where window size was initially not setup correctly causing two resize events. 2023-08-03 15:43:18 +02:00
ea4267ef2d source/Platform/Win32/Win32Display.cpp: Use calculateSize() in setSize() 2023-08-03 15:24:11 +02:00
80591ff6ee source/Platform/Win32/Win32Display: Adding calculateSize() 2023-08-03 15:23:19 +02:00
76aa838e8e source/Platform/Win32/Win32GLContext.cpp: in isActive() make sure this function returns false if m_renderContext is null. 2023-08-02 22:48:40 +02:00
c1f1dd75bd GLContext: remove setSize() and set glViewport() in Display::onReshape() 2023-08-02 22:30:45 +02:00
60333f6d02 include/Spectre/Display/Display.h: Adding getSize() 2023-08-02 22:18:33 +02:00
085d593b66 source/Platform/Unix/X11Display.cpp: implement grabCursor() 2023-08-02 20:30:37 +02:00
d601d95d40 source/Platform/Unix/X11Display.cpp: Tell window to generate pointer events. 2023-08-02 20:30:37 +02:00
2cf035089b source/Platform/Unix/X11Display.cpp: implement fullscreen somewhat correctly :) 2023-08-02 20:30:37 +02:00
186a6e0f14 Unix: Adding FindMode() XRandR helper function. 2023-08-02 20:30:37 +02:00
624871486f source/Platform/Unix/X11Display.cpp: Improve logging. 2023-08-02 20:30:37 +02:00
57d4e44bbe source/Platform/Unix/X11Display.cpp: make getSize() query X11 and dont just return cached value. 2023-08-02 20:30:37 +02:00
ea0edcf07f source/Platform/Unix/GLXContext.h: Whitespace fix. 2023-08-02 20:30:37 +02:00
1854c4cb51 source/Platform/Unix/GLXContext.cpp: Whitespace fix. 2023-08-02 20:30:37 +02:00
35a6b38d16 source/Platform/Unix/X11Mouse.cpp: minor whitespace fix. 2023-08-02 20:30:37 +02:00
53d8248b8c source/Platform/Unix/X11Display.cpp: typofix. 2023-08-02 20:30:37 +02:00
ff5d719fcf source/Platform/Unix/X11Display.cpp: Do not capture Pointer motions. 2023-08-02 20:30:37 +02:00
75a53f635d source/Platform/Unix/X11EventQueue.cpp: Remove ResizeRequest. 2023-08-02 20:30:37 +02:00
043afc4e3d source/GfxDriver/OpenGL/OpenGLDrv.h: Adding createShaderProgram() 2023-07-25 18:56:38 +02:00
5144c197d5 Style fixes. 2023-05-01 17:48:02 +02:00
5c5d9fe09a GfxDriver: add getName() getVersion() and getCardName() 2023-05-01 17:46:37 +02:00
43354fc9b4 Spectre/Math: rename all vector length() and normalize() functions to len() and normal() 2023-04-30 23:07:25 +02:00
4a6a20342d Spectre/Math/Time: minor fixes and documentation 2023-04-30 23:02:16 +02:00
b9936e5867 source/Math/Logarithm.cpp: include cmath directly instead of cstdlib 2023-04-30 15:58:29 +02:00
ff44ec7b7a source/Math/Logarithm.cpp: c++11/C99 has log2 in cmath. not sure why i didnt use it. 2023-04-30 15:55:20 +02:00
c1cc476094 source/Platform/Win32/Win32Display.cpp: Tab indentation fix. 2023-02-18 14:03:14 +01:00
ba504c7efc Spectre/Game: Set default log writer. 2023-02-18 13:59:42 +01:00
faed79c653 Spectre/System/Log: Support Writer interface. 2023-02-18 13:59:42 +01:00
8db01a0957 Adding Spectre/System/Log/FileWriter class. 2023-02-18 13:59:42 +01:00
9928a3599e include/Spectre/System/Log.h: Change message variable name to format. 2023-02-18 13:59:42 +01:00
2bb0cbaf6b source/Graphics/Graphics.cpp: implement getDriver() 2023-02-18 13:10:43 +01:00
869b41c38a source/Platform/Unix/UnixMisc.cpp: tab indentation fix. 2023-02-18 13:08:03 +01:00
a024e7015d Whitespace fixes. 2023-02-18 13:06:02 +01:00
07f32ee129 include/Spectre/Graphics.h: Adding getDisplay() 2023-02-18 13:05:07 +01:00
9c4c6152c9 source/Platform/Win32/Win32Display.cpp: Whitespace fix. 2022-10-08 17:29:27 +02:00
9b683e9a5c source/Graphics/Graphics.cpp: should delete m_gfxdrv in destructor. 2022-10-08 16:49:04 +02:00
82343f0835 source/Graphics/Image.cpp: minor style fix. 2022-10-03 22:11:26 +02:00
0a5eb397c7 Platform/Unix/X11Display: Adding stub for enterFullscreen and exitFullscreen 2022-10-02 23:31:46 +02:00
84f0a83bee source/Platform/Unix/X11Display.cpp: Whitespace fix. 2022-10-02 17:11:27 +02:00