Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
преди 7 години
Sam Hocevar
6e428a6243
Remove deprecated code I don’t understand.
преди 7 години
Sam Hocevar
0e79b79d23
Remove the overly complex thread manager.
преди 7 години
Sam Hocevar
2df434a2b2
Remove obsolete file.
преди 7 години
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().
преди 7 години
Sam Hocevar
34fab09274
Remove NaCl support. Google is deprecating it.
преди 7 години
Sam Hocevar
67dd817aa2
math: remove unused trig code.
Let’s be honest, I’m never gonna use it in its current form.
преди 7 години
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
преди 8 години
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.
преди 8 години
Sam Hocevar
7faedd4517
build: fix linking with Bullet on Linux.
преди 8 години
Sam Hocevar
af06563b94
Do not try to link with liblol-bullet if Bullet was disabled.
преди 8 години
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
преди 8 години
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
преди 8 години
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
преди 8 години
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
преди 8 години
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
преди 8 години
Sam Hocevar
a99848fd2d
Fix Lua-related compilation issues.
преди 8 години
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
преди 8 години
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
преди 9 години
Sam Hocevar
0239617197
Various compilation and warning fixes.
преди 9 години
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
преди 9 години
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
преди 9 години
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
преди 9 години
Sam Hocevar
7e69ef4cfa
build: fix bluenoise.cpp compilation.
преди 9 години
Sam Hocevar
7b2f3bdcfb
samples: add blue noise generation demo.
преди 9 години
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
преди 9 години
touky
6c2aee32a4
fixes
debug draw fixes are really un-numerous in ze lol, it seems
преди 9 години
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
преди 10 години
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
преди 10 години
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
преди 10 години
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
преди 10 години
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.
преди 10 години
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
преди 10 години
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
преди 10 години
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
преди 10 години
Sam Hocevar
14eafb48f5
build: add flags to disable unwanted builds
For now the flags are: --disable-doc --disable-test
--disable-samples --disable-tutorial.
преди 10 години
Sam Hocevar
ce05d8589a
build: refactor msbuild files for usage as a submodule
преди 10 години
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.
преди 10 години
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
преди 10 години
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
преди 10 години
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.
преди 11 години
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
преди 11 години
Sam Hocevar
19e52b4754
bullet: remove some ugly compilation warnings.
преди 11 години
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.
преди 11 години
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
преди 11 години
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
преди 11 години
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
преди 11 години
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
преди 11 години
Benjamin ‘Touky’ Huet
7605caace4
MultiScene: Phase 4: Rendering is fixed.
Though it still is not possible to create a new window from a thread that did not init SDL
преди 11 години
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
преди 11 години