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