Sam Hocevar
d9dd340141
sdl: fix clang build.
6 lat temu
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 lat temu
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
6 lat temu
Sam Hocevar
104704391b
SDL: allow fullscreen applications.
If resolution is set to (0,0) then a fullscreen app is created.
7 lat temu
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
10 lat temu
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 lat temu
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
13 lat temu
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 lat temu
Sam Hocevar
0a52e68f6f
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
14 lat temu
Sam Hocevar
48bf48a4e4
math: move the Remez algorithm implementation to the core.
14 lat temu
Sam Hocevar
8ec5fff6df
core: implement Application::ShowPointer() so that applications can choose
whether to use the system mouse pointer or not.
14 lat temu
Sam Hocevar
b111f7e3d8
core: move platform-specific code to specific directories.
14 lat temu
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
14 lat temu
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
14 lat temu
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 lat temu
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
15 lat temu
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 lat temu
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
15 lat temu
Sam Hocevar
0d78ca44ca
Implement Timer::PollSeconds(), if necessary.
15 lat temu
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 lat temu