mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Initial Console implementation
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "hecl/CVarManager.hpp"
|
||||
#include "hecl/CVar.hpp"
|
||||
#include "hecl/Console.hpp"
|
||||
#include <athena/FileWriter.hpp>
|
||||
#include <athena/Utility.hpp>
|
||||
#include <hecl/Runtime.hpp>
|
||||
@@ -175,6 +176,32 @@ CVarManager* CVarManager::instance()
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
void CVarManager::list(const std::vector<std::string> &args)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CVarManager::setCVar(const std::vector<std::string> &args)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CVarManager::getCVar(const std::vector<std::string> &args)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool CVarManager::restartRequired() const
|
||||
{
|
||||
for (const auto& cv : m_cvars)
|
||||
{
|
||||
if (cv.second->isModified() && cv.second->modificationRequiresRestart())
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CVarManager::suppressDeveloper()
|
||||
{
|
||||
bool oldDeveloper = com_developer->toBoolean();
|
||||
|
||||
Reference in New Issue
Block a user