Sam Hocevar
aedc1da589
build: remove built-in bullet compilation on Linux.
Executables that use libbullet are now 1 MiB smaller (stripped!).
vor 5 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 5 Jahren
Sam Hocevar
9c13aabe98
build: fix the mingw cross compilation.
vor 5 Jahren
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.
vor 6 Jahren
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
vor 6 Jahren
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.
vor 6 Jahren
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
vor 6 Jahren
Sam Hocevar
6e428a6243
Remove deprecated code I don’t understand.
vor 6 Jahren
Sam Hocevar
0e79b79d23
Remove the overly complex thread manager.
vor 6 Jahren
Sam Hocevar
2df434a2b2
Remove obsolete file.
vor 6 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 6 Jahren
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
vor 6 Jahren
Sam Hocevar
67dd817aa2
math: remove unused trig code.
Let’s be honest, I’m never gonna use it in its current form.
vor 6 Jahren
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
vor 6 Jahren
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.
vor 6 Jahren
Sam Hocevar
7faedd4517
build: fix linking with Bullet on Linux.
vor 6 Jahren
Sam Hocevar
af06563b94
Do not try to link with liblol-bullet if Bullet was disabled.
vor 6 Jahren
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
vor 6 Jahren
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
vor 7 Jahren
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
vor 7 Jahren
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
vor 7 Jahren
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
vor 7 Jahren
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
vor 7 Jahren
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
vor 7 Jahren
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
vor 7 Jahren
Sam Hocevar
0239617197
Various compilation and warning fixes.
vor 7 Jahren
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
vor 7 Jahren
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
vor 7 Jahren
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
vor 7 Jahren
Sam Hocevar
7e69ef4cfa
build: fix bluenoise.cpp compilation.
vor 7 Jahren
Sam Hocevar
7b2f3bdcfb
samples: add blue noise generation demo.
vor 8 Jahren
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
vor 7 Jahren
touky
6c2aee32a4
fixes
debug draw fixes are really un-numerous in ze lol, it seems
vor 8 Jahren
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
vor 8 Jahren
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
vor 8 Jahren
touky
4d78d62a70
Lolua refactor 2nd pass: New version is much simpler and practical
Next pass is clean-up and fix of all the old usage
vor 8 Jahren
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
vor 8 Jahren
Sam Hocevar
96d725fd71
lua: replace lol::LuaState with the original lua_State
We have no hope of extending lua_State to add more data to it, because
that object may be created by Lua itself, for instance within a coroutine,
and it has no knowledge of our version of the object.
vor 8 Jahren
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
vor 8 Jahren
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
vor 8 Jahren
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
vor 8 Jahren
Sam Hocevar
14eafb48f5
build: add flags to disable unwanted builds
For now the flags are: --disable-doc --disable-test
--disable-samples --disable-tutorial.
vor 8 Jahren
Sam Hocevar
ce05d8589a
build: refactor msbuild files for usage as a submodule
vor 8 Jahren
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
vor 8 Jahren
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
vor 8 Jahren
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
vor 9 Jahren
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
vor 9 Jahren
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
vor 9 Jahren
Sam Hocevar
19e52b4754
bullet: remove some ugly compilation warnings.
vor 9 Jahren
Sam Hocevar
38733fade7
math: move the matrix-to-quaternion code to a global header.
This lets us use the code for non-float variable types. I also got
rid of the mat4-to-quat code so that users are forced to use the
mat3-to-quat code and possibly discover places where their code is
suboptimal.
vor 9 Jahren