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