Line | |
---|
1 | |
---|
2 | |
---|
3 | /* |
---|
4 | orxonox - the future of 3D-vertical-scrollers |
---|
5 | |
---|
6 | Copyright (C) 2004 orx |
---|
7 | |
---|
8 | This program is free software; you can redistribute it and/or modify |
---|
9 | it under the terms of the GNU General Public License as published by |
---|
10 | the Free Software Foundation; either version 2, or (at your option) |
---|
11 | any later version. |
---|
12 | |
---|
13 | ### File Specific: |
---|
14 | main-programmer: Andreas Hejj |
---|
15 | |
---|
16 | */ |
---|
17 | |
---|
18 | |
---|
19 | #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY |
---|
20 | |
---|
21 | |
---|
22 | #include "terminal.h" |
---|
23 | |
---|
24 | #include "event_handler.h" |
---|
25 | |
---|
26 | #include "state.h" |
---|
27 | |
---|
28 | #include "util/loading/load_param.h" |
---|
29 | #include "util/loading/factory.h" |
---|
30 | |
---|
31 | #include "graphics_engine.h" |
---|
32 | #include "camera.h" |
---|
33 | #include "sound_engine.h" |
---|
34 | |
---|
35 | #include "sound_source.h" |
---|
36 | |
---|
37 | #include "glgui.h" |
---|
38 | #include "menu/glgui_imagebutton.h" |
---|
39 | #include "glgui_text.h" |
---|
40 | |
---|
41 | |
---|
42 | ObjectListDefinition(Terminal); |
---|
43 | |
---|
44 | CREATE_FACTORY(Terminal); |
---|
45 | |
---|
46 | |
---|
47 | Terminal::Terminal(const TiXmlElement* root) |
---|
48 | { |
---|
49 | this->registerObject(this, Terminal::_objectList); |
---|
50 | |
---|
51 | this->toList(OM_GROUP_00); |
---|
52 | |
---|
53 | |
---|
54 | if( root != NULL) |
---|
55 | this->loadParams(root); |
---|
56 | |
---|
57 | } |
---|
58 | |
---|
59 | Terminal::~Terminal () |
---|
60 | {} |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | /** |
---|
66 | * loads the xml tags |
---|
67 | * @param root: root xml tag for this element |
---|
68 | */ |
---|
69 | void Terminal::loadParams(const TiXmlElement* root) |
---|
70 | { |
---|
71 | WorldEntity::loadParams(root); |
---|
72 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.