docs clean up (thanks to V-Man for the incredible work), and setfont saved in configs

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5626 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-08-15 00:27:25 +00:00
parent 613a50ffa3
commit 039ebe6d42
3 changed files with 2477 additions and 1470 deletions
+7 -1
View File
@@ -56,6 +56,12 @@ COMMANDN(font, newfont, ARG_8STR);
COMMAND(fontchar, ARG_4INT);
COMMAND(fontskip, ARG_1INT);
string myfont;
void newsetfont(const char *name)
{
if ( setfont(name) ) copystring(myfont,name);
}
bool setfont(const char *name)
{
font *f = fonts.access(name);
@@ -63,7 +69,7 @@ bool setfont(const char *name)
curfont = f;
return true;
}
COMMAND(setfont, ARG_1STR);
COMMANDN(setfont, newsetfont, ARG_1STR);
font *getfont(const char *name)
{