|
|
d7889ebac0
|
engine.build.lua: include OpenGLShaderProgam in gfxdriver_opengl_module
|
2022-09-18 13:58:10 +02:00 |
|
|
|
bb205c6ad1
|
engine.build.lua: compile GfxDriver/ShaderProgram
|
2022-09-18 13:57:20 +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 |
|
|
|
b85b4ab601
|
include/Spectre/Graphics/Renderer2D.h: Dont have to include ShaderProgram here.
|
2022-09-18 13:51:18 +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 |
|
|
|
b91bc22db1
|
engine.build.lua: Graphics module: OpenGL.cpp is now called Graphics.cpp
|
2022-09-18 12:24:44 +02:00 |
|
|
|
038d997421
|
engine.build.lua: build OpenGL gfx driver.
|
2022-09-18 12:22:19 +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 |
|
|
|
ab11f7b9db
|
Adding include/Spectre/GfxDriver/GfxDriver.h
|
2022-09-17 12:06:00 +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 |
|
|
|
1c27fce58c
|
examples/display/DisplayExample.cpp: make "W" key switch to windowed fullscreen.
|
2022-09-13 19:35:46 +02:00 |
|
|
|
4761473e86
|
include/Spectre/Display/DisplayDescription.h: remove fullscreen here as it is not a decorator flag.
|
2022-09-12 22:45:54 +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 |
|
|
|
859e95eea8
|
bam.lua: Set custom compiler functions.
|
2022-09-12 19:57:10 +02:00 |
|
|
|
d678f3c7a0
|
Adding .bam/compilers.lua
|
2022-09-12 19:56:54 +02:00 |
|
|
|
c83337b6a6
|
.bam/path.lua: Adding ModuleRelative()
|
2022-09-12 19:55:34 +02:00 |
|
|
|
c2c201c9e4
|
vendor/FreeType2/build.lua: build a static lib.
|
2022-09-12 19:43:49 +02:00 |
|
|
|
2f39299fc6
|
vendor/FreeType2/build.lua: use SetSettingsPrefix()
|
2022-09-12 19:41:07 +02:00 |
|
|
|
397120a973
|
examples/build.lua: use PathFilename(name) as name contains a directory.
|
2022-09-12 19:37:04 +02:00 |
|
|
|
4222d89eb2
|
examples/build.lua: Use libspectre_settings.
|
2022-09-12 19:35:24 +02:00 |
|
|
|
9dc3a49207
|
.bam/utils.lua: Adding TableMerge()
|
2022-09-12 19:34:10 +02:00 |
|
|
|
8082309896
|
.bam/functions.lua: Adding SetSettingsPrefix()
|
2022-09-12 19:32:44 +02:00 |
|
|
|
0170e8181b
|
engine.build.lua: export settings.
|
2022-09-11 15:09:15 +02:00 |
|
|
|
82cfe55a91
|
vendor/FreeType2/build.lua: use RelPath() "everywhere"
|
2022-09-11 00:29:41 +02:00 |
|
|
|
7967eaea2a
|
bam.lua: import .bam/path.lua
|
2022-09-11 00:29:41 +02:00 |
|
|
|
fc64fedb0e
|
engine.build.lua: use RelPath() "everywhere"
|
2022-09-11 00:29:41 +02:00 |
|
|
|
fd108cc391
|
engine.build.lua: remove linkage with freetype2 as we build it ourself on windows.
|
2022-09-10 21:43:01 +02:00 |
|
|
|
d35ba0730e
|
.bam/functions.lua: use RelPath() in module to get the correct paths.
|
2022-09-10 21:39:05 +02:00 |
|
|
|
0ce1d25594
|
examples/build.lua: rename example_settings to just settings as it's a locale variable anyway.
|
2022-09-10 21:37:22 +02:00 |
|
|
|
b913c2024d
|
.bam/functions.lua: delete BuildExample() and BuildExamples()
|
2022-09-10 21:35:39 +02:00 |
|
|
|
315f2e9c41
|
examples/build.lua: skip using BuildExamples(). just run the code directly here as we wont need it anywhere else.
|
2022-09-10 21:34:52 +02:00 |
|
|
|
de789ad77e
|
.bam/functions.lua: Imports() should be relative to the current script.
|
2022-09-10 21:14:21 +02:00 |
|
|
|
788e3f697e
|
bam.lua: Adding descriptive comment to global_settings.lib.prefix
|
2022-09-10 20:05:55 +02:00 |
|
|
|
01b626d44e
|
Adding .bam/path.lua
|
2022-09-10 20:02:34 +02:00 |
|
|
|
e9ebb38090
|
vendor/FreeType2/src/base/module.lua: basepath to Module() should be relative to the script's directory.
|
2022-09-10 19:59:38 +02:00 |
|
|
|
54805c07f4
|
.bam/functions.lua: use paths.examples in BuildExample() to get the correct path.
|
2022-09-10 19:57:40 +02:00 |
|
|
|
6a84af227c
|
bam.lua: append "_<TARGET_OS>" to examples output directory.
|
2022-09-10 19:56:07 +02:00 |
|
|
|
1902b92210
|
bam.lua: Add "intermediate" directory to paths and use it when building object files.
|
2022-09-10 19:46:36 +02:00 |
|
|
|
03cbba9a6c
|
include/Spectre/Core/NonCopyable.h: Destructor needs to be virtual. Otherwise deleting a NonCopyable pointer wont call the child class destructor
|
2022-09-10 14:10:11 +02:00 |
|