Sam Hocevar
f8e5114e6e
build: enable SDL_image and SDL_mixer in the emscripten build.
5 years ago
Sam Hocevar
70847edb61
tutorial: fix a signedness bug in the sound tutorial.
5 years ago
Sam Hocevar
aedc1da589
build: remove built-in bullet compilation on Linux.
Executables that use libbullet are now 1 MiB smaller (stripped!).
5 years ago
Sam Hocevar
634e96fa37
tutorial: refresh some tutorial programs to use the init/release entity mechanism.
5 years ago
Sam Hocevar
afe2c72beb
input: fix right/middle mouse button confusion.
5 years ago
Sam Hocevar
df7f58e20d
input: fix various input bugs.
Devices were not properly reset at each frame, which caused
button_pressed() and other functions to fail.
5 years ago
Sam Hocevar
19cf115ae1
tutorial: add a VS project for the sound tutorial.
5 years ago
Sam Hocevar
96736217fe
doc: update some tutorials to use the new entity init/release mechanism.
5 years ago
Sam Hocevar
2e4aabbc29
ticker: better mechanism for entity init/release.
Now we can call functions that need to access GPU resources explicitly
on the draw thread.
5 years ago
Sam Hocevar
d9dd340141
sdl: fix clang build.
5 years ago
Sam Hocevar
fcfafa2035
test: add a unit test of real::cbrt() and fix the camera unit test.
5 years ago
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