*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1081 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+7
-1
@@ -103,6 +103,12 @@ void screenres(int w, int h, int bpp = 0)
|
||||
glViewport(0, 0, w, h);
|
||||
#endif
|
||||
}
|
||||
#if defined(WIN32) || defined(__APPLE__) || !defined(WIN32)
|
||||
void setresdata(char *s, enet_uint32 c)
|
||||
{
|
||||
mapinfo[newstring(s)] = c;
|
||||
}
|
||||
#endif
|
||||
|
||||
COMMAND(screenres, ARG_3INT);
|
||||
|
||||
@@ -303,7 +309,7 @@ int main(int argc, char **argv)
|
||||
gzread(f, s, sizeof(string));
|
||||
enet_uint32 c;
|
||||
gzread(f, &c, sizeof(enet_uint32));
|
||||
mapinfo[newstring(s)] = c;
|
||||
setresdata(s, c);
|
||||
}
|
||||
gzclose(f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user