Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/proxy/src/story_entities/single_player_world_data.cc @ 9357

Last change on this file since 9357 was 9357, checked in by bensch, 18 years ago

orxonox/proxy: removed 'using namespace std;' everywhere

File size: 2.2 KB
Line 
1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11### File Specific:
12   main-programmer: Patrick Boenzli
13*/
14
15#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD
16
17
18#include "single_player_world_data.h"
19
20#include "util/loading/load_param.h"
21
22
23
24
25
26/**
27 * constructor of the GameWorldDataData
28 */
29SinglePlayerWorldData::SinglePlayerWorldData()
30  : GameWorldData()
31{}
32
33
34/**
35 * destructor for the GameWorldDataData
36 */
37SinglePlayerWorldData::~SinglePlayerWorldData()
38{}
39
40
41/**
42 *  initialize the GameWorldDataData
43 */
44ErrorMessage SinglePlayerWorldData::init()
45{
46  /* call underlying function */
47  return GameWorldData::init();
48}
49
50
51/**
52 *  loads the GUI data
53 * @param root reference to the xml root element
54 */
55ErrorMessage SinglePlayerWorldData::loadGUI(const TiXmlElement* root)
56{
57  /* call underlying function */
58  return GameWorldData::loadGUI(root);
59}
60
61
62/**
63 *  unloads the GUI data
64 */
65ErrorMessage SinglePlayerWorldData::unloadGUI()
66{
67  /* call underlying function */
68  return GameWorldData::unloadGUI();
69}
70
71
72/**
73 *  overloads the GameWorld::loadWorldEntities(...) class since the network WorldEntity loading is different
74 * @param root reference to the xml root parameter
75 */
76ErrorMessage SinglePlayerWorldData::loadWorldEntities(const TiXmlElement* root)
77{
78  /* call underlying function */
79  return GameWorldData::loadWorldEntities(root);
80}
81
82
83/**
84 *  unloads the world entities from the xml file
85 */
86ErrorMessage SinglePlayerWorldData::unloadWorldEntities()
87{
88  /* call underlying function */
89  return GameWorldData::unloadWorldEntities();
90}
91
92
93/**
94 *  loads the scene data
95 * @param root reference to the xml root element
96 */
97ErrorMessage SinglePlayerWorldData::loadScene(const TiXmlElement* root)
98{
99  /* call underlying function */
100  return GameWorldData::loadScene(root);
101}
102
103
104/**
105 *  unloads the scene data
106 */
107ErrorMessage SinglePlayerWorldData::unloadScene()
108{
109  /* call underlying function */
110  return GameWorldData::unloadScene();
111}
112
Note: See TracBrowser for help on using the repository browser.