Sam Hocevar
2c45d0918d
gpu: fix numerous OpenGL programming errors.
5 years ago
Sam Hocevar
d7fc121faf
Start porting the engine to the Nintendo Switch.
5 years ago
Sam Hocevar
2c484bc8ae
Add NX64 platform to projects.
5 years ago
Sam Hocevar
2bf54ebcb0
math: use std::string logic rather than printf() for real number formatting.
5 years ago
Sam Hocevar
a21c2cbea7
tutorial: fix build.
5 years ago
Sam Hocevar
c49bce2b8b
tutorial: add a few missing “override” qualifiers.
5 years ago
Sam Hocevar
68c2530b16
audio: refactor audio streaming mechanism.
Rename “channels” to “tracks” when talking about the mixing channels, to
avoid confusion with channels in the context of mono/stereo/5.1. Also allow
conversions between various formats and frequencies.
To do: allow to query the current audio device’s preferred frequency when
the client application is able to send the best possible data.
5 years ago
Sam Hocevar
6f0155a50e
audio: allow to load a sample from raw data.
5 years ago
Sam Hocevar
70847edb61
tutorial: fix a signedness bug in the sound tutorial.
5 years ago
Sam Hocevar
634e96fa37
tutorial: refresh some tutorial programs to use the init/release entity mechanism.
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
96a336db03
build: fix a few CRLF issues and make .gitattributes more robust.
5 years ago
Sam Hocevar
c9f75a6c3f
input: start splitting keyboard, mouse etc. objects
5 years ago
Sam Hocevar
b0a8596001
RIP lol::Controller and lol::InputProfile ⚰️ LOL
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
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
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
ce751a1534
Add imgui.ini to .gitignore, we really don’t need it.
6 years ago
Sam Hocevar
a55450b94d
doc: add missing vcxproj for the movie tutorial.
6 years ago
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
6 years ago
Sam Hocevar
25b5d97d28
gui: clean up the ImGui integration code.
6 years ago
Sam Hocevar
fca56d7f7d
Rename some classes and methods to lowercase.
6 years ago
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
6 years ago
Sam Hocevar
3effd3abe5
Fix tutorial build and a few compilation warnings.
6 years ago
Sam Hocevar
4c9c63894d
Allow to resize the SDL window and propagate changes to the scene.
6 years ago
Sam Hocevar
effc880011
tutorial: nicer example for the GIF generation.
6 years ago
Sam Hocevar
beeded3d85
render: simplify Renderer code
The scene now owns its renderer, so there is no need to keep a list
of existing renderers and to call Renderer::Get().
6 years ago
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
6 years ago
Sam Hocevar
1d8083af86
engine: get rid of the Dict class (WIP).
This was not a very smart class. We replace it with a bidirectional map.
6 years ago
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 years ago
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
6 years ago
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
6 years ago
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
7 years ago
Sam Hocevar
9dbfa4d550
Use std::string in a lot of places. Makes a few things simpler.
7 years ago
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
7 years ago
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
7 years ago
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
7 years ago
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
7 years ago
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
7 years ago
Sam Hocevar
0239617197
Various compilation and warning fixes.
7 years ago
Sam Hocevar
845d3878ff
Fix compilation of sprite sample.
7 years ago
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
7 years ago
Sam Hocevar
c6374c7e07
movie: replace the old Movie class with a GIF encoder.
7 years ago