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