-
Notifications
You must be signed in to change notification settings - Fork 3
/
map.hpp
83 lines (79 loc) · 3.54 KB
/
map.hpp
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/***************************************************************************
* Copyright (C) 2010 by Tamino Dauth *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program 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. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef WC3LIB_MAP_HPP
#define WC3LIB_MAP_HPP
namespace wc3lib
{
/**
* \page mapsection Map module
* Use this module to read, write and modify Warcraft III maps (*.w3m, *.w3x) which are represented by the classes \ref W3m and \ref W3x and campaigns (*.w3n) which are represented by the class \ref W3n and their corresponding files.
*
* Lists of elements are stored as heap-allocated objects in std::vector<std::unique_ptr<T>> collections which will allow passing and filling them easier.
* Previously, std::auto_ptr and <a href="https://www.boost.org/doc/libs/1_79_0/libs/ptr_container/doc/ptr_vector.html">Boost ptr_vector</a> were used.
*
* Warcraft III maps and campaigns are regular MPQ archives containing some specific files, most of them in a binary format but some like map strings or SLK files are in
* readable form.
*
* Include file \ref map.hpp and use namespace \ref wc3lib::map for this module.
*
* The basic readable formats of SLK and TXT files can be loaded and written using \ref Slk and \ref Txt.
*
* \namespace wc3lib::map
* \brief \ref mapsection
*/
}
#include "map/camera.hpp"
#include "map/cameras.hpp"
#include "map/campaign.hpp"
#include "map/campaigninfo.hpp"
#include "map/customobjects.hpp"
#include "map/customobjectscollection.hpp"
#include "map/customunits.hpp"
#include "map/environment.hpp"
#include "map/importedfiles.hpp"
#include "map/info.hpp"
#include "map/itemset.hpp"
#include "map/mapstrings.hpp"
#include "map/menuminimap.hpp"
#include "map/pathmap.hpp"
#include "map/platform.hpp"
#include "map/playable.hpp"
#include "map/rect.hpp"
#include "map/rects.hpp"
#include "map/shadow.hpp"
#include "map/slk.hpp"
#include "map/sound.hpp"
#include "map/sounds.hpp"
#include "map/tilepoint.hpp"
#include "map/tree.hpp"
#include "map/trees.hpp"
#include "map/trigger.hpp"
#include "map/triggercategory.hpp"
#include "map/triggerdata.hpp"
#include "map/triggerfunction.hpp"
#include "map/triggerfunctionparameter.hpp"
#include "map/triggers.hpp"
#include "map/triggerstrings.hpp"
#include "map/txt.hpp"
#include "map/variable.hpp"
#include "map/w3m.hpp"
#include "map/w3x.hpp"
#include "map/value.hpp"
#endif