V-Gears
0
Free Final Fantasy VII engine.
WorldInstaller.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 <string>
19
/*#include <vector>
20
#include <common/TypeDefine.h>
21
22
class WorldInstaller{
23
24
public:
25
26
WorldInstaller(std::string input_dir, std::string output_dir);
27
28
~WorldInstaller();
29
30
void ReadMapFile(std::string file_name);
31
32
void GenerateMap(std::string file_name, std::string output);
33
34
private:
35
36
struct Mesh{ // 0xB800 / 0x0F
37
38
u16 triangle_count;
39
40
u16 vertex_count;
41
42
u8 compressed_data[(0xB800 / 0x0F)];
43
};
44
45
struct Map{ // 0xB800
46
47
Mesh mesh[16];
48
};
49
50
struct WMFile {
51
Map map[64];
52
};
53
54
std::vector<uint8> DecompressLZSSData(u32* compressed_data);
55
56
std::string input_dir_;
57
58
std::string output_dir_;
59
};*/
src
installer
WorldInstaller.h
Generated by
1.9.4