mirror of https://github.com/OpenMW/openmw.git
added gui manager skeleton and a cmake fix
parent
505a972faa
commit
2c63d67ceb
@ -0,0 +1,67 @@
|
||||
|
||||
#include "guimanager.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace MWGui
|
||||
{
|
||||
void GuiManager::showBirthDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::showClassDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::showNameDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::showRaceDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::showReviewDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::enableInventoryWindow()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::enableMagicWindow()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::enableMapWindow()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::enableStatsMenu()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::enableLevelUpDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
void GuiManager::showRestDialogue()
|
||||
{
|
||||
std::cout << "" << std::endl;
|
||||
}
|
||||
|
||||
bool GuiManager::isGuiActive() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
#ifndef GAME_SOUND_GUIMANAGER_H
|
||||
#define GAME_SOUND_GUIMANAGER_H
|
||||
|
||||
namespace MWGui
|
||||
{
|
||||
class GuiManager
|
||||
{
|
||||
public:
|
||||
|
||||
void showBirthDialogue();
|
||||
///< Birthsign (part of the character generation process)
|
||||
|
||||
void showClassDialogue();
|
||||
///< Class selection (part of the character generation process)
|
||||
|
||||
void showNameDialogue();
|
||||
///< Enter character name (part of the character generation process)
|
||||
|
||||
void showRaceDialogue();
|
||||
///< Race selection (part of the character generation process)
|
||||
|
||||
void showReviewDialogue();
|
||||
///< Character generation review (final part of the character generation process)
|
||||
|
||||
void enableInventoryWindow();
|
||||
///< Initially disabled.
|
||||
|
||||
void enableMagicWindow();
|
||||
///< Initially disabled.
|
||||
|
||||
void enableMapWindow();
|
||||
///< Initially disabled.
|
||||
|
||||
void enableStatsMenu();
|
||||
///< Initially disabled.
|
||||
|
||||
void enableLevelUpDialogue();
|
||||
///< Rest/Level-up. Initially disabled.
|
||||
|
||||
void showRestDialogue();
|
||||
///< Rest dialogue: ask player how many hours he wants to sleep.
|
||||
|
||||
bool isGuiActive() const;
|
||||
///< Any non-HUD GUI element active (dialogues and windows)?
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue