make messages more consistent
[xonotic/xonotic-maps.pk3dir.git] / scripts / entities.def2ent
index f709af2a8a096a80715af687db184a6ac63ca48c..2ade9938cc32fc38831d1df2dc9485c94aadfbe8 100755 (executable)
@@ -11,7 +11,7 @@ open my $fh, '<', '../../xonotic-data.pk3dir/qcsrc/server/qc.asm'
 while(<$fh>)
 {
        chomp;
-       if(/^\.(\w+) (\w+);$/)
+       if(/^\.(\w+) (\w+);(?: \/\* at .* \*\/)$/)
        {
                if($1 eq "float")
                {
@@ -46,6 +46,7 @@ $types{target4} = "target";
 $types{targetname} = "targetname";
 $types{target} = "target";
 $types{team} = "integer";
+$types{target_random} = "boolean";
 
 # missing definition in QC, q3map2 only
 $types{_ambient} = "real";
@@ -62,7 +63,8 @@ $types{fade} = "real";
 $types{_farplanedist} = "real";
 $types{_filterradius} = "real";
 $types{_floodlight} = "string";
-$types{_frame} = "real";
+$types{_frame} = "integer";
+$types{_skin} = "integer";
 $types{gridsize} = "integer3";
 $types{_ignoreleaks} = "boolean";
 $types{_indexmap} = "texture";