Browse Source

more useles messages

master
tth 2 years ago
parent
commit
a81d218fc8
  1. 7
      tools/essai.sh
  2. 2
      tools/fimgfx.c
  3. 3
      tools/mkfimg.c

7
tools/essai.sh

@ -19,14 +19,15 @@ echo "=== " $0 " ===" @@ -19,14 +19,15 @@ echo "=== " $0 " ==="
# -----------------------------------------------------
function essai_drand48
{
./mkfimg -v -t drand48 $TMPF 800 600
./mkfimg -vv -t drand48 $TMPF 800 600
./fimgstats -vv $TMPF
}
# -----------------------------------------------------
function essai_cmixa
{
./mkfimg -v -t tpat0 $TMPF 800 600
./fimgfx -v cmixa $TMPF bar.fimg
./mkfimg -vv -t tpat0 $TMPF 800 600
./fimgfx -vv cmixa $TMPF bar.fimg
}
# -----------------------------------------------------

2
tools/fimgfx.c

@ -210,6 +210,8 @@ if (3 > argc-optind) { @@ -210,6 +210,8 @@ if (3 > argc-optind) {
exit(1);
}
if (verbosity>1) fprintf(stderr, "*** fimgfx *** %s %s\n", __DATE__, __TIME__);
operator = argv[optind];
action = lookup_fxidx(operator);
if (action < 0) {

3
tools/mkfimg.c

@ -111,8 +111,9 @@ if (type < 0) { @@ -111,8 +111,9 @@ if (type < 0) {
fname = argv[optind];
width = atoi(argv[optind+1]); height = atoi(argv[optind+2]);
if (verbosity>1) fprintf(stderr, "*** mkfimg *** %s %s\n", __DATE__, __TIME__);
if (verbosity) fprintf(stderr, "making '%s' %d x %d, type %d\n",
fname, width, height, type);
fname, width, height, type);
srand48(getpid() ^ time(NULL));

Loading…
Cancel
Save