-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMod.cpp
58 lines (53 loc) · 1.16 KB
/
Mod.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include "Mod.h"
Mod::Mod()
{
this->ModFolder = "";
this->Addme = { "", "" };
this->Sides.reserve(2);
this->Worlds.reserve(2);
this->Common_ODF.reserve(85);
this->Common_MSH.reserve(155);
this->Common_TGA.reserve(480);
this->Common_REQ.reserve(230);
this->Common_LUA.reserve(90);
this->Common_FX.reserve(175);
}
Mod::Mod(std::string str)
{
this->ModFolder = str;
this->Addme = { "", "" };
this->Sides.reserve(2);
this->Worlds.reserve(2);
this->Common_ODF.reserve(85);
this->Common_MSH.reserve(155);
this->Common_TGA.reserve(480);
this->Common_REQ.reserve(230);
this->Common_LUA.reserve(90);
this->Common_FX.reserve(175);
}
Side::Side()
{
this->SideFolder = "";
this->ODF.reserve(256);
this->MSH.reserve(256);
this->TGA.reserve(256);
this->REQ.reserve(128);
this->FX.reserve(16);
}
Side::Side(std::string str)
{
this->SideFolder = str;
this->ODF.reserve(256);
this->MSH.reserve(256);
this->TGA.reserve(256);
this->REQ.reserve(128);
this->FX.reserve(16);
}
World::World()
{
this->ODF.reserve(128);
this->MSH.reserve(128);
this->TGA.reserve(128);
this->REQ.reserve(128);
this->FX.reserve(32);
}