Sam Hocevar
a21c2cbea7
tutorial: fix build.
пре 7 година
Sam Hocevar
c49bce2b8b
tutorial: add a few missing “override” qualifiers.
пре 7 година
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.
пре 7 година
Sam Hocevar
6f0155a50e
audio: allow to load a sample from raw data.
пре 7 година
Sam Hocevar
70847edb61
tutorial: fix a signedness bug in the sound tutorial.
пре 7 година
Sam Hocevar
634e96fa37
tutorial: refresh some tutorial programs to use the init/release entity mechanism.
пре 7 година
Sam Hocevar
19cf115ae1
tutorial: add a VS project for the sound tutorial.
пре 7 година
Sam Hocevar
96736217fe
doc: update some tutorials to use the new entity init/release mechanism.
пре 7 година
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.
пре 7 година
Sam Hocevar
96a336db03
build: fix a few CRLF issues and make .gitattributes more robust.
пре 7 година
Sam Hocevar
c9f75a6c3f
input: start splitting keyboard, mouse etc. objects
пре 7 година
Sam Hocevar
b0a8596001
RIP lol::Controller and lol::InputProfile ⚰️ LOL
пре 7 година
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.
пре 7 година
Sam Hocevar
fe66f12e53
input: start implementing controller features directly in the input device.
пре 7 година
Sam Hocevar
a713297cfb
input: minor cleanup.
пре 7 година
Sam Hocevar
1388625308
input: remove dead code and more cleanup.
пре 7 година
Sam Hocevar
1ab9866c31
input: drivers no longer need to create the default devices.
пре 7 година
Sam Hocevar
6ad9c0d8bf
Various compilation warning and error fixes.
пре 7 година
Sam Hocevar
6455091518
doc: rename a few tutorials to remove “lol” from their names.
пре 7 година
Sam Hocevar
fc43bd7e5b
input: remove useless code.
пре 7 година
Sam Hocevar
ce751a1534
Add imgui.ini to .gitignore, we really don’t need it.
пре 7 година
Sam Hocevar
a55450b94d
doc: add missing vcxproj for the movie tutorial.
пре 7 година
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
пре 7 година
Sam Hocevar
25b5d97d28
gui: clean up the ImGui integration code.
пре 7 година
Sam Hocevar
fca56d7f7d
Rename some classes and methods to lowercase.
пре 7 година
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
пре 7 година
Sam Hocevar
3effd3abe5
Fix tutorial build and a few compilation warnings.
пре 7 година
Sam Hocevar
4c9c63894d
Allow to resize the SDL window and propagate changes to the scene.
пре 7 година
Sam Hocevar
effc880011
tutorial: nicer example for the GIF generation.
пре 7 година
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().
пре 7 година
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
пре 7 година
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.
пре 7 година
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
пре 8 година
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.
пре 8 година
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
пре 8 година
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
пре 8 година
Sam Hocevar
9dbfa4d550
Use std::string in a lot of places. Makes a few things simpler.
пре 8 година
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
пре 8 година
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
пре 8 година
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
пре 8 година
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
пре 8 година
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
пре 9 година
Sam Hocevar
0239617197
Various compilation and warning fixes.
пре 9 година
Sam Hocevar
845d3878ff
Fix compilation of sprite sample.
пре 9 година
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
пре 9 година
Sam Hocevar
c6374c7e07
movie: replace the old Movie class with a GIF encoder.
пре 9 година
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
пре 9 година
touky
575ef8e497
DebugDrawContext pass
Seems to still build in lol, will check other works to be sure
пре 10 година
touky
fab4610405
lolua tweaks
Added macros to help basic setup
пре 10 година
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
пре 10 година