Sam Hocevar
53e86aa9c5
Clean up header usage.
5 лет назад
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.
6 лет назад
Sam Hocevar
615c968e2d
engine: minor changes in ticker.
6 лет назад
Sam Hocevar
e01d92f384
engine: continue deprecating the entity stuff.
6 лет назад
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
6 лет назад
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
7 лет назад
Sam Hocevar
6ffaca4bbd
engine: move some files around.
10 лет назад
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.
11 лет назад
Sam Hocevar
b9d6454c30
base: prevent instantiation of several static-only classes.
13 лет назад
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 лет назад
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
14 лет назад
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
14 лет назад
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 лет назад
Sam Hocevar
eec2eb7a9a
Add a recording mode to Ticker that ensures fixed deltatime even when
lagging behind.
15 лет назад
Sam Hocevar
016a5ec38b
Add a benchmark mode to the ticker.
15 лет назад
Sam Hocevar
c5aea027b9
Store the requested FPS in the Ticker class.
15 лет назад
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 лет назад
Sam Hocevar
d5ffa9fe4f
Properly implement program termination, including in the GTK program.
15 лет назад
Sam Hocevar
c1851f2c2b
Store the frame number in the Ticker instead of duplicating the information
in each class that uses it.
15 лет назад
Sam Hocevar
57a0cb5102
Refactor stuff.
15 лет назад
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
15 лет назад
Sam Hocevar
4d63ad6ada
Rename "asset" to "entity". It's way cooler.
15 лет назад
Sam Hocevar
6ddfa26129
Minor updates here and there. Not worth mentioning.
15 лет назад
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.
15 лет назад
Sam Hocevar
0fc6a8487c
Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.
15 лет назад
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.
15 лет назад