*Finished cleaning the Win32 code so that the game compiles again.

*Fixed the SDF[0][0] being set to 1 when killing wandering or summoned monsters.

Chokboyz

git-svn-id: http://openexile.googlecode.com/svn/trunk@132 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Chokboyz
2009-10-18 23:26:28 +00:00
parent a7893db77b
commit 5ebbe14d6f
32 changed files with 484 additions and 367 deletions

View File

@@ -72,7 +72,7 @@ void alter_rect(RECT16 *r)
r->right = a;
}
short get_ran (short times, short min, short max)
/*short get_ran (short times, short min, short max) => already defined in mathutil.cpp
{
short store;
short i, to_ret = 0;
@@ -86,7 +86,7 @@ short get_ran (short times, short min, short max)
to_ret = to_ret + min + store;
}
return to_ret;
}
}*/
Boolean same_point(location p1,location p2)
{
@@ -95,12 +95,12 @@ Boolean same_point(location p1,location p2)
else return FALSE;
}
short s_pow(short x,short y)
/*short s_pow(short x,short y) => already defined in mathutil.cpp
{
if (y == 0)
return 1;
return (short) pow((double) x, (double) y);
}
}*/
void Delay(short val, long *)
{