accc: add option for extended ac3d file format for triangles

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9239 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
iobyte 2024-01-09 23:14:39 +00:00
parent 88b2a5291c
commit 60e40a78bc
1 changed files with 8 additions and 1 deletions

View File

@ -58,7 +58,7 @@ double smooth_angle = 70.0;
void usage(void)
{
fprintf(stderr, "Ac3d Compiler $Revision: 1.4.7 $\n");
fprintf(stderr, "Ac3d Compiler $Revision: 1.4.8 $\n");
fprintf(stderr, "Usage: accc [option] <inputfile> <outputfile> [dist][-order \"orderstring\"]<\n");
fprintf(stderr, "+o: ac3d to ac3d : the result file is optimized\n");
fprintf(stderr, " in using groups by zone of track\n");
@ -93,6 +93,7 @@ void usage(void)
fprintf(stderr, " -d1 <val> : the distance of group 1 in tkmn\n");
fprintf(stderr, " -S <val> : the distance of splitting for TERRAIN* objects\n");
fprintf(stderr, " -es : for extended ac3d file format for strips\n");
fprintf(stderr, " -et : for extended ac3d file format for triangles\n");
fprintf(stderr, " -nts : no texture split (for debug)\n");
}
@ -196,6 +197,12 @@ void init_args(int argc, char **argv)
continue;
}
if (!strcmp(argv[i], "-et"))
{
extendedTriangles = true;
continue;
}
if (!strcmp(argv[i], "-nts"))
{
notexturesplit = true;