add "output" and "mesh" commands to be more like zmodel

git-svn-id: svn://svn.icculus.org/twilight/trunk/dpmodel@8814 d7cf8633-e32d-0410-b094-e92efae38249
This commit is contained in:
divverent 2009-03-18 19:41:39 +00:00
parent f1f6490651
commit 3eec849b89

View file

@ -1857,7 +1857,10 @@ int sc_scene(void)
{
c = gettoken();
if (!strcmp(c, "fps"))
{
sceneframerate = atoi(gettoken());
c = gettoken(); // either "noloop", or our newline
}
else
sceneframerate = 10;
if (sceneframerate)
@ -1891,11 +1894,13 @@ sccommand sc_commands[] =
{
{"attachment", sc_attachment},
{"outputdir", sc_outputdir},
{"model", sc_model},
{"texturedir", sc_texturedir},
{"output", sc_model},
{"model", sc_model},
{"origin", sc_origin},
{"rotate", sc_rotate},
{"scale", sc_scale},
{"mesh", sc_scene},
{"scene", sc_scene},
{"invert", sc_invert},
{"#", sc_comment},