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
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
37abf6193f
RIP lol::String ⚰️ LOL
8 年前
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
8 年前
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.
10 年前
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
10 年前
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
10 年前
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
10 年前
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 年前
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 年前
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
11 年前
Sam Hocevar
a65c0b7749
ticker: replace linked lists wih dynamic arrays for entity groups.
12 年前
Sam Hocevar
98f8246323
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
12 年前
Sam Hocevar
95369e26db
base: a few minor style tweaks.
12 年前
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
13 年前
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 年前
Sam Hocevar
c035a1c2b7
core: fix a few build warnings and remove useless operators from the
"half" class. The build is now 3% faster.
13 年前
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
13 年前
Sam Hocevar
b2d73f6310
core: prefix Entity members with m_ to avoid accidental shadowing.
14 年前
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
14 年前
Sam Hocevar
3d3ec36548
core: start working on the Emcee class.
14 年前
Sam Hocevar
10b321b204
core: get rid of now useless <cstdio> includes.
14 年前
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
14 年前
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 年前
Sam Hocevar
4df4ba3a78
Get rid of the SHADER_CRAP macro and use LOL_EXPERIMENTAL instead,
together with the --enable-experimental flag. Use LOL_DEBUG and
LOL_RELEASE instead of the previous values.
15 年前
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 年前
Sam Hocevar
54a05e0c2c
Allow for different priorities in game and draw tick levels.
15 年前
Sam Hocevar
d5ffa9fe4f
Properly implement program termination, including in the GTK program.
15 年前
Sam Hocevar
57a0cb5102
Refactor stuff.
15 年前
Sam Hocevar
3bb8c8aa2f
Factor Forge and Tiler using the new Dict class.
15 年前
Sam Hocevar
988f7c2885
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
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
14e45d0fd4
Try to detect assets not calling their super tick methods. Already spotted
one bug thanks to that.
15 年前
Sam Hocevar
7d382e549d
The frame counter is now an asset object.
15 年前
Sam Hocevar
47bf73f680
Make the Game class an asset like the others.
15 年前
Sam Hocevar
48e3f7c6b3
Implement ticking groups.
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
4d005a7dbb
Implement a naive garbage collector.
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 年前