Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/story_entities/single_player_world_data.cc @ 7108

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

orxonox/trunk: merged the branche network back to the trunk
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/network . -r 6351:HEAD
no conflicts

File size: 2.1 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 "load_param.h"
21
22
23using namespace std;
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  GameWorldData::init();
48}
49
50
51/**
52 *  loads the GUI data
53 * @param root reference to the xml root element
54 */
55ErrorMessage SinglePlayerWorldData::loadGUI(TiXmlElement* root)
56{
57  /* call underlying function */
58  GameWorldData::loadGUI(root);
59}
60
61
62/**
63 *  unloads the GUI data
64 */
65ErrorMessage SinglePlayerWorldData::unloadGUI()
66{
67  /* call underlying function */
68  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(TiXmlElement* root)
77{
78  /* call underlying function */
79  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  GameWorldData::unloadWorldEntities();
90}
91
92
93/**
94 *  loads the scene data
95 * @param root reference to the xml root element
96 */
97ErrorMessage SinglePlayerWorldData::loadScene(TiXmlElement* root)
98{
99  /* call underlying function */
100  GameWorldData::loadScene(root);
101}
102
103
104/**
105 *  unloads the scene data
106 */
107ErrorMessage SinglePlayerWorldData::unloadScene()
108{
109  /* call underlying function */
110  GameWorldData::unloadScene();
111}
112
Note: See TracBrowser for help on using the repository browser.