tags 916035 + patch thanks Attached patch to fix building with fixmul instead of fmul. (I am the cause of the problem with my allegro4.4 upload)
thanks -- Andreas Rönnquist gus...@debian.org
--- a/src/explos.c +++ b/src/explos.c @@ -126,10 +126,10 @@ while (tmp) { x2 = fixtoi(tmp->x)-x; - x2 -= fixtoi(fmul(itofix(tmp->spr->w), tmp->r))/2; + x2 -= fixtoi(fixmul(itofix(tmp->spr->w), tmp->r))/2; y2 = fixtoi(tmp->y)-y; - y2 -= fixtoi(fmul(itofix(tmp->spr->h), tmp->r))/2; + y2 -= fixtoi(fixmul(itofix(tmp->spr->h), tmp->r))/2; /* dibujar */ rotate_scaled_sprite(bmp, tmp->spr, x2, y2, itofix(tmp->rot), tmp->r); --- a/src/enemigo.c +++ b/src/enemigo.c @@ -495,7 +495,7 @@ nueva->dx = ftofix((float)rand_ex(-fixtof(arma_ene[ene->arma_actual].vx)*10.0, fixtof(arma_ene[ene->arma_actual].vx)*10.0) / 10.0); if (rand()%100 < 10) nueva->dx = 0; - nueva->dy = fmul(arma_ene[ene->arma_actual].vy, itofix(rand_ex(1, 3)) ); + nueva->dy = fixmul(arma_ene[ene->arma_actual].vy, itofix(rand_ex(1, 3)) ); break; case 2: /* abanico triple */ @@ -527,7 +527,7 @@ if (rand()%100 < 15) // cada tanto, al azar { nueva->dx = ftofix((float)rand_ex(-150, 150) / 10.0); - nueva->dy = fmul(arma_ene[ene->arma_actual].vy, itofix(rand_ex(1, 3)) ); + nueva->dy = fixmul(arma_ene[ene->arma_actual].vy, itofix(rand_ex(1, 3)) ); } break;