- October 13, 2024, 16:52
- Welcome, Guest
Show Posts
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Off Topic / MazeCrawl version 0.9.1 Demo
« on: May 19, 2007, 14:11 »
Demo made in 2 month time.
http://mazecrawl.com/downloads.html
Please vote and leave your comments here or at http://mazecrawl.com/forum/
http://mazecrawl.com/downloads.html
Please vote and leave your comments here or at http://mazecrawl.com/forum/
2
FPC Valkyrie / math.pas
« on: May 17, 2007, 16:05 »
It's not a bug, but likely thing that makes people think you are not a math addict ))
function RealDistance(x1,y1,x2,y2 : Double): Double;
begin
RealDistance := Sqrt(Sqr(Abs(x2-x1)) + Sqr(Abs(y2-y1)));
end;
function TriDistance(x1,y1,x2,y2 : Integer): Byte;
begin
TriDistance := Round(Sqrt(Sqr(Abs(x2-x1)) + Sqr(Abs(y2-y1))));
end;
Abs is not necessary here.
function RealDistance(x1,y1,x2,y2 : Double): Double;
begin
RealDistance := Sqrt(Sqr(Abs(x2-x1)) + Sqr(Abs(y2-y1)));
end;
function TriDistance(x1,y1,x2,y2 : Integer): Byte;
begin
TriDistance := Round(Sqrt(Sqr(Abs(x2-x1)) + Sqr(Abs(y2-y1))));
end;
Abs is not necessary here.
3
Requests For Features / Game Window
« on: May 17, 2007, 05:56 »
What about creating win32 style version(i mean to make window instead of console)?
It will certainly make DoomRL look better.
It will certainly make DoomRL look better.
Pages: [1]