Sam Hocevar
4c9c63894d
Allow to resize the SDL window and propagate changes to the scene.
5 vuotta sitten
Sam Hocevar
effc880011
tutorial: nicer example for the GIF generation.
5 vuotta sitten
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().
5 vuotta sitten
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
5 vuotta sitten
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.
5 vuotta sitten
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 vuotta sitten
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 vuotta sitten
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
6 vuotta sitten
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
7 vuotta sitten
Sam Hocevar
9dbfa4d550
Use std::string in a lot of places. Makes a few things simpler.
7 vuotta sitten
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
7 vuotta sitten
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
7 vuotta sitten
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
7 vuotta sitten
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
7 vuotta sitten
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
7 vuotta sitten
Sam Hocevar
0239617197
Various compilation and warning fixes.
7 vuotta sitten
Sam Hocevar
845d3878ff
Fix compilation of sprite sample.
7 vuotta sitten
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
7 vuotta sitten
Sam Hocevar
c6374c7e07
movie: replace the old Movie class with a GIF encoder.
7 vuotta sitten
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
7 vuotta sitten
touky
575ef8e497
DebugDrawContext pass
Seems to still build in lol, will check other works to be sure
8 vuotta sitten
touky
fab4610405
lolua tweaks
Added macros to help basic setup
8 vuotta sitten
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
8 vuotta sitten
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
8 vuotta sitten
touky
4d78d62a70
Lolua refactor 2nd pass: New version is much simpler and practical
Next pass is clean-up and fix of all the old usage
8 vuotta sitten
Sam Hocevar
ed703e6a56
doc: add a GIF exporting program (experimental for now)
8 vuotta sitten
Sam Hocevar
ad45e4d284
doc: fix linking with ffmpeg on Linux and start a tutorial program.
8 vuotta sitten
touky
893ab7b6f5
first little pass, everything is broken.
Will resume on other computer.
8 vuotta sitten
Lolbot
af53a69eb7
fixed 9 files out of 506:
- removed 0 CR characters
- removed 7 trailing whitespaces
- replaced 332 tabs with spaces
8 vuotta sitten
Sam Hocevar
5fb319b10c
imgui: update submodule to a cleaner branch.
8 vuotta sitten
Sam Hocevar
7d2cd5c8a3
build: fix imgui example on Linux
8 vuotta sitten
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
8 vuotta sitten
Sam Hocevar
ac0f48e269
build: fix .vcxproj UUID clash.
8 vuotta sitten
touky
3b255d4137
first test for lolimgui
8 vuotta sitten
Sam Hocevar
7619caef3e
audio: minimal streaming API
This will allow us to generate sounds on the fly on several dedicated
channels. Until now we could only play fully loaded samples.
8 vuotta sitten
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
8 vuotta sitten
Sam Hocevar
d01f29d483
tutorial: fix input tutorial speed.
8 vuotta sitten
Sam Hocevar
b9ac811720
tutorial: support the Julia set in the fractal sample
8 vuotta sitten
Sam Hocevar
2149187abd
tutorial: fix tutorial 11 (fractal)
Input was broken, as well as palette generation, and even texture
upload. Should be all good now.
8 vuotta sitten
Sam Hocevar
96d725fd71
lua: replace lol::LuaState with the original lua_State
We have no hope of extending lua_State to add more data to it, because
that object may be created by Lua itself, for instance within a coroutine,
and it has no knowledge of our version of the object.
8 vuotta sitten
Guillaume Bittoun
da1c26728c
Tutorial 11_fractal fixed
8 vuotta sitten
Sam Hocevar
9e4b6a4155
build: add path to lolfx resource names
This will help us deal with shader name collision. Breaks the Windows
build for the moment, unfortunately.
8 vuotta sitten
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
8 vuotta sitten
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
8 vuotta sitten
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
8 vuotta sitten
Sam Hocevar
14eafb48f5
build: add flags to disable unwanted builds
For now the flags are: --disable-doc --disable-test
--disable-samples --disable-tutorial.
8 vuotta sitten
Sam Hocevar
ce05d8589a
build: refactor msbuild files for usage as a submodule
8 vuotta sitten
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
8 vuotta sitten
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
8 vuotta sitten
Sam Hocevar
3a90766614
scene: start working on a postprocess mechanism.
Not all programs support this feature for now, but that’s because they
don’t support the scene framework either, and will need patching. Also
the default postprocess is deliberately exaggerated for now.
8 vuotta sitten