|
From: Krzysztof K. <k.k...@gm...> - 2010-01-31 09:32:53
|
Moving discussion from the "General discussion" forum on sourceforge. The following functions do the trick: options.c:setup_options():336 <- this is called from main options.c:read_config_file():184 <- this is called from setup_options options.c:write_default_config():260 <- this is called if read_config_file fails The options has type game_options, and the type is declared in options.h The config file parsing is driven by the table config_strings that is defined in options.c:85. These functions have been around since 0.3 or so, so it's not possible you don't have them/they do not work for you in either linux or windows (unless something is buggy, of course). In the latter case please bump up debug level and check what happens during startup. Best regards, -- Krzysztof Kościuszkiewicz Skype: dr.vee, Gadu: 111851, Jabber: ko...@ja... "Simplicity is the ultimate sophistication" -- Leonardo da Vinci |