Skip to content

Commit

Permalink
KOTOR2: Add stub ingame gui manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Jun 2, 2018
1 parent 29caf7f commit 9999576
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/engines/kotor2/gui/ingame/ingame.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos 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 3
* of the License, or (at your option) any later version.
*
* xoreos 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 xoreos. If not, see <http://www.gnu.org/licenses/>.
*/

/** @file
* The ingame GUI.
*/

#include "src/engines/kotor2/gui/ingame/ingame.h"

namespace Engines {

namespace KotOR2 {

IngameGUI::IngameGUI(Module &module, Console *console) {
}

void IngameGUI::show() {
}

void IngameGUI::hide() {
}

void IngameGUI::addEvent(const Events::Event &event) {
}

void IngameGUI::processEventQueue() {
}

} // End of namespace KotOR

} // End of namespace Engines
51 changes: 51 additions & 0 deletions src/engines/kotor2/gui/ingame/ingame.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/* xoreos - A reimplementation of BioWare's Aurora engine
*
* xoreos is the legal property of its developers, whose names
* can be found in the AUTHORS file distributed with this source
* distribution.
*
* xoreos 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 3
* of the License, or (at your option) any later version.
*
* xoreos 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 xoreos. If not, see <http://www.gnu.org/licenses/>.
*/

/** @file
* The ingame GUI.
*/

#ifndef ENGINES_KOTOR2_GUI_INGAME_INGAME_H
#define ENGINES_KOTOR2_GUI_INGAME_INGAME_H

#include "src/engines/aurora/console.h"

#include "src/engines/kotor2/module.h"

namespace Engines {

namespace KotOR2 {

class IngameGUI {
public:
IngameGUI(Module &module, ::Engines::Console *console = 0);

void show(); ///< Show all ingame elements.
void hide(); ///< Hide all ingame elements.

void addEvent(const Events::Event &event);
void processEventQueue();
};

} // End of namespace KotOR

} // End of namespace Engines

#endif // ENGINES_KOTOR2_GUI_INGAME_INGAME_H
2 changes: 2 additions & 0 deletions src/engines/kotor2/gui/ingame/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
# Ingame system in Star Wars: Knights of the Old Republic II - The Sith Lords.

src_engines_kotor2_libkotor2_la_SOURCES += \
src/engines/kotor2/gui/ingame/ingame.h \
$(EMPTY)

src_engines_kotor2_libkotor2_la_SOURCES += \
src/engines/kotor2/gui/ingame/ingame.cpp \
$(EMPTY)

0 comments on commit 9999576

Please sign in to comment.