File diff r25527:ad30d3893783 → r25528:52b815c03f32
src/table/currency_settings.ini
Show inline comments
 
@@ -5,13 +5,12 @@
 
;
 

	
 
[pre-amble]
 
static const SettingDesc _currency_settings[] = {
 
static const SettingTable _currency_settings{
 
[post-amble]
 
};
 
[templates]
 
SDT_VAR  = SDT_VAR ($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
 
SDT_SSTR = SDT_SSTR($base, $var, $type, $flags, $guiflags, $def,                        $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
 
SDT_END  = SDT_END()
 

	
 
[validation]
 
SDT_VAR = static_assert($max <= MAX_$type, "Maximum value for $base.$var exceeds storage size");
 
@@ -67,6 +66,3 @@ base     = CurrencySpec
 
var      = suffix
 
type     = SLE_STRQ
 
def      = "" credits""
 

	
 
[SDT_END]