Sam Hocevar
cf80b8ff5e
Get rid of deprecated assert.h header.
5 лет назад
Sam Hocevar
9090b5a4e2
Stop including <lol/msg> and <lol/base/assert.h> automatically.
5 лет назад
Sam Hocevar
0f5913edce
base: deprecate lol::array.
Unfortunately, easymesh code still relies heavily on its specifics, so I’m
letting it live as lol::easy_array for the near future. But it’s going away.
6 лет назад
Sam Hocevar
9e982a51a7
Major header refactoring.
6 лет назад
Sam Hocevar
0aa6ccde7a
Get rid of lol::array in our public headers.
6 лет назад
Sam Hocevar
d2dc08f309
Get rid of lol::array in our public headers.
6 лет назад
Sam Hocevar
53e86aa9c5
Clean up header usage.
6 лет назад
Sam Hocevar
2ab98cf950
Clean up test suite so that it no longer includes <lol/engine-internal.h>.
6 лет назад
Sam Hocevar
8fe56fc27d
Clean up the features.h header.
6 лет назад
Sam Hocevar
269ab7c1ac
Fix emscripten regressions.
6 лет назад
Sam Hocevar
2c5a1be8b3
Make the check for threading support runtime to make debugging easier.
6 лет назад
Sam Hocevar
3b05abc54f
scene: do not clear the scene twice.
6 лет назад
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
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.
7 лет назад
Sam Hocevar
615c968e2d
engine: minor changes in ticker.
7 лет назад
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.
7 лет назад
Sam Hocevar
e01d92f384
engine: continue deprecating the entity stuff.
7 лет назад
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
7 лет назад
Sam Hocevar
7d42c3d58e
Various emscripten compilation fixes.
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
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.
7 лет назад
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.
7 лет назад
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
8 лет назад
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
8 лет назад
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
8 лет назад
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
8 лет назад
Sam Hocevar
aca1660e1e
Disable debug messages by default and downgrade a few messages.
From now on, msg::debug will not display anything, unless this is a debug
build, or the LOL_DEBUG environment variable is set.
8 лет назад
Guillaume Bittoun
3525d1f317
Crash fix: first call to TickGame must not occur before TickDraw. referencing #3
9 лет назад
Sam Hocevar
25ad63d33d
scene: add Scene::pre_render and post_render
This allows actors to perform draw commands in TickDraw(), even
if it’s not exactly what we want in the future.
9 лет назад
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.
9 лет назад
Sam Hocevar
581ecea541
engine: fix scene rendering.
Now TickDraw() can be called several times per frame, because we
may have several scenes. This is expected, but it will require
some adjustments later.
9 лет назад
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
10 лет назад
Sam Hocevar
6ffaca4bbd
engine: move some files around.
11 лет назад