Sam Hocevar
d64b117b8d
build: fix license and copyright information.
9 vuotta sitten
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.
9 vuotta sitten
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
10 vuotta sitten
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 vuotta sitten
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 vuotta sitten
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
10 vuotta sitten
Sam Hocevar
a65c0b7749
ticker: replace linked lists wih dynamic arrays for entity groups.
11 vuotta sitten
Sam Hocevar
98f8246323
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
11 vuotta sitten
Sam Hocevar
95369e26db
base: a few minor style tweaks.
12 vuotta sitten
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
12 vuotta sitten
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
12 vuotta sitten
Sam Hocevar
c035a1c2b7
core: fix a few build warnings and remove useless operators from the
"half" class. The build is now 3% faster.
12 vuotta sitten
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
13 vuotta sitten
Sam Hocevar
b2d73f6310
core: prefix Entity members with m_ to avoid accidental shadowing.
13 vuotta sitten
Sam Hocevar
0161879a84
core: try to merge Ticker and Emcee. Still not very good.
13 vuotta sitten
Sam Hocevar
3d3ec36548
core: start working on the Emcee class.
13 vuotta sitten
Sam Hocevar
10b321b204
core: get rid of now useless <cstdio> includes.
14 vuotta sitten
Sam Hocevar
1e5624d551
core: create a logger class to reduce printf usage.
14 vuotta sitten
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
14 vuotta sitten
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.
14 vuotta sitten
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
14 vuotta sitten
Sam Hocevar
54a05e0c2c
Allow for different priorities in game and draw tick levels.
14 vuotta sitten
Sam Hocevar
d5ffa9fe4f
Properly implement program termination, including in the GTK program.
14 vuotta sitten
Sam Hocevar
57a0cb5102
Refactor stuff.
14 vuotta sitten
Sam Hocevar
3bb8c8aa2f
Factor Forge and Tiler using the new Dict class.
14 vuotta sitten
Sam Hocevar
988f7c2885
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
14 vuotta sitten
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
14 vuotta sitten
Sam Hocevar
4d63ad6ada
Rename "asset" to "entity". It's way cooler.
14 vuotta sitten
Sam Hocevar
14e45d0fd4
Try to detect assets not calling their super tick methods. Already spotted
one bug thanks to that.
14 vuotta sitten
Sam Hocevar
7d382e549d
The frame counter is now an asset object.
14 vuotta sitten
Sam Hocevar
47bf73f680
Make the Game class an asset like the others.
14 vuotta sitten
Sam Hocevar
48e3f7c6b3
Implement ticking groups.
14 vuotta sitten
Sam Hocevar
0fc6a8487c
Slightly improve the documentation in a few files, add the missing
joystick class, and put a header in each source file.
14 vuotta sitten
Sam Hocevar
4d005a7dbb
Implement a naive garbage collector.
14 vuotta sitten
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.
14 vuotta sitten