reset all settings
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1713 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -562,6 +562,16 @@ void writecfg()
|
||||
|
||||
COMMAND(writecfg, ARG_NONE);
|
||||
|
||||
bool deletecfg()
|
||||
{
|
||||
if(!delfile("config/saved.cfg"))
|
||||
{
|
||||
conoutf("could not delete the file config/saved.cfg");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void identnames(vector<const char *> &names, bool builtinonly)
|
||||
{
|
||||
enumerateht(*idents) if(!builtinonly || idents->enumc->data.type != ID_ALIAS) names.add(idents->enumc->key);
|
||||
|
||||
Reference in New Issue
Block a user