Sam Hocevar
7d42c3d58e
Various emscripten compilation fixes.
7 years ago
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 years ago
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.
7 years ago
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
8 years ago
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.
10 years ago
Benjamin ‘Touky’ Huet
d4d0225170
Removed all the enum macros, because this was shit and admitting that is the first step to global world domination.
10 years ago
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 years ago
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 years ago
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
11 years ago
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
11 years ago
Benjamin ‘Touky’ Huet
1e4af19a89
Praise the Safe-Enum.
Implemented Safe-Enum for everyone.
Now the power is in the Safe-Enum for all.
11 years ago
Benjamin ‘Touky’ Huet
064086f556
Build FIX
12 years ago
Benjamin ‘Touky’ Huet
17109e369f
MessageService : Safe Enum added to ensure good usage.
12 years ago
Benjamin ‘Touky’ Huet
34a59d25d4
MeshViewer cleanup + MessageService tweak for emscripten
12 years ago
Benjamin ‘Touky’ Huet
88e99dc9fd
MesssageService extern function for emscripten communication
12 years ago
Benjamin ‘Touky’ Huet
0a7dc44a67
Added MessageService : Basic & Naive Message logging.
Camera & vector.cpp : Fixed shifted_perspective crash with almost zero FOV.
12 years ago