Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/story_entity.cc @ 3156

Last change on this file since 3156 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
RevLine 
[2636]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
22using namespace std;
23
24
25
26StoryEntity::StoryEntity () {}
27StoryEntity::~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*/
37Error StoryEntity::init()
38{}
39
40
41void StoryEntity::setStoryID(Uint32 storyID)
42{
43  this->storyID = storyID;
44}
45
46int StoryEntity::getStoryID()
47{
48  return this->storyID;
49}
50
51
52void StoryEntity::setNextStoryID(Uint32 nextStoryID)
53{
54  this->nextStoryID = nextStoryID;
55}
56
57Uint32 StoryEntity::getNextStoryID()
58{
59  return this->nextStoryID;
60}
61
62
63Error StoryEntity::start(Uint32 storyID)
64{}
65
66Error StoryEntity::start()
67{}
68
69Error StoryEntity::stop()
70{}
71
72Error StoryEntity::pause()
73{}
74
75Error StoryEntity::resume()
76{}
77
78
79void StoryEntity::load()
80{}
81
82
83void StoryEntity::displayEntityScreen()
84{}
85
86void StoryEntity::releaseEntityScreen()
87{}
Note: See TracBrowser for help on using the repository browser.