mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Implemented the context management part of the ScriptManager
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@61 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+5
-1
@@ -16,6 +16,10 @@
|
||||
|
||||
IMPLEMENT_DYNAMIC_ARG(Game*, game_for_reading, nullptr);
|
||||
|
||||
Game::Game()
|
||||
: dependencies_initialized(false)
|
||||
{}
|
||||
|
||||
GameP Game::byName(const String& name) {
|
||||
return packages.open<Game>(name + _(".mse-game"));
|
||||
}
|
||||
@@ -48,7 +52,7 @@ IMPLEMENT_REFLECTION(Game) {
|
||||
// REFLECT(word_lists);
|
||||
}
|
||||
|
||||
void Game::validate() {
|
||||
void Game::validate(Version) {
|
||||
// a default for the full name
|
||||
if (full_name.empty()) full_name = name();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user