Import of Empire 4.2.12
This commit is contained in:
commit
d8b7fdfae1
817 changed files with 126589 additions and 0 deletions
15
scripts/mapper/randppm.awk
Normal file
15
scripts/mapper/randppm.awk
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/awk -f
|
||||
|
||||
# Create random colors for colormap files
|
||||
|
||||
BEGIN {
|
||||
printf("P3\n16 16\n255\n");
|
||||
srand();
|
||||
printf("0 192 255\n");
|
||||
for (i=1;i<253;i++) {
|
||||
printf("%d %d %d\n",32*int(rand()*6)+32,32*int(rand()*6)+32,32*int(rand()*6)+32);
|
||||
}
|
||||
printf("255 255 255\n");
|
||||
printf("128 128 128\n");
|
||||
printf("0 0 0\n");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue