|
|
92a561648e
|
Platform/Win32/Win32Input.cpp: remove Win32InputMsgBuffer
|
2020-02-15 15:41:53 +01: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 |
|
|
|
eef2690ada
|
source/Platform/Win32/Win32Mouse.cpp: in isButtonDown() use SM_SWAPBUTTON to determine if buttons are swapped or not.
|
2020-02-02 18:58:06 +01:00 |
|
|
|
e888626b03
|
Update icon.
|
2020-02-02 09:56:03 +01:00 |
|
|
|
24fa1e140e
|
source/Platform/Win32/Win32Keyboard.cpp: define LAlt and RAlt keys.
|
2020-02-02 00:42:00 +01:00 |
|
|
|
3364b921de
|
include/Spectre/Input/Keyboard.h: remove NumpadEnter (this is usually the same as regular enter).
|
2020-02-02 00:38:38 +01:00 |
|
|
|
7c6cf45d3c
|
include/Spectre/Input/Keyboard.h: Fix CamelCase for some enum values.
|
2020-02-02 00:34:13 +01:00 |
|
|
|
e0d95a1135
|
include/Spectre/Input/Mouse.h: add getPositionAbs() to the interface.
|
2020-02-01 22:40:14 +01:00 |
|
|
|
fa0fc72eb0
|
Platform/Win32/Win32Mouse: add getAbsPosition() and update the position variables in update()
|
2020-02-01 22:31:44 +01:00 |
|
|
|
290c6643f5
|
Platform/Win32/Win32Mouse: implement isButtonDown() using GetAsyncKeyState() and remove m_state and m_tracked.
|
2020-02-01 22:28:37 +01:00 |
|
|
|
c7c1ff68fd
|
Platform/Win32: remove Win32MsgBuffer
|
2020-02-01 16:43:10 +01:00 |
|
|
|
cdaed77bf7
|
Input: remove InputEvent and InputListener and related code. Those are handled in System/Event
|
2020-02-01 15:50:10 +01:00 |
|
|
|
3c209ba01b
|
Platform/Win32/Win32Mouse: skip Win32MsgBuffer and handle event directly in handleMessage()
|
2020-02-01 15:50:09 +01:00 |
|
|
|
2e9701a15b
|
Platform/Win32/Win32Keyboard: implement isKeyDown() using GetAsyncKeyState() and remove m_bufState and m_focus.
|
2020-02-01 15:50:08 +01:00 |
|
|
|
390be8f740
|
Platform/Win32/Win32Keyboard: skip Win32MsgBuffer and handle event directly in handleMessage()
|
2020-02-01 15:50:06 +01: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 |
|
|
|
a30fd37032
|
System/MessageHandler: Make this class useful by implementing EventListener and also add a vector of listeners with register/unregister methods.
|
2020-02-01 15:50:02 +01:00 |
|
|
|
cd32d0b7c2
|
Adding System/EventListener
|
2020-02-01 15:50:01 +01:00 |
|
|
|
10198484e7
|
System/SystemEvent: Merge with Input/InputEvent into just Event.
|
2020-02-01 15:49:59 +01:00 |
|
|
|
858e721451
|
source/Platform/PlatformEventQueue.h: need to forward declare sp::SysEvent
|
2020-02-01 15:49:57 +01:00 |
|
|
|
ffb97d2b3a
|
source/Platform/Win32/Win32Display.cpp: No need to include Spectre/System/SystemEvent.h
|
2020-02-01 15:49:56 +01:00 |
|
|
|
4d54968f83
|
Display/Display: No need to include System/SystemEvent.
|
2020-02-01 15:49:55 +01:00 |
|
|
|
24c3f14c8c
|
include/Spectre/Input/InputEvent.h: Move Key::Type to Keyboard class
|
2020-02-01 15:49:53 +01:00 |
|
|
|
762d26f368
|
include/Spectre/Input/InputEvent.h: Move MouseButton::Type to Mouse class.
|
2020-02-01 15:49:52 +01:00 |
|
|
|
b2ca926a00
|
include/Spectre/Input/InputDevice.h: do not include "InputModule.h"
|
2020-02-01 15:49:50 +01:00 |
|
|
|
f526b598e2
|
source/Platform/PlatformApplication.h: remove update(). platform event queue is handled in MessageQueue class.
|
2020-02-01 15:49:49 +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 |
|
|
|
fb58490bfe
|
System/MessageQueue: Use PlatformEventQueue
|
2020-02-01 15:49:46 +01:00 |
|
|
|
e6718e7ef1
|
Adding source/Platform/PlatformEventQueue.h
|
2020-02-01 15:49:45 +01:00 |
|
|
|
da76c4b4d1
|
Adding Win32EventQueue
|
2020-02-01 15:49:42 +01:00 |
|
|
|
3477b72371
|
source/Input/InputModule.cpp: should not call m_platform->update() in update().
|
2020-02-01 15:49:39 +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 |
|