| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- /*
- * Copyright (C) 2022 The V-Gears Team
- *
- * This file is part of V-Gears
- *
- * V-Gears is free software: you can redistribute it and/or modify it under
- * terms of the GNU General Public License as published by the Free Software
- * Foundation, version 3.0 (GPLv3) of the License.
- *
- * V-Gears is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
- #include <algorithm>
- #include <iostream>
- #include <cmath>
- #include <OgreEntity.h>
- #include <OgreRoot.h>
- #include <OgreViewport.h>
- #include "FF7Character.h"
- #include "core/AudioManager.h"
- #include "core/WorldMapManager.h"
- #include "core/WorldMapManager.h"
- #include "core/CameraManager.h"
- #include "core/Console.h"
- #include "core/DialogsManager.h"
- #include "core/EntityManager.h"
- #include "core/ConfigVar.h"
- #include "core/InputManager.h"
- #include "core/Logger.h"
- #include "core/ScriptManager.h"
- #include "core/TextHandler.h"
- #include "core/UiManager.h"
- /**
- * World Map manager singleton.
- */
- template<>WorldMapManager *Ogre::Singleton<WorldMapManager>::msSingleton = nullptr;
- WorldMapManager::WorldMapManager(){
- LOG_TRIVIAL("WorldMapManager created.");
- scene_node_ = Ogre::Root::getSingleton().getSceneManager("Scene")
- ->getRootSceneNode()->createChildSceneNode("WorldMapManager");
- }
- WorldMapManager::~WorldMapManager(){
- Clear();
- Ogre::Root::getSingleton().getSceneManager("Scene")->getRootSceneNode()->removeAndDestroyChild(
- "WorldMapManager"
- );
- LOG_TRIVIAL("WorldMapManager destroyed.");
- }
- void WorldMapManager::Input(const VGears::Event& event){}
- void WorldMapManager::UpdateDebug(){}
- void WorldMapManager::OnResize(){}
- void WorldMapManager::ClearField(){}
- void WorldMapManager::ClearBattle(){}
- void WorldMapManager::ClearWorld(){
- // TODO
- }
- void WorldMapManager::UpdateField(){}
- void WorldMapManager::UpdateBattle(){}
- void WorldMapManager::UpdateWorld(){}
|