Compare commits
2 Commits
ce9ea6752d
...
ca622d56f6
| Author | SHA1 | Date | |
|---|---|---|---|
| ca622d56f6 | |||
| a06140187d |
@@ -7,7 +7,7 @@
|
|||||||
* obtain one at http://mozilla.org/MPL/2.0/.
|
* obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../../headers/Systems/ECS.hpp"
|
#include "Systems/ECS.hpp"
|
||||||
#include "../../../headers/Systems/ECS/BuiltinComponents.hpp"
|
#include "Systems/ECS/BuiltinComponents.hpp"
|
||||||
|
|
||||||
// Empty until future use
|
// Empty until future use
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
* obtain one at http://mozilla.org/MPL/2.0/.
|
* obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../../headers/Systems/ECS.hpp"
|
#include "Systems/ECS.hpp"
|
||||||
#include "../../../headers/Systems/ECS/BuiltinComponents.hpp"
|
#include "Systems/ECS/BuiltinComponents.hpp"
|
||||||
#include "../../../headers/Systems/Random.hpp"
|
#include "Systems/Random.hpp"
|
||||||
|
|
||||||
using namespace Tourmaline::Systems;
|
using namespace Tourmaline::Systems;
|
||||||
using namespace ECS;
|
using namespace ECS;
|
||||||
|
|||||||
@@ -7,8 +7,10 @@
|
|||||||
* obtain one at http://mozilla.org/MPL/2.0/.
|
* obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../headers/Systems/Logging.hpp"
|
#include "Systems/Logging.hpp"
|
||||||
|
#include "Corrade/Containers/Array.h"
|
||||||
|
|
||||||
|
#include <Corrade/Tags.h>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@@ -24,16 +26,18 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
using namespace Tourmaline::Systems;
|
using namespace Tourmaline::Systems;
|
||||||
|
using namespace Corrade::Containers;
|
||||||
|
|
||||||
// This is what happens when it takes you 50 years to implement
|
// This is what happens when it takes you 50 years to implement
|
||||||
// reflections to a language
|
// reflections to a language
|
||||||
std::array<std::pair<const std::string, const std::string>, 6>
|
Array<std::pair<const std::string, const std::string>>
|
||||||
Logging::LogLevelToString{std::pair{"Critical", "[0;31m"},
|
Logging::LogLevelToString{Corrade::InPlaceInit,
|
||||||
{"Error", "[0;91m"},
|
{std::pair{"Critical", "[0;31m"},
|
||||||
{"Warning", "[0;33m"},
|
{"Error", "[0;91m"},
|
||||||
{"Info", "[0;37m"},
|
{"Warning", "[0;33m"},
|
||||||
{"Debug", "[0;92m"},
|
{"Info", "[0;37m"},
|
||||||
{"Trace", "[0;36m"}};
|
{"Debug", "[0;92m"},
|
||||||
|
{"Trace", "[0;36m"}}};
|
||||||
std::fstream Logging::File;
|
std::fstream Logging::File;
|
||||||
|
|
||||||
void Logging::LogToFile(std::string File) {
|
void Logging::LogToFile(std::string File) {
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
|
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
|
||||||
* obtain one at http://mozilla.org/MPL/2.0/.
|
* obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
#include "../../headers/Systems/Random.hpp"
|
|
||||||
|
#include "Systems/Random.hpp"
|
||||||
|
|
||||||
#include <bit>
|
#include <bit>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* obtain one at http://mozilla.org/MPL/2.0/.
|
* obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../../headers/Types.hpp"
|
#include "Types.hpp"
|
||||||
|
|
||||||
#include <charconv>
|
#include <charconv>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
Reference in New Issue
Block a user