Sam Hocevar
cf02d4b0d0
gpu: rename a few methods.
vor 6 Jahren
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.
vor 7 Jahren
Sam Hocevar
e01d92f384
engine: continue deprecating the entity stuff.
vor 7 Jahren
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
vor 7 Jahren
Sam Hocevar
beeded3d85
render: simplify Renderer code
The scene now owns its renderer, so there is no need to keep a list
of existing renderers and to call Renderer::Get().
vor 7 Jahren
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
vor 7 Jahren
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
vor 8 Jahren
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
vor 8 Jahren
touky
575ef8e497
DebugDrawContext pass
Seems to still build in lol, will check other works to be sure
vor 9 Jahren
Sam Hocevar
f9cef654c5
zepto8: add a Visual Studio project.
vor 9 Jahren
Sam Hocevar
6ffaca4bbd
engine: move some files around.
vor 11 Jahren
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
vor 11 Jahren
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
vor 11 Jahren
Sam Hocevar
2fa398926d
math: improve the 2D and 3D box classes.
Box objects (AABB) now have the long awaited extent() and center()
methods. Corners are now called “aa” and “bb” for convenience. The
WorldEntity class uses a box3 for its AABB instead of two vec3s.
This allows us to simplify a lot of verbose code.
vor 11 Jahren
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
vor 11 Jahren
Sam Hocevar
40fe753e4f
image: remove "color" typedef since we already have the "Color" class, and rename a few things.
vor 11 Jahren
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
vor 11 Jahren
Sam Hocevar
7e04bd038a
scene: remove functions that aren’t that useful.
vor 11 Jahren
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
vor 11 Jahren
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.
vor 11 Jahren
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
vor 11 Jahren
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
vor 11 Jahren
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
vor 11 Jahren
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
vor 11 Jahren
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
vor 11 Jahren
Sam Hocevar
cdfb4e7abf
math: fix a few compilation warnings.
vor 12 Jahren
Benjamin ‘Touky’ Huet
fd4cb5e350
Added debug stuff
vor 12 Jahren
Benjamin ‘Touky’ Huet
dbb1d02aa6
Added 2D to 3D DebugLines
vor 12 Jahren
Benjamin ‘Touky’ Huet
d3b6bb6dce
workbench update
vor 12 Jahren
Benjamin ‘Touky’ Huet
cc8e6ced51
Added Debug DrawBox+DrawCapsule+DrawCircle+DrawSphere for ze lulz
vor 12 Jahren
Sam Hocevar
8ede168e62
color: add some vec4 constants for usual colour names.
vor 12 Jahren
Benjamin ‘Touky’ Huet
b1fbc0259f
Added Mask & StickyTime to Draw Debug
vor 12 Jahren
Benjamin ‘Touky’ Huet
a9972696e6
Tweaked stuff in the AABBTree element storage.
Added RemoveElement
vor 12 Jahren
Benjamin ‘Touky’ Huet
7c9f96e426
Added Debug::DrawViewProj
vor 12 Jahren
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
vor 12 Jahren
Lolbot
d375c7ba61
fixed 4 files out of 2770:
- removed 0 CR characters
- removed 0 trailing whitespaces
- replaced 5 tabs with spaces
- fixed 1 svn:eol-style properties
vor 12 Jahren
Benlitz
8a657ea287
input: Removed previous input system
vor 12 Jahren
Sam Hocevar
7159ef1dea
debug: fix a crash in the DebugFps constructor.
vor 12 Jahren
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
vor 12 Jahren
Sam Hocevar
b29519602a
debug: fewer lines of code in DrawBox().
vor 13 Jahren
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
vor 13 Jahren
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
vor 13 Jahren
Sam Hocevar
7e8edd7c3e
sys: add the base source directory to the list of search directories
on automake platforms, too.
vor 13 Jahren
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
vor 13 Jahren
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
vor 13 Jahren
Sam Hocevar
8cff2e9c8b
debug: get rid of DebugSphere, it's totally obsoleted by EasyMesh.
vor 13 Jahren
Sam Hocevar
ca1050e047
debug: get rid of quad.cpp, it's become useless.
vor 13 Jahren
Sam Hocevar
951c93ab84
data: fix ascii.png search path.
vor 13 Jahren
Sam Hocevar
3389ed69a2
build: move all games to a "games" subdirectory to clean up the root
directory layout mess.
vor 13 Jahren
Sam Hocevar
28728814cc
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
vor 13 Jahren