Last change
on this file since 2710 was
2636,
checked in by patrick, 20 years ago
|
- Added a GameLoader to the game. This enables orxonox to load a campaign consisting of multimple worlds and cinematics etc. However, cinematics are not yet implemented.
In the game you can jump from one level to the other by pressing x. Currently there are only two very simple levels defined. (DEBUG_LEVEL_0, DEBUG_LEVEL_1).
- Added Error Handling structs to signal the error source and code
|
File size:
1.3 KB
|
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: Patrick Boenzli |
---|
15 | co-programmer: |
---|
16 | */ |
---|
17 | |
---|
18 | |
---|
19 | #include "story_entity.h" |
---|
20 | |
---|
21 | |
---|
22 | using namespace std; |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | StoryEntity::StoryEntity () {} |
---|
27 | StoryEntity::~StoryEntity () {} |
---|
28 | |
---|
29 | |
---|
30 | /** |
---|
31 | \brief initialize the entity before use. |
---|
32 | |
---|
33 | After execution of this function, the Entity is ready to be played/executed, |
---|
34 | this shifts the initialisation work before the execution - very important... |
---|
35 | |
---|
36 | */ |
---|
37 | Error StoryEntity::init() |
---|
38 | {} |
---|
39 | |
---|
40 | |
---|
41 | void StoryEntity::setStoryID(Uint32 storyID) |
---|
42 | { |
---|
43 | this->storyID = storyID; |
---|
44 | } |
---|
45 | |
---|
46 | int StoryEntity::getStoryID() |
---|
47 | { |
---|
48 | return this->storyID; |
---|
49 | } |
---|
50 | |
---|
51 | |
---|
52 | void StoryEntity::setNextStoryID(Uint32 nextStoryID) |
---|
53 | { |
---|
54 | this->nextStoryID = nextStoryID; |
---|
55 | } |
---|
56 | |
---|
57 | Uint32 StoryEntity::getNextStoryID() |
---|
58 | { |
---|
59 | return this->nextStoryID; |
---|
60 | } |
---|
61 | |
---|
62 | |
---|
63 | Error StoryEntity::start(Uint32 storyID) |
---|
64 | {} |
---|
65 | |
---|
66 | Error StoryEntity::start() |
---|
67 | {} |
---|
68 | |
---|
69 | Error StoryEntity::stop() |
---|
70 | {} |
---|
71 | |
---|
72 | Error StoryEntity::pause() |
---|
73 | {} |
---|
74 | |
---|
75 | Error StoryEntity::resume() |
---|
76 | {} |
---|
77 | |
---|
78 | |
---|
79 | void StoryEntity::load() |
---|
80 | {} |
---|
81 | |
---|
82 | |
---|
83 | void StoryEntity::displayEntityScreen() |
---|
84 | {} |
---|
85 | |
---|
86 | void StoryEntity::releaseEntityScreen() |
---|
87 | {} |
---|
Note: See
TracBrowser
for help on using the repository browser.