Sam Hocevar
9090b5a4e2
Stop including <lol/msg> and <lol/base/assert.h> automatically.
4 anos atrás
Sam Hocevar
0f5913edce
base: deprecate lol::array.
Unfortunately, easymesh code still relies heavily on its specifics, so I’m
letting it live as lol::easy_array for the near future. But it’s going away.
4 anos atrás
Sam Hocevar
9e982a51a7
Major header refactoring.
4 anos atrás
Sam Hocevar
f8d3df0632
Update lol-core.
4 anos atrás
Sam Hocevar
35955b2ac1
Remove several deprecated headers.
4 anos atrás
Sam Hocevar
53e86aa9c5
Clean up header usage.
4 anos atrás
Sam Hocevar
65abcac37b
Use std::tuple for our custom dynamic arrays.
This is the first step to getting rid of lol::array in favour of std::vector.
4 anos atrás
Sam Hocevar
f9d97f6340
Refactor several headers, slowly migrating to include-what-you-use.
4 anos atrás
Sam Hocevar
2a798387fb
Refactor all code that uses the color class.
4 anos atrás
Sam Hocevar
e340757a51
Remove more math-related headers.
4 anos atrás
Sam Hocevar
f0ac602eee
Remove the half.h header, now part of lol-core.
4 anos atrás
Sam Hocevar
555032db18
math: use real.h only where necessary; improves build times.
5 anos atrás
Sam Hocevar
54335bd5aa
build: reference projects using a property sheet instead of a guid.
5 anos atrás
Sam Hocevar
cf02d4b0d0
gpu: rename a few methods.
5 anos atrás
Sam Hocevar
2c484bc8ae
Add NX64 platform to projects.
5 anos atrás
Sam Hocevar
b5de2bd6e6
math: implement <<(ostream &, real).
5 anos atrás
Sam Hocevar
2bf54ebcb0
math: use std::string logic rather than printf() for real number formatting.
5 anos atrás
Sam Hocevar
aedc1da589
build: remove built-in bullet compilation on Linux.
Executables that use libbullet are now 1 MiB smaller (stripped!).
5 anos atrás
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.
5 anos atrás
Sam Hocevar
9c13aabe98
build: fix the mingw cross compilation.
5 anos atrás
Sam Hocevar
8c81b07465
input: start replacing controller functions with standard input functions.
Controller::WasKeyReleasedThisFrame() is now keyboard->key_released() so
there is usually no need for a controller. They will completely disappear
when joystick axis binding has been ported to InputDevice.
6 anos atrás
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
6 anos atrás
Sam Hocevar
a57cecaf98
input: remove a lot of unnecessarily convoluted code.
In particular, get rid of the enum magic; we can use map<string,int> if we
really need some named enums. Which we usually don’t.
6 anos atrás
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
6 anos atrás
Sam Hocevar
6e428a6243
Remove deprecated code I don’t understand.
6 anos atrás
Sam Hocevar
0e79b79d23
Remove the overly complex thread manager.
6 anos atrás
Sam Hocevar
2df434a2b2
Remove obsolete file.
6 anos atrás
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().
6 anos atrás
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
6 anos atrás
Sam Hocevar
67dd817aa2
math: remove unused trig code.
Let’s be honest, I’m never gonna use it in its current form.
6 anos atrás
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
6 anos atrás
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
6 anos atrás
Sam Hocevar
7faedd4517
build: fix linking with Bullet on Linux.
6 anos atrás
Sam Hocevar
af06563b94
Do not try to link with liblol-bullet if Bullet was disabled.
6 anos atrás
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
6 anos atrás
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
7 anos atrás
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
7 anos atrás
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
7 anos atrás
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
7 anos atrás
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
7 anos atrás
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
7 anos atrás
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
7 anos atrás
Sam Hocevar
0239617197
Various compilation and warning fixes.
7 anos atrás
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
7 anos atrás
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
7 anos atrás
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
7 anos atrás
Sam Hocevar
7e69ef4cfa
build: fix bluenoise.cpp compilation.
7 anos atrás
Sam Hocevar
7b2f3bdcfb
samples: add blue noise generation demo.
8 anos atrás
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
7 anos atrás
touky
6c2aee32a4
fixes
debug draw fixes are really un-numerous in ze lol, it seems
8 anos atrás