*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1277 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-08-30 05:31:24 +00:00
parent 5114b659c8
commit b57d3cf723
9 changed files with 22 additions and 18 deletions
+2 -10
View File
@@ -325,8 +325,8 @@ int main(int argc, char **argv)
initlog("gl");
gl_init(scr_w, scr_h, colorbits, depthbits, fsaa);
crosshair = textureload("packages/misc/crosshairs/default.png");
if(!crosshair) fatal("could not find core textures (hint: run AssaultCube from the parent of the bin directory)");
notexture = textureload("packages/misc/notexture.png");
if(!notexture) fatal("could not find core textures (hint: run AssaultCube from the parent of the bin directory)");
initlog("console");
if(!execfile("config/font.cfg")) fatal("cannot find font definitions");
@@ -489,13 +489,5 @@ int main(int argc, char **argv)
return EXIT_SUCCESS;
}
void loadcrosshair(char *c)
{
s_sprintfd(p)("packages/misc/crosshairs/%s", c);
crosshair = textureload(p);
}
COMMAND(loadcrosshair, ARG_1STR);
VAR(version, 1, AC_VERSION, 0);