V-Gears 0
Free Final Fantasy VII engine.
WorldmapFileManager.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 The V-Gears Team
3 *
4 * This file is part of V-Gears
5 *
6 * V-Gears is free software: you can redistribute it and/or modify it under
7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation, version 3.0 (GPLv3) of the License.
9 *
10 * V-Gears is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#pragma once
17
18#include <OgreResourceManager.h>
19#include "common/TypeDefine.h"
20#include "VGearsPrerequisites.h"
21
22namespace VGears {
23
24 class WorldmapFile;
25
30 : public Ogre::ResourceManager, public Ogre::Singleton<WorldmapFileManager>
31 {
32 public:
33
38
42 virtual ~WorldmapFileManager();
43
47 static WorldmapFileManager& GetSingleton();
48
52 static WorldmapFileManager* GetSingletonPtr();
53
54 private:
55
73 virtual Ogre::Resource* createImpl(
74 const Ogre::String &name,
75 Ogre::ResourceHandle handle,
76 const Ogre::String &group,
77 bool is_manual,
78 Ogre::ManualResourceLoader *loader,
79 const Ogre::NameValuePairList *create_params
80 ) override final;
81 };
82
83}
#define _VGearsExport
This file import prerequisites.
Definition: VGearsPrerequisites.h:35
Manages map files.
Definition: WorldmapFileManager.h:31
Definition: FF7NameLookup.h:24
Ogre::String String
Definition: TypeDefine.h:37