kill messages cfg editable in game, and separated from server config

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6347 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2011-04-25 23:23:02 +00:00
parent 8b2f33b614
commit aec37282f8
7 changed files with 69 additions and 109 deletions
+2 -1
View File
@@ -34,6 +34,7 @@ void quit() // normal exit
extern void writeinitcfg();
writeinitcfg();
writeservercfg();
writekillmsgcfg();
if(resetcfg) deletecfg();
else writecfg();
cleanup(NULL);
@@ -1107,7 +1108,6 @@ int main(int argc, char **argv)
exec("config/scontext.cfg");
exec("config/locale.cfg");
exec("config/keymap.cfg");
exec("config/killmessages.cfg");
exec("config/menus.cfg");
exec("config/scripts.cfg");
exec("config/prefabs.cfg");
@@ -1115,6 +1115,7 @@ int main(int argc, char **argv)
exec("config/securemaps.cfg");
exec("config/admin.cfg");
execfile("config/servers.cfg");
execfile("config/killmessages.cfg");
persistidents = true;
static char resdata[] = { 112, 97, 99, 107, 97, 103, 101, 115, 47, 116, 101, 120, 116, 117, 114, 101, 115, 47, 107, 117, 114, 116, 47, 107, 108, 105, 116, 101, 50, 46, 106, 112, 103, 0 };