Crossfire Server, Trunk
AllAssets.cpp
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2022 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #include "AllAssets.h"
14 #include "ResourcesManager.h"
16 
17 #include "assets.h"
18 #include "AssetsManager.h"
20 #include "recipes/RecipeWrapper.h"
22 #include "regions/RegionsWrapper.h"
26 #include "recipes/RecipesWrapper.h"
28 #include "MessageManager.h"
29 #include "random_maps/RandomMaps.h"
30 #include "faces/FacesWrapper.h"
32 #include "quests/QuestsWrapper.h"
36 
38 
39  myAssets.append(myRegions = new RegionsWrapper(this, resources));
40  myAssets.append(new ArchetypesWrapper(this, resources));
41  myAssets.append(new FacesWrapper(this, resources));
42  myAssets.append(new AnimationsWrapper(this, resources));
43  myAssets.append(new TreasuresWrapper(this, resources));
44  myAssets.append(new AssetsCollectionWrapper<face_sets>(this, "Facesets", getManager()->facesets(), resources, tr("Display all facesets.")));
45  myAssets.append(new GeneralMessagesWrapper(this, resources));
46  myAssets.append(new QuestsWrapper(this, resources));
47  myAssets.append(new ArtifactsWrapper(this, resources));
48  myAssets.append(new RecipesWrapper(this, resources));
49  myAssets.append(scripts);
50  myAssets.append(messages);
51  myAssets.append(myRandomMaps = new RandomMaps(this, resources->getMapInformationManager()));
52  myAssets.append(new AttackMessagesWrapper(this));
53 }
ScriptFileManager
Definition: ScriptFileManager.h:24
AttackMessagesWrapper.h
AttackMessagesWrapper
Definition: AttackMessagesWrapper.h:31
ArtifactsWrapper
Definition: ArtifactsWrapper.h:26
GeneralMessagesWrapper.h
python_init.scripts
scripts
Definition: python_init.py:11
ScriptFileManager.h
MessageManager.h
ResourcesManager
Definition: ResourcesManager.h:79
AssetsManager.h
AllAssets::myRandomMaps
AssetWrapper * myRandomMaps
Definition: AllAssets.h:38
AllAssets.h
RecipeWrapper.h
RandomMaps
Definition: RandomMaps.h:20
AnimationsWrapper
Definition: AnimationsWrapper.h:30
getManager
AssetsManager * getManager()
Definition: assets.cpp:335
RegionsWrapper
Definition: RegionsWrapper.h:20
FacesWrapper
Definition: FacesWrapper.h:20
ArchetypesWrapper.h
ResourcesManager::getMapInformationManager
CREMapInformationManager * getMapInformationManager()
Definition: ResourcesManager.h:90
RecipesWrapper.h
AllAssets::myAssets
QVector< AssetWrapper * > myAssets
Definition: AllAssets.h:36
AssetWrapper
Definition: AssetWrapper.h:22
TreasuresWrapper
Definition: TreasuresWrapper.h:28
GeneralMessagesWrapper
Definition: GeneralMessagesWrapper.h:27
FacesWrapper.h
ArchetypesWrapper
Definition: ArchetypesWrapper.h:26
TreasuresWrapper.h
QuestsWrapper.h
MessageManager
Definition: MessageManager.h:25
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:37
QuestsWrapper
Definition: QuestsWrapper.h:20
AnimationsWrapper.h
TreasureListWrapper.h
AssetsCollectionWrapper.h
assets.h
ArtifactWrapper.h
RandomMaps.h
RecipesWrapper
Definition: RecipesWrapper.h:26
AllAssets::myRegions
AssetWrapper * myRegions
Definition: AllAssets.h:37
AssetsCollectionWrapper
Definition: AssetsCollectionWrapper.h:21