| 15 | namespace obe |
| 16 | { |
| 17 | void InitEngine(unsigned int surfaceWidth, unsigned int surfaceHeight) |
| 18 | { |
| 19 | Debug::InitLogger(); |
| 20 | Debug::Log->debug("<ObEngine> Storing Obe.vili in cache"); |
| 21 | |
| 22 | Debug::Log->info("Using ObEngineCore (Version : {} ({}:{}))", |
| 23 | Config::OBENGINE_VERSION, Config::OBENGINE_GIT_BRANCH, |
| 24 | Config::OBENGINE_GIT_HASH); |
| 25 | |
| 26 | Transform::UnitVector::Init(surfaceWidth, surfaceHeight); |
| 27 | Debug::Log->debug("<ObEngine> Initialising Position Transformers"); |
| 28 | Graphics::InitPositionTransformer(); |
| 29 | |
| 30 | Debug::Log->debug("<ObEngine> Mounting paths"); |
| 31 | System::MountablePath::LoadMountFile(); |
| 32 | |
| 33 | Debug::Log->debug("<ObEngine> Initialising NullTexture"); |
| 34 | Graphics::MakeNullTexture(); |
| 35 | |
| 36 | Debug::Log->info("<ObEngine> Initialisation over !"); |
| 37 | } |
| 38 | } |
no test coverage detected