Implemented seed controls on random pack panel;

seed settings and pack amounts are stored in settings

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1044 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-03 22:46:53 +00:00
parent d969ae96bd
commit 0cb872a0d3
6 changed files with 113 additions and 16 deletions
+5
View File
@@ -76,6 +76,8 @@ GameSettings::GameSettings()
, images_export_conflicts(CONFLICT_NUMBER_OVERWRITE)
, use_auto_replace(true)
, initialized(false)
, pack_seed_random(true)
, pack_seed(123456)
{}
void GameSettings::initDefaults(const Game& game) {
@@ -110,6 +112,9 @@ IMPLEMENT_REFLECTION_NO_SCRIPT(GameSettings) {
REFLECT(images_export_conflicts);
REFLECT(use_auto_replace);
REFLECT(auto_replaces);
REFLECT(pack_amounts);
REFLECT(pack_seed_random);
REFLECT(pack_seed);
}