Sam Hocevar
d4f5c3d6a2
Remove almost everything from Lol Engine and start a clean header hierarchy
2 yıl önce
Sam Hocevar
d1a0443e69
Fix GCC build and GDI codec logic.
5 yıl önce
Sam Hocevar
0c83a7a3e9
scene: add a few safeguards for non-GL platforms.
5 yıl önce
Sam Hocevar
61ff5f46df
app: ensure enable_shared_from_this inheritance is public (C++17 requirement).
5 yıl önce
Sam Hocevar
4bcb8eb764
Merge app and app::display classes when appropriate.
5 yıl önce
Sam Hocevar
bac0f8bbd1
Continue cleaning up the scene/application/display entanglement.
5 yıl önce
Sam Hocevar
f72cc3cd52
scene: remove the SceneDisplay class.
A lot more removals are coming. I’m thinking merging the Application and
ApplicationDisplay classes, as well as removing the corresponding -Data
classes.
5 yıl önce
Sam Hocevar
9e982a51a7
Major header refactoring.
6 yıl önce
Sam Hocevar
d9dd340141
sdl: fix clang build.
7 yıl önce
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.
7 yıl önce
Sam Hocevar
d3d84948d4
sdl: move files around in separate directories.
7 yıl önce
Sam Hocevar
104704391b
SDL: allow fullscreen applications.
If resolution is set to (0,0) then a fullscreen app is created.
7 yıl önce
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
11 yıl önce
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 yıl önce
Sam Hocevar
f44e3e323b
core: you can now while(app.MustTick()) { Tick(); } instead of app.Run().
13 yıl önce
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 yıl önce
Sam Hocevar
0a52e68f6f
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
14 yıl önce
Sam Hocevar
48bf48a4e4
math: move the Remez algorithm implementation to the core.
14 yıl önce
Sam Hocevar
8ec5fff6df
core: implement Application::ShowPointer() so that applications can choose
whether to use the system mouse pointer or not.
14 yıl önce
Sam Hocevar
b111f7e3d8
core: move platform-specific code to specific directories.
14 yıl önce
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
14 yıl önce
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
15 yıl önce
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 yıl önce
Sam Hocevar
e41dd3a949
Create the SdlApp class to avoid code duplication. Ensure USE_SDL is
tested wherever relevant.
15 yıl önce
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 yıl önce
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
15 yıl önce
Sam Hocevar
0d78ca44ca
Implement Timer::PollSeconds(), if necessary.
15 yıl önce
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 yıl önce