linux release build, cleanup repository

This commit is contained in:
Ondřej Novák 2025-02-08 19:27:47 +01:00
parent 529b3e8bf8
commit 3d8ee275e4
441 changed files with 280 additions and 65861 deletions

View file

@ -223,13 +223,6 @@ static void show_liane(THE_TIMER *t)
static const float Snapper=3<<22;
static __inline int toInt(float fval)
{
fval += Snapper;
return ( (*(int *)&fval)&0x007fffff ) - 0x00400000;
}
static void OtocObrazPodleMatice(float mx[3][2], word *picture)
{
@ -243,8 +236,8 @@ static void OtocObrazPodleMatice(float mx[3][2], word *picture)
{
int oldx=x-320;
int oldy=y-180;
int newx=toInt(oldx*mx[0][0]+oldy*mx[1][0]+320);
int newy=toInt(oldx*mx[0][1]+oldy*mx[1][1]+180);
int newx=(int)(oldx*mx[0][0]+oldy*mx[1][0]+320);
int newy=(int)(oldx*mx[0][1]+oldy*mx[1][1]+180);
if (newx>=0 && newx<640 && newy>=0 && newy<360)
trg[x]=picture[newx+640*newy];
else