Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TSAGE: Added skeleton game class for Blue Force
- Loading branch information
1 parent
a255461
commit 621a6e5
Showing
3 changed files
with
97 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* ScummVM - Graphic Adventure Engine | ||
* | ||
* ScummVM is the legal property of its developers, whose names | ||
* are too numerous to list here. Please refer to the COPYRIGHT | ||
* file distributed with this source distribution. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version 2 | ||
* of the License, or (at your option) any later version. | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
*/ | ||
|
||
#include "tsage/blueforce_logic.h" | ||
#include "tsage/scenes.h" | ||
#include "tsage/tsage.h" | ||
#include "tsage/staticres.h" | ||
|
||
namespace tSage { | ||
|
||
void BlueForceGame::start() { | ||
// Start the game | ||
_globals->_sceneManager.changeScene(1); | ||
|
||
_globals->_events.setCursor(CURSOR_WALK); | ||
} | ||
|
||
Scene *BlueForceGame::createScene(int sceneNumber) { | ||
error("TODO: Implement BlueForceGame::createScene"); | ||
} | ||
|
||
} // End of namespace tSage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* ScummVM - Graphic Adventure Engine | ||
* | ||
* ScummVM is the legal property of its developers, whose names | ||
* are too numerous to list here. Please refer to the COPYRIGHT | ||
* file distributed with this source distribution. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version 2 | ||
* of the License, or (at your option) any later version. | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
*/ | ||
|
||
#ifndef TSAGE_BLUEFORCE_LOGIC_H | ||
#define TSAGE_BLUEFORCE_LOGIC_H | ||
|
||
#include "common/scummsys.h" | ||
#include "tsage/events.h" | ||
#include "tsage/core.h" | ||
#include "tsage/scenes.h" | ||
#include "tsage/globals.h" | ||
|
||
namespace tSage { | ||
|
||
class BlueForceGame: public Game { | ||
public: | ||
virtual void start(); | ||
virtual Scene *createScene(int sceneNumber); | ||
}; | ||
|
||
} // End of namespace tSage | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters