Sam Hocevar
1186c08ad7
entity: add a flag system.
This lets us get rid of m_autorelease and m_destroy and we’ll be able
to implement init_game/init_draw later, for stuff that must happen
on the render thread.
5 years ago
Sam Hocevar
06edad8755
scene: remove useless subobject classes.
5 years ago
Sam Hocevar
96a336db03
build: fix a few CRLF issues and make .gitattributes more robust.
5 years ago
Sam Hocevar
1a783a228f
msbuild: only copy SDL libraries to target directory when actually using SDL.
5 years ago
Sam Hocevar
5814dd4cf0
math: fix a bug in real::cbrt() that completely broke the function.
5 years ago
Sam Hocevar
90bf8a37d5
build: fix “make dist”; a few header references were missing.
5 years ago
Sam Hocevar
17f1cb4a6a
image: port FFmpeg encoder to the new API to stop calling deprecated functions.
5 years ago
Sam Hocevar
a33073f996
Fix the EGL application build.
5 years ago
Sam Hocevar
9c13aabe98
build: fix the mingw cross compilation.
5 years ago
Sam Hocevar
615c968e2d
engine: minor changes in ticker.
5 years ago
Sam Hocevar
9a0b6e4a9a
Build: fix several compilation warnings.
5 years ago
Sam Hocevar
635b597e34
input: move code from input device to mouse device.
5 years ago
Sam Hocevar
0d766ea9b9
input: fix Win32 build.
5 years ago
Sam Hocevar
c9f75a6c3f
input: start splitting keyboard, mouse etc. objects
5 years ago
Sam Hocevar
6a1188a65a
input: fix Windows build.
5 years ago
Sam Hocevar
b0a8596001
RIP lol::Controller and lol::InputProfile ⚰️ LOL
5 years ago
Sam Hocevar
ae4ff1d27c
input: add a buttons.inc file with a list of default mouse/joystick button names.
5 years ago
Sam Hocevar
4c20271dc7
ticker: fix a crash upon exit on Windows.
We need to ensure the inter-thread messaging queues are empty (more
specifically, not locked) before destroying them. The best way to ensure
that is to explicitly wait for thread termination.
5 years ago
Sam Hocevar
8c81b07465
input: start replacing controller functions with standard input functions.
Controller::WasKeyReleasedThisFrame() is now keyboard->key_released() so
there is usually no need for a controller. They will completely disappear
when joystick axis binding has been ported to InputDevice.
5 years ago
Sam Hocevar
fe66f12e53
input: start implementing controller features directly in the input device.
5 years ago
Sam Hocevar
cd388836b3
build: fix a few mistakes in the MSVC refactoring.
5 years ago
Sam Hocevar
5a8296a001
build: clean up lol-core vcxproj filters and improve DLL copying.
5 years ago
Sam Hocevar
a713297cfb
input: minor cleanup.
5 years ago
Sam Hocevar
1388625308
input: remove dead code and more cleanup.
5 years ago
Sam Hocevar
1ab9866c31
input: drivers no longer need to create the default devices.
5 years ago
Sam Hocevar
6ad9c0d8bf
Various compilation warning and error fixes.
5 years ago
Sam Hocevar
e2a13df73d
input: merge InputDeviceInternal into InputDevice and remove a few lines of code.
5 years ago
Sam Hocevar
e01d92f384
engine: continue deprecating the entity stuff.
5 years ago
Sam Hocevar
8e105e2d63
code: remove spurious tabs.
5 years ago
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
5 years ago
Sam Hocevar
e3b1db2c1e
audio: clean up code.
5 years ago
Sam Hocevar
cc8e9dac71
input: more code clean up.
5 years ago
Sam Hocevar
f2d7fa0549
input: fix a very old bug in input handling that would miss some keys.
5 years ago
Sam Hocevar
6455091518
doc: rename a few tutorials to remove “lol” from their names.
5 years ago
Sam Hocevar
fc43bd7e5b
input: remove useless code.
5 years ago
Sam Hocevar
df678e9157
build: require Visual Studio 2017 in the solution file.
5 years ago
Sam Hocevar
016330c12b
ui: move a lot of files around.
Most input and GUI files are now in a common ui/ directory. The platform/
directory is no longer, as everythyng was moved to application/ or ui/.
5 years ago
Sam Hocevar
a57cecaf98
input: remove a lot of unnecessarily convoluted code.
In particular, get rid of the enum magic; we can use map<string,int> if we
really need some named enums. Which we usually don’t.
5 years ago
Sam Hocevar
ce751a1534
Add imgui.ini to .gitignore, we really don’t need it.
5 years ago
Sam Hocevar
a55450b94d
doc: add missing vcxproj for the movie tutorial.
5 years ago
Sam Hocevar
ca42fec447
input: clean up a lot of SDL input code.
5 years ago
Sam Hocevar
cfd85fb3a7
input: remove some dead code and clarify some function names.
5 years ago
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
5 years ago
Sam Hocevar
43f335c206
sdl: remove previous changes to the text input.
I was arguing that Enter and other keys should be part of the text
input API, but it’s hard to decide what Tab actually does. I prefer
to give more freedom to the client application.
5 years ago
Sam Hocevar
2f736356d6
input: expose the whole vector of key states to the client application.
5 years ago
Sam Hocevar
84836a21ff
input: fix an apparent bug in key/axis name handling.
5 years ago
Sam Hocevar
a822785879
sdl: improve input support stability and handle return/tab/backspace in text input mode.
5 years ago
Sam Hocevar
17814637f0
Update all external libraries. Finally activate FFmpeg on Windows.
5 years ago
Sam Hocevar
25b5d97d28
gui: clean up the ImGui integration code.
5 years ago
Sam Hocevar
41764c0a56
scene: fix regression in primitive rendering.
We were no longer calling Render() on primitives with a null source.
5 years ago