1
0
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
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
ba504c7efc Spectre/Game: Set default log writer. 2023-02-18 13:59:42 +01:00
83f4d05df8 source/Game.cpp: call PlatformApplication::get() and dont delete the pointer. 2022-09-12 21:13:04 +02:00
2eec1c9f75 source/Game.cpp: use PlatformApplication::create() 2020-12-26 17:20:30 +01:00
60dd9bacb0 source/Game.cpp: make sure we call init() and shutdown() for platform 2020-12-26 15:37:57 +01:00
6464838159 source/Platform/Unix: stub implementation 2020-12-19 18:55:10 +01:00
18880ef17e source/Game.cpp: minor fixes. 2020-09-24 16:33:30 +02:00
976ddecd10 source/Game.cpp: in run() exit if graphics could not be initialized. 2020-09-23 16:56:28 +02:00
2a1851efb5 Game: remove setup() method. do setup in run() instead. 2020-09-23 16:55:42 +02:00
0f08f10a0d source/Game.cpp: don't need to call setClearColor() here. it is done as part of the graphics module setup. 2020-09-23 00:00:31 +02:00
e75d373933
Game: call MessageHandler::onEvent() 2020-02-01 15:50:05 +01:00
81b64e18d4
Game: add getMessageHandler() method. 2020-02-01 15:50:03 +01:00
10198484e7
System/SystemEvent: Merge with Input/InputEvent into just Event. 2020-02-01 15:49:59 +01:00
801ab1033f
source/Game.cpp: in processEvents() no need to call platform->update() anymore. (messages are pumped in MessageQueue) 2020-02-01 15:49:48 +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
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00