firstrun script, new menu items, lanconnect fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1512 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-12-29 16:54:44 +00:00
parent 17ec0b131e
commit e87a167c93
12 changed files with 693 additions and 293 deletions
+6
View File
@@ -74,6 +74,7 @@ void newname(const char *name)
if(!player1->name[0]) s_strcpy(player1->name, "unarmed");
}
else conoutf("your name is: %s", player1->name);
alias("curname", player1->name);
}
int smallerteam()
@@ -535,6 +536,11 @@ void startmap(const char *name) // called just after a map load
intermission = false;
minutesremaining = -1;
if(*clientmap) conoutf("game mode is \"%s\"", modestr(gamemode));
if(firstrun && name && name[0])
{
execfile("config/firstrun.cfg");
firstrun = false;
}
}
void suicide()