mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-27 00:41:08 +02:00
* fix for bugs 47 and 89
This commit is contained in:
@ -288,6 +288,12 @@ struct SettingsGrammar : public grammar<SettingsGrammar>
|
||||
| "graphic=" >> fname[AddGemName()]
|
||||
)
|
||||
)
|
||||
| str_p("InGameConsole:") >>
|
||||
*(
|
||||
( "maxInputPerLine=" >> uint_p[SetAdventureProp_a(&AdventureMapConfig::inputLineLength)]
|
||||
| "maxOutputPerLine=" >> uint_p[SetAdventureProp_a(&AdventureMapConfig::outputLineLength)]
|
||||
)
|
||||
)
|
||||
;
|
||||
AdvMapOptionsSequence = *(AdvMapOption >> (';' | eps_p[lerror("Semicolon lacking in advmapopt!")]));
|
||||
GUIResolution = (uint_p[assign_a(curRes.first)] >> 'x' >> uint_p[assign_a(curRes.second)])
|
||||
|
Reference in New Issue
Block a user