Sam Hocevar
53e86aa9c5
Clean up header usage.
il y a 5 ans
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.
il y a 6 ans
Sam Hocevar
615c968e2d
engine: minor changes in ticker.
il y a 6 ans
Sam Hocevar
e01d92f384
engine: continue deprecating the entity stuff.
il y a 6 ans
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
il y a 6 ans
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
il y a 7 ans
Sam Hocevar
6ffaca4bbd
engine: move some files around.
il y a 10 ans
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
il y a 11 ans
Sam Hocevar
b9d6454c30
base: prevent instantiation of several static-only classes.
il y a 13 ans
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
il y a 13 ans
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
il y a 14 ans
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
il y a 14 ans
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
il y a 15 ans
Sam Hocevar
eec2eb7a9a
Add a recording mode to Ticker that ensures fixed deltatime even when
lagging behind.
il y a 15 ans
Sam Hocevar
016a5ec38b
Add a benchmark mode to the ticker.
il y a 15 ans
Sam Hocevar
c5aea027b9
Store the requested FPS in the Ticker class.
il y a 15 ans
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
il y a 15 ans
Sam Hocevar
d5ffa9fe4f
Properly implement program termination, including in the GTK program.
il y a 15 ans
Sam Hocevar
c1851f2c2b
Store the frame number in the Ticker instead of duplicating the information
in each class that uses it.
il y a 15 ans
Sam Hocevar
57a0cb5102
Refactor stuff.
il y a 15 ans
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
il y a 15 ans
Sam Hocevar
4d63ad6ada
Rename "asset" to "entity". It's way cooler.
il y a 15 ans
Sam Hocevar
6ddfa26129
Minor updates here and there. Not worth mentioning.
il y a 15 ans
Sam Hocevar
8bfb98c160
Implement a better timing mechanism for fixed framerate. Accuracy is
sub-millisecond but can be improved if we get rid of SDL timers.
il y a 15 ans
Sam Hocevar
0fc6a8487c
Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.
il y a 15 ans
Sam Hocevar
d20a306621
Implement a clean class for various assets that can be ticked both in
the game context and in the render context, and a ticker class that
takes care of the ticking.
il y a 15 ans