forked from tTh/FloatImg
cosmetic
This commit is contained in:
parent
154844c94d
commit
a449c53592
@ -6,18 +6,19 @@
|
||||
#
|
||||
|
||||
BEGIN {
|
||||
print "// -----------------------------------"
|
||||
print "// -------------------------------------"
|
||||
print "// generated file, do not edit by hand !"
|
||||
print "// -----------------------------------"
|
||||
print "// -------------------------------------"
|
||||
}
|
||||
|
||||
# $1 is the badly brain-designed numeric id
|
||||
# $2 is the user name of the filter
|
||||
|
||||
{
|
||||
printf "#define CR_%s (%d)\n", $2, $1
|
||||
name = sprintf("CR_%s", $2)
|
||||
printf "#define %-15s (%d)\n", name, $1
|
||||
}
|
||||
|
||||
END {
|
||||
print "// generated file, do not edit by hand !"
|
||||
print "\n// generated file, do not edit by hand !"
|
||||
}
|
||||
|
@ -5,10 +5,10 @@
|
||||
# is includet by 'crapulator.c'
|
||||
#
|
||||
BEGIN {
|
||||
print "// -----------------------------------"
|
||||
print "// generated file, do not edit by hand";
|
||||
print "// -----------------------------------"
|
||||
print "Crapulor CrapL[] = {";
|
||||
print "// -------------------------------------"
|
||||
print "// generated file, do not edit by hand !";
|
||||
print "// -------------------------------------"
|
||||
print "Crapulor CrapL[] = {";
|
||||
}
|
||||
|
||||
# $1 is the badly brain-designed numeric id
|
||||
@ -16,12 +16,13 @@ BEGIN {
|
||||
# $3 and $4 are two not used parameters
|
||||
#
|
||||
{
|
||||
printf " { CR_%s, \"%s\", %d, %f }, // id=%d\n",
|
||||
$2, $2, $3, $4, $1;
|
||||
name = sprintf("CR_%s", $2)
|
||||
printf " { %-12s, \"%s\", %d, %f }, // #%d\n",
|
||||
name, $2, $3, $4, $1;
|
||||
}
|
||||
|
||||
END {
|
||||
print " { -1, NULL }"
|
||||
print " };"
|
||||
print "// generated file, do not edit by hand"
|
||||
print "// generated file, do not edit by hand !"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user