Advanced Strategic Command
applicationstarter.cpp
Go to the documentation of this file.
1 /*
2  This file is part of Advanced Strategic Command; http://www.asc-hq.de
3  Copyright (C) 1994-2010 Martin Bickel and Marc Schellenberger
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program 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  You should have received a copy of the GNU General Public License
16  along with this program; see the file COPYING. If not, write to the
17  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
18  Boston, MA 02111-1307 USA
19 */
20 
21 
22 #include "applicationstarter.h"
23 
24 #include "graphicset.h"
25 #include "itemrepository.h"
26 #include "music.h"
27 #include "loadbi3.h"
28 #include "soundList.h"
29 #include "cannedmessages.h"
30 #include "unitset.h"
31 #include "replay.h"
32 #include "guifunctions.h"
33 
34 
35 void loaddata()
36 {
37  GraphicSetManager::Instance().loadData();
39 
43 
44  loadAllData();
46 
49 
50  loadpalette();
52 
53  loadmessages();
55 
56  loadUnitSets();
58 
60 
62 }
63 
void loadmessages(void)
loads all messages from the files message?.txt
sigc::signal< void > dataLoaderTicker
Loading Battle Isle 3 maps. The central BI3 map loading class is a straight conversion of Joerg Richt...
GuiIconHandler primaryGuiIcons
void loadAllData(bool useCache)
A system that provides a set of images for vehicles, buildings, etc.
static void init()
Definition: soundList.cpp:69
Interface for recording and playing replays.
The collection of all sounds used by ASC.
void loaddata()
void loadpalette(void)
Definition: sgstream.cpp:67
void registerGuiFunctions(GuiIconHandler &handler)
void loadUnitSets(void)
Definition: unitset.cpp:190
void hookReplayToSystem()
initialized the replay system at program startup
Definition: replay.cpp:2285
void registerDataLoader(TextFileDataLoader *dataLoader)
registers a dataLoader . The object is delete after use, so use: registerDataLoader( new MyDataLoader...