|
|
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 |
|
|
|
605e0df902
|
source/Platform/Unix/X11Display.cpp: call setDecoration() in create()
|
2022-10-02 17:07:14 +02:00 |
|
|
|
36c6024649
|
Platform/Unix/X11Display: remove setIcon(const std::string&) as this exists in Generic Display class.
|
2022-10-02 17:06:02 +02:00 |
|
|
|
a8fa3981f4
|
source/Platform/Unix/Xlib.cpp: assert _priv::display in shutdown()
|
2022-10-02 17:02:10 +02:00 |
|
|
|
b78ddba11e
|
Platform/Unix/X11Display: implement setDecoration()
|
2022-10-02 17:01:40 +02:00 |
|
|
|
c20c79cfd3
|
Adding source/Platform/Unix/wm_hints.h
|
2022-10-02 17:00:45 +02:00 |
|
|
|
1c7cc31b52
|
source/Platform/Unix/X11Display.cpp: Fix getPosition() as it did not take border width into account.
|
2022-10-01 16:09:43 +02:00 |
|
|
|
46bc8eb5d8
|
Platform/Unix/Xlib: Adding getParentWindow()
|
2022-10-01 16:09:43 +02:00 |
|
|
|
f2fc9d46b8
|
Revert "include/Spectre/Display/DisplayDescription.h: change Empty to None"
This reverts commit 7c23f5dfd9.
`None` is defined in X11.
|
2022-10-01 16:09:42 +02:00 |
|
|
|
cb4274bb1c
|
source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp: Indent fix.
|
2022-09-26 14:12:47 +02:00 |
|
|
|
b6446e129b
|
source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp: Whitespace fix.
|
2022-09-26 14:11:38 +02:00 |
|
|
|
736f30c33a
|
source/GfxDriver/OpenGL/OpenGLShaderProgram.cpp: remove unused variable
|
2022-09-26 14:11:17 +02:00 |
|
|
|
50e9300667
|
Game/FPSCounter: change m_fps variable and getFPS() return value from float to double.
MSVC complains about loss of information because sp::Time::seconds() returns double.
|
2022-09-26 12:06:40 +02:00 |
|
|
|
c11d71aaaa
|
Spectre/System/File: adding readString()
|
2022-09-25 16:31:52 +02:00 |
|
|
|
81f3e1e399
|
Graphics: Remove Shader and ShaderProgram classes. they are combined into GfxDriver/ShaderProgram.
|
2022-09-18 13:56:37 +02:00 |
|
|
|
82e08d0785
|
Graphics/DefaultRenderer2D: use GfxDriver/ShaderProgram instead of Graphics/ShaderProgram
|
2022-09-18 13:55:43 +02:00 |
|
|
|
9bea188686
|
Graphics/BatchRenderer2D: use GfxDriver/ShaderProgram instead of Graphics/ShaderProgram
|
2022-09-18 13:54:32 +02:00 |
|
|
|
cc1f287a3a
|
source/Graphics/RenderState.cpp: Use GfxDriver/ShaderProgram instead of Graphics/ShaderProgram.
|
2022-09-18 13:53:48 +02:00 |
|
|
|
69e5ae22d2
|
Adding GfxDriver/OpenGL/OpenGLShaderProgram class
|
2022-09-18 12:26:31 +02:00 |
|
|
|
cd9114bfd0
|
Adding Spectre/GfxDriver/ShaderProgram base class.
|
2022-09-18 12:26:01 +02:00 |
|
|
|
4dad1a5d75
|
Graphics class: use GfxDriver API.
|
2022-09-17 12:07:28 +02:00 |
|
|
|
d3debea41a
|
Adding OpenGL Driver.
|
2022-09-17 12:06:47 +02:00 |
|
|
|
3a7f91cb07
|
Merge branch 'fullscreen-api-nonrecreate' into dev
|
2022-09-13 20:39:02 +02:00 |
|
|
|
deb9918b9b
|
source/Display/Display.cpp: Need to set position to 0,0 in window fullscreen, otherwise it wont stick to the top-left of the monitor.
|
2022-09-13 19:52:34 +02:00 |
|
|
|
7c23f5dfd9
|
include/Spectre/Display/DisplayDescription.h: change Empty to None
|
2022-09-13 19:43:26 +02:00 |
|
|
|
3c6a842c9d
|
Platform/Win32/Win32Display.cpp: remove fullscreen stuff in create()
|
2022-09-12 22:44:51 +02:00 |
|
|
|
fc38bb59a9
|
source/Display/Display.cpp: restore size when entering window mode.
|
2022-09-12 22:25:15 +02:00 |
|
|
|
d12d60b1ba
|
Display/Display: Cache position when entering fullscreen and restore when entering window mode again.
|
2022-09-12 22:24:42 +02:00 |
|
|
|
83f4d05df8
|
source/Game.cpp: call PlatformApplication::get() and dont delete the pointer.
|
2022-09-12 21:13:04 +02:00 |
|
|
|
c7d380c4b0
|
source/Platform/PlatformApplication: rename create() to get() and just return a statically allocated implementation.
As we just this throughout the whole program. and platform can be determined at compile time. we might as well allocate it statically.
|
2022-09-12 21:12:32 +02:00 |
|
|
|
9621ea19bb
|
source/Platform/Win32/Win32Display.cpp: on x64, windows headers undefine GWL_USERDATA, So we define it again.
|
2022-09-10 14:02:58 +02:00 |
|
|
|
8d57b3a72c
|
source/Platform/Win32/Win32Display.cpp: Use SetWindowLongPtr/GetWindowLongPtr as LONG_PTR supports 64bit addresses.
|
2022-09-10 13:59:40 +02:00 |
|
|
|
46af40bbb7
|
source/Platform/PlatformApplication.h: extend NonCopyable
|
2020-12-29 19:54:49 +01:00 |
|
|
|
b984f30968
|
Platform/Win32/Win32Display.cpp: for WM_SIZE event we can use lParam variable to get the size.
|
2020-12-29 17:45:32 +01:00 |
|
|
|
0e2a3525e4
|
Merge branch '4-linux-support' into dev
|
2020-12-28 18:43:22 +01:00 |
|
|
|
d48cc650a8
|
source/Platform/PlatformApplication.cpp: ApplicationType is defined by some Win32 headers.
|
2020-12-28 18:41:51 +01:00 |
|
|
|
845b93fb48
|
source/Platform/Win32/Win32Display.cpp: DisplayDecorate::None has changed to DisplayDecorate::Empty
|
2020-12-28 18:38:27 +01:00 |
|
|
|
f6aa0246d3
|
source/Platform/Unix/X11Mouse.cpp: implement hack for XButton1 and 2.
|
2020-12-28 18:20:55 +01:00 |
|
|
|
c082700891
|
include/Spectre/Input/Mouse.h rename Button1,Button2 to XButton1 and XButton2
Button1 and Button2 are defined by Xlib. So lets change our ones to avoid headache.
|
2020-12-28 18:20:55 +01:00 |
|
|
|
7e79663dce
|
include/Spectre/Input/Mouse.h rename Button1,Button2 to XButton1 and XButton2
Button1 and Button2 are defined by Xlib. So lets change our ones to avoid headache.
|
2020-12-26 18:08:39 +01:00 |
|
|
|
81c7e34c58
|
Use SPECTRE_PLATFORM_* defines instead of raw compiler ones.
|
2020-12-26 17:25:25 +01:00 |
|