1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

- partial implementation of kingdom overview:

-- moved some kingdom overview values to config
-- small fix to garrison window
-- small fix to button class
This commit is contained in:
Ivan Savenko
2010-01-30 19:08:26 +00:00
parent 83e91430a7
commit 6f0f6564d7
7 changed files with 483 additions and 133 deletions

View File

@ -293,6 +293,13 @@ struct SettingsGrammar : public grammar<SettingsGrammar>
( "maxInputPerLine=" >> uint_p[SetAdventureProp_a(&AdventureMapConfig::inputLineLength)]
| "maxOutputPerLine=" >> uint_p[SetAdventureProp_a(&AdventureMapConfig::outputLineLength)]
)
)
| str_p("Overview:") >>
*(
( "pics=" >> uint_p[SetAdventureProp_a(&AdventureMapConfig::overviewPics)]
| "size=" >> uint_p[SetAdventureProp_a(&AdventureMapConfig::overviewSize)]
| "graphic=" >> fname[SetAdventureStr(&AdventureMapConfig::overviewBg)]
)
)
;
AdvMapOptionsSequence = *(AdvMapOption >> (';' | eps_p[lerror("Semicolon lacking in advmapopt!")]));