Vladimír Vondruš
091efebaa1
Make explicit `std::hash` specialization for ResourceKey.
...
Allows users to use ResourceKey in `std::unordered_map` more
conveniently.
13 years ago
Vladimír Vondruš
f7aa2c05a6
Deinlined heavy functions and removed redundant `inline` everywhere else.
13 years ago
Vladimír Vondruš
db71a23e3c
Bring whole Corrade namespace into Magnum namespace.
...
These projects are tightly interconnected anyway, this means a lot less
typing (yay!).
13 years ago
Vladimír Vondruš
7ef8432fbe
Doxygen: ignore specific namespaces instead of whole directories.
...
Less maintenance burden with `#ifndef DOXYGEN_GENERATING_OUTPUT`,
removed the ones which are not needed anymore.
13 years ago
Vladimír Vondruš
6a5d75d1e4
Relicensing to MIT/Expat license, part 2: headers.
13 years ago
Vladimír Vondruš
2d2d1c07f4
Using new type aliases in whole root Magnum namespace.
13 years ago
Vladimír Vondruš
e58962dc43
Don't use fully qualified Corrade::Utility::Debug when not needed.
13 years ago
Vladimír Vondruš
7e66a09461
Marking all constructors explicit, except for matrix and vector classes.
...
It prevents unwanted implicit conversions from e.g. nullptr to Camera,
Vector2 to Physics::Point etc. By making all the constructors explicit
it is easier to routinely add the keyword to all new classes instead of
thinking about cases when to add and when not to.
14 years ago
Vladimír Vondruš
9ead1e9deb
Thorough documentation review and update.
...
Now whole Magnum, Magnum::SceneGraph and Magnum::Math namespaces are
fully documented -- each class has at least "getting started"
documentation, larger modules are documented on separate pages.
14 years ago
Vladimír Vondruš
ae013effff
Adapted to Corrade changes.
...
Optimalizations in Corrade::TestSuite and Corrade::Utility::Debug leaded
to significant reduction of compilation time - on my machine it was
~5:38 before with building of unit tests enabled, now only ~5:00.
14 years ago
Vladimír Vondruš
d688cf2efc
ResourceManager: new Loading and NotFound data states.
...
Updated, cleaned up and extended unit tests.
14 years ago
Vladimír Vondruš
72145e1339
Debug output operator for ResourceState enum.
14 years ago
Vladimír Vondruš
9623229ec0
Reorganized ResourceManager.h / Resource.h files.
...
Moved #include where it belongs, moved ResourceManager-only enums to
ResourceManager.h, moved debug operator for ResourceKey to Resource.h.
14 years ago
Vladimír Vondruš
a387e23f43
Updated forward declarations.
14 years ago
Vladimír Vondruš
b7e3871cde
Split Resource and ResourceManager to two files.
...
They still include each other, but at least it is now possible to scroll
through the files.
14 years ago