Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
7 vuotta sitten
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
8 vuotta sitten
Sam Hocevar
6ffaca4bbd
engine: move some files around.
11 vuotta sitten
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.
11 vuotta sitten
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
11 vuotta sitten
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 vuotta sitten
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
11 vuotta sitten
Sam Hocevar
428178bc39
core: remove deprecated WorldEntity member variables.
12 vuotta sitten
Sam Hocevar
c1428fc1f9
input: support up to 32 mouse buttons.
13 vuotta sitten
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
13 vuotta sitten
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
13 vuotta sitten
Sam Hocevar
2d63ce189f
core: make Entity::GetName() a public method.
13 vuotta sitten
Benjamin ‘Touky’ Huet
cfbacb625f
Small WorldEntity tweaks.
14 vuotta sitten
Sam Hocevar
032b7ed47d
core: make WorldEntity rotation a quaternion.
14 vuotta sitten
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
14 vuotta sitten
Sam Hocevar
b49ba4ef56
core: prefix some member variables with m_ for clarity.
14 vuotta sitten
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
14 vuotta sitten
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
14 vuotta sitten
Sam Hocevar
22b7a41c2e
core: fix include guard naming scheme.
15 vuotta sitten
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
15 vuotta sitten
Sam Hocevar
6405ef32ea
Get rid of float3, float4, int3 etc. in favour of GLSL types.
15 vuotta sitten
Sam Hocevar
e9583b8a62
Implement the title screen. Click on it to start a game.
15 vuotta sitten
Sam Hocevar
9c08082263
Minor updates to the mouse tracking architecture.
15 vuotta sitten
Sam Hocevar
de3da71331
Create the WorldEntity class, for objects with world coordinates.
15 vuotta sitten
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
15 vuotta sitten
Sam Hocevar
54a05e0c2c
Allow for different priorities in game and draw tick levels.
15 vuotta sitten
Sam Hocevar
83a82034ae
Start creating the World class.
15 vuotta sitten
Sam Hocevar
324013d8dc
Implement scrolling in the GTK window using the scrollbars.
15 vuotta sitten
Sam Hocevar
2a5d90cc33
New MapViewer class and some GTK+ refactoring.
15 vuotta sitten
Sam Hocevar
57a0cb5102
Refactor stuff.
15 vuotta sitten
Sam Hocevar
50e4f67254
Get the timer to talk milliseconds instead of seconds.
15 vuotta sitten
Sam Hocevar
4d63ad6ada
Rename "asset" to "entity". It's way cooler.
15 vuotta sitten
Sam Hocevar
4ba04a7bfd
Allow other classes to request the Game's Scene object.
15 vuotta sitten
Sam Hocevar
47bf73f680
Make the Game class an asset like the others.
15 vuotta sitten
Sam Hocevar
effd8f768a
Implement a quit() mechanism in the Game class.
15 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.
15 vuotta sitten
Sam Hocevar
a9b63620d4
Rendering starts to work again. There is no Z-sorting yet.
15 vuotta sitten