Crossfire Server, Trunk
AllAssets.cpp
Go to the documentation of this file.
1 #include "AllAssets.h"
2 #include "ResourcesManager.h"
4 
5 #include "assets.h"
6 #include "AssetsManager.h"
10 #include "regions/RegionsWrapper.h"
14 #include "recipes/RecipesWrapper.h"
16 #include "MessageManager.h"
17 #include "random_maps/RandomMaps.h"
18 #include "faces/FacesWrapper.h"
20 #include "quests/QuestsWrapper.h"
23 
25 
26  myAssets.append(myRegions = new RegionsWrapper(this, resources));
27  myAssets.append(new ArchetypesWrapper(this, resources));
28  myAssets.append(new FacesWrapper(this, resources));
29  myAssets.append(new AnimationsWrapper(this, resources));
30  myAssets.append(new AssetsCollectionWrapper<treasurelist>(this, "Treasures", getManager()->treasures(), resources, tr("Display all treasure lists.")));
31  myAssets.append(new AssetsCollectionWrapper<face_sets>(this, "Facesets", getManager()->facesets(), resources, tr("Display all facesets.")));
32  myAssets.append(new GeneralMessagesWrapper(this, resources));
33  myAssets.append(new QuestsWrapper(this, resources));
34  myAssets.append(new ArtifactsWrapper(this, resources));
35  myAssets.append(new RecipesWrapper(this, resources));
36  myAssets.append(scripts);
37  myAssets.append(messages);
38  myAssets.append(myRandomMaps = new RandomMaps(this, resources->getMapInformationManager()));
39  myAssets.append(new AttackMessagesWrapper(this));
40 }
ScriptFileManager
Definition: ScriptFileManager.h:12
AttackMessagesWrapper.h
AttackMessagesWrapper
Definition: AttackMessagesWrapper.h:20
ArtifactsWrapper
Definition: ArtifactsWrapper.h:14
GeneralMessagesWrapper.h
ScriptFileManager.h
MessageManager.h
ResourcesManager
Definition: ResourcesManager.h:67
AssetsManager.h
AllAssets::myRandomMaps
AssetWrapper * myRandomMaps
Definition: AllAssets.h:26
AllAssets.h
RecipeWrapper.h
RandomMaps
Definition: RandomMaps.h:8
AnimationsWrapper
Definition: AnimationsWrapper.h:18
getManager
AssetsManager * getManager()
Definition: assets.cpp:333
RegionsWrapper
Definition: RegionsWrapper.h:8
FacesWrapper
Definition: FacesWrapper.h:8
ArchetypesWrapper.h
ResourcesManager::getMapInformationManager
CREMapInformationManager * getMapInformationManager()
Definition: ResourcesManager.h:78
RecipesWrapper.h
AllAssets::myAssets
QVector< AssetWrapper * > myAssets
Definition: AllAssets.h:24
AssetWrapper
Definition: AssetWrapper.h:11
GeneralMessagesWrapper
Definition: GeneralMessagesWrapper.h:15
FacesWrapper.h
ArchetypesWrapper
Definition: ArchetypesWrapper.h:14
python_event.scripts
scripts
Definition: python_event.py:14
QuestsWrapper.h
MessageManager
Definition: MessageManager.h:13
RegionsWrapper.h
ArtifactsWrapper.h
CREMapInformationManager.h
ResourcesManager.h
navar-midane_apply.messages
list messages
Definition: navar-midane_apply.py:8
AllAssets::AllAssets
AllAssets(ResourcesManager *resources, ScriptFileManager *scripts, MessageManager *messages)
Definition: AllAssets.cpp:24
QuestsWrapper
Definition: QuestsWrapper.h:8
AnimationsWrapper.h
TreasureListWrapper.h
AssetsCollectionWrapper.h
assets.h
ArtifactWrapper.h
RandomMaps.h
RecipesWrapper
Definition: RecipesWrapper.h:14
AllAssets::myRegions
AssetWrapper * myRegions
Definition: AllAssets.h:25
AssetsCollectionWrapper
Definition: AssetsCollectionWrapper.h:9