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:
twanvl
2006-10-30 21:39:58 +00:00
parent 0a3a089c98
commit 0caaf01a78
22 changed files with 288 additions and 58 deletions
+5 -1
View File
@@ -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();
}