1
0
Fork 0
Commit graph

107 commits

Author SHA1 Message Date
afc1491718 Merge branch '6-abstract-filesystem' into dev 2020-09-17 09:50:06 +02:00
a4a691fd48
Math/Transform.cpp: use transform/scale/ratation functions from Math.h 2020-02-14 23:31:15 +01:00
a6e6b915e6
Math/Math: Remove getTranslate(), getUpVector() and getForwardVector() as they are not used. 2020-02-12 19:54:52 +01:00
532c6dafaf
Math/Math: translate/scale functions should not accept vectors, but rather individual parameters.
This is "low level" functions. Used by other math classes/functions.
2020-02-12 19:42:50 +01:00
18ea713445
Math/Transform.cpp: minor fixes. 2020-02-12 19:29:02 +01:00
76d175ffd9
Math/Transform: rename multiply() to combine() 2020-02-12 19:27:41 +01:00
1194128627
Math/Transform.cpp: indent fixes. 2020-02-12 19:20:20 +01:00
72e1bfdade
Math: indent fixes. 2020-02-12 08:54:03 +01:00
c0f44016c6
Math/Vector2: inline toString() 2020-02-12 08:52:08 +01:00
e888626b03
Update icon. 2020-02-02 09:56:03 +01:00
52fe72f31f
examples/text/Game.h: no need to include Vector2 2020-02-01 15:48:33 +01:00
a1e4f9347a
examples/text/Game.h: no need to extend sp::InputListener 2020-02-01 15:48:24 +01:00
9e581ef859
source/Graphics/ImageLoader.h: remove unimplemented methods. 2020-01-19 22:01:26 +01:00
8a3b5a17d8
Graphics/ImageLoader: move decode() to loadFromMemory() 2020-01-19 22:00:56 +01:00
29749e945a
Remove FT2 lib files (we compile our own). 2020-01-19 21:57:50 +01:00
1a43bcd77a
source/Graphics/ImageLoader.cpp: use the new File API 2020-01-19 21:43:07 +01:00
dc04a12922
Spectre/System/File: add getErrorMessage() 2020-01-19 21:43:07 +01:00
59a4f1347a
source/Graphics/Shader.cpp: use the new File API 2020-01-19 21:43:07 +01:00
624a979356
Spectre/System/File: implement File class. 2020-01-19 21:43:10 +01:00
1a218532c0
source/System/File.cpp: move path stuff to Path.cpp 2020-01-10 00:45:11 +01:00
66f3bb30d9
bam: Move library build to engine.build.lua file. 2020-01-07 07:11:02 +01:00
a19944437b
bam: Define engine library as default target and add "examples" pseudo target. 2020-01-07 06:57:56 +01:00
e4c086a1eb
bam: move examples stuff to it's own file. 2020-01-07 06:55:24 +01:00
f3cada7ac8
bam.lua: use CopySettings() function. 2020-01-07 06:35:00 +01:00
ddd41971e1
.bam/functions.lua: adding CopySettings functions 2020-01-07 06:34:40 +01:00
ce575cc122
.bam/functions.lua: whitespace fixes. 2020-01-07 06:33:50 +01:00
b564758ff6
bam.lua: call TableDeepCopy() when copying global_settings as just assigning it to a variable only creates a reference. 2020-01-07 06:28:36 +01:00
b53ddfb3fa
vendor/FreeType2/build.lua: Pass full path to include directory (as it's relative to root dir). 2020-01-07 06:26:51 +01:00
cb2ea423dc
FreeType2: move out our own config to ftspectre directory (makes it esier to upgrade FT). 2020-01-07 06:18:31 +01:00
f5b7fa8178
FreeType2: skip static lib, build custom source into libspectre. 2020-01-07 05:51:23 +01:00
093149e72c
FontEngine/FreeType: move libWrapper to its own compile unit. 2020-01-06 00:38:06 +01:00
f72178ffd0
FontEngine: remove hinting (exists in FontDescripion class) and let child classes handle it. 2020-01-06 00:25:01 +01:00
6e14209aae
Font: add FontDescription class. 2020-01-06 00:18:07 +01:00
2dd1187ff2
Font: move Glyph to it's own header. 2020-01-05 23:40:25 +01:00
5c4eea4ae1
Font: rename Driver stuff to Engine and move subdirectory 2020-01-05 23:31:45 +01:00
8b96338e24
include/Spectre/Graphics/Font.h: Minor typo fix. 2020-01-05 23:20:00 +01:00
2a111a237d
Move OpenGL headers from API to implementation.
We don't want to expose any OpenGL functions to client code. Because if we do, there is a chance we break client code if we switch implementation (Direct3D).
2020-01-03 20:30:08 +01:00
1dc0ecf563
Update Readme 2020-01-02 05:06:17 +01:00
8c9c1e0997
remove libpng and libjpeg (we use stb instead) 2020-01-02 05:05:29 +01:00
4df668e68f
Minor formating fixes. 2019-12-29 22:26:05 +01:00
6f53b0c069
source/Platform/Win32/Win32Display.cpp: in setSize() add cast to silence compiler warnings. 2019-12-29 22:16:54 +01:00
effc723f54
bam.lua: Win32: move freetype libpath to examples settings. 2019-12-29 22:14:04 +01:00
c97c75d56f
Remove VS project files. 2019-12-29 22:07:12 +01:00
99140d5800
bam.lua: minor style fixes. 2019-12-29 20:45:40 +01:00
a6bfa15044
System/MessageQueue: postEvent() should not accept a reference. 2019-12-29 20:45:40 +01:00
f67f89715a
Adding bam build system. 2019-12-29 20:45:43 +01:00
9835082b67
source/Platform/Win32/Win32GLContext.cpp: minor fixes to log strings. 2019-12-24 20:29:13 +01:00
a39069cdb9
GL/WGL: Upgrade to glad2 2019-12-24 20:29:16 +01:00
3b27db9435
include/Spectre/System/Log.h: implement a static "Log" class instead of just a function. 2019-11-10 14:56:56 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.

So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00