Scott Wojtowicz writes,
>when i tried to read the rar file, it said that the header file was
>broken. so i repaired it and when i tried to extract the files, it came
>up will a CRC failure.
Somebody else had this problem so I checked the file on my HD to be good
and uploaded it again. It should be OK now.
--
Paul Richards (AKA Pauldoo)
EMAIL paul@...
FAX +44 (0)870 0522086
HTTP http://www.dunvegan1.demon.co.uk/paul/
ICQ 14106503
>From <allegro-owner@...> Mon May 24 15:09:02 1999
Received: from finch-post-10.mail.demon.net [194.217.242.38] by canvaslink.com with ESMTP
(SMTPD32-4.06) id A3CC272F0106; Mon, 24 May 1999 15:09:00 -0400
Received: from [193.237.111.243] (helo=dunvegan1.demon.co.uk)
by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1)
id 10m05Q-000D54-0A
for allegro@...; Mon, 24 May 1999 19:08:38 +0000
Message-ID: <ywkmdGA$5ZS3EwA0@...>
Date: Mon, 24 May 1999 19:46:23 +0100
To: allegro@...
From: Paul Richards <Paul@...>
Subject: Re: [AL] BotWars
References: <1jAv7LAaYyR3EwIf@...>
<Pine.GSO.4.05.9905241400230.5045-100000@...>
In-Reply-To: <Pine.GSO.4.05.9905241400230.5045-100000@...>
MIME-Version: 1.0
X-Mailer: Turnpike (32) Version 4.01 <5Y9PmoTxnkdx6tAFcQ+gcCx86I>
Precedence: bulk
Sender: allegro-owner@...
Reply-To: allegro@...
X-UIDL: 927489930
Status: O
Content-Length: 606
Lines: 15
Przemyslaw Arkadiusz PODSIADLY writes,
> Maybe you would be interested in using SeeR in you engine? That
>wouldn't make you and all your users recompile all the stuff. Your engine
>would compile bot scripts on runtime!
> If you don't know what SeeR is, see its homepage.
Yeah, my program is a bit crap aint it. :)
I only done it to see if it was possible... I think the next version
(if any) will be in Win32 and have DLL's for the bots...
--
Paul Richards (AKA Pauldoo)
EMAIL paul@...
FAX +44 (0)870 0522086
HTTP http://www.dunvegan1.demon.co.uk/paul/
ICQ 14106503
>From <allegro-owner@...> Mon May 24 15:47:16 1999
Received: from tele-post-20.mail.demon.net [194.217.242.20] by canvaslink.com with ESMTP
(SMTPD32-4.06) id ACBDDF400F8; Mon, 24 May 1999 15:47:09 -0400
Received: from [194.222.103.32] (helo=talula.demon.co.uk)
by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2)
id 10m0gR-000KE0-0K
for allegro@...; Mon, 24 May 1999 19:46:47 +0000
Received: (from shawn@...)
by talula.demon.co.uk (8.9.3/8.8.7) id TAA15883
for allegro@...; Mon, 24 May 1999 19:45:41 +0100
Date: Mon, 24 May 1999 19:45:41 +0100
From: Shawn Hargreaves <shawn@...>
To: allegro@...
Subject: Re: [AL] Keyboard jamming! Help!
Message-ID: <19990524194541.H11359@...>
Mail-Followup-To: allegro@...
References: <000701bea3d9$07569ca0$250664c3@...>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4us
In-Reply-To: <000701bea3d9$07569ca0$250664c3@...>; from Kunkells! on Sat, May 22, 1999 at 12:26:51AM +0200
Precedence: bulk
Sender: allegro-owner@...
Reply-To: allegro@...
X-UIDL: 927489930
Status: O
Content-Length: 897
Lines: 17
Kunkells! <kunkell@...> writes:
> In a game we have created, the main game loop checks for keypresses every 40 ms
> using the key[] array. After a while of playing (especially when playing in pure DOS-mode)
> one of the keys appears to lock in "active" mode so key[x] always appears to be true.
The only way I can think that this might happen is if you've somehow
clobbered that memory yourself, or are managing to miss interrupts for some
reason (that could happen if you run for long periods with interrupts
disabled, but Allegro avoids doing that).
Which key gets stuck down? What Allegro version? What hardware? What else is
going on at the same time? Can you duplicate this problem in any of the
tests or example programs?
--
Shawn Hargreaves - shawn@... - http://www.talula.demon.co.uk/
"A binary is barely software: it's more like hardware on a floppy disk."
>From <allegro-owner@...> Mon May 24 16:15:13 1999
Received: from orion.vo.lu [212.24.194.7] by canvaslink.com with ESMTP
(SMTPD32-4.06) id A34E190F0110; Mon, 24 May 1999 16:15:10 -0400
Received: from mirko ([212.24.192.63]) by orion.vo.lu
(Post.Office MTA v3.5.3 release 223 ID# 0-52903U2400L200S0V35)
with SMTP id lu for <allegro@...>;
Mon, 24 May 1999 22:14:38 +0200
Message-ID: <004601bea621$db2acf20$0700000a@...>
From: "Mirko Biewers" <biewers@...>
To: "Allegro Mailing List" <allegro@...>
Subject: [AL] Still a problem with my pentagon (See 13.05.1999)
Date: Mon, 24 May 1999 22:13:14 +0200
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Precedence: bulk
Sender: allegro-owner@...
Reply-To: allegro@...
X-UIDL: 927489930
Status: O
Content-Length: 3440
Lines: 151
Hello it's me again with my pentagon (see 13.05.1999)
The program now works (Thanx to those who helped me) but if I try for
example to display 3 pentagons at the same time, it doesn't work
I do :
PENTAGON *p1;
PENTAGON *p2;
PENTAGON *p3;
...
p1 = create_pentagon(0,0,150,50,160,150,80,200,20,140,43); >
p2 = create_pentagon(20,10,160,60,170,160,90,210,50,170,44); > I
Think here is somewhere a problem
p3 = create_pentagon(30,20,170,70,160,150,80,230,20,140,45); >
p1->x_speed = -1;
p1->y_speed = -1;
p2->x_speed = 1;
p2->y_speed = 1;
p3->x_speed = -2;
p3->y_speed = -1;
for(;;)
{
clear(buffer);
display_pentagon(buffer, p1);
display_pentagon(buffer, p2);
display_pentagon(buffer, p3);
blit(buffer,screen,0,0,0,0,SCREEN_W,SCREEN_H);
move_pentagon(p1);
move_pentagon(p2);
move_pentagon(p3);
if(key[KEY_ESC])
{
fade_out(10);
break;
}
}
PENTAGON *create_pentagon(int x,int y, int a, int b, int c, int d, int e,
int f, int g, int h, int color)
{
PENTAGON *penta;
penta->vertex[0].x = x;
penta->vertex[0].y = y;
penta->vertex[1].x = a;
penta->vertex[1].y = b;
penta->vertex[2].x = c;
penta->vertex[2].y = d;
penta->vertex[3].x = e;
penta->vertex[3].y = f;
penta->vertex[4].x = g;
penta->vertex[4].y = h;
penta->color = color;
return (penta);
}
void draw_pentagon(BITMAP *bitmap,int x, int y, int a, int b, int c, int d,
int e, int f, int g, int h, int color)
{
line(bitmap,x,y,a,b,color);
line(bitmap,a,b,c,d,color);
line(bitmap,c,d,e,f,color);
line(bitmap,e,f,g,h,color);
line(bitmap,g,h,x,y,color);
}
void display_pentagon(BITMAP *bitmap, PENTAGON *penta)
{
draw_pentagon(bitmap,penta->vertex[0].x,
penta->vertex[0].y,penta->vertex[1].x, penta->vertex[1].y,
penta->vertex[2].x, penta->vertex[2].y, penta->vertex[3].x,
penta->vertex[3].y,
penta->vertex[4].x, penta->vertex[4].y, penta->color);
}
void move_pentagon(PENTAGON *penta)
{
int x_speed, y_speed;
x_speed = penta->x_speed;
y_speed = penta->y_speed;
penta->vertex[0].x += x_speed;
penta->vertex[0].y += y_speed;
penta->vertex[1].x += x_speed;
penta->vertex[1].y += y_speed;
penta->vertex[2].x += x_speed;
penta->vertex[2].y += y_speed;
penta->vertex[3].x += x_speed;
penta->vertex[3].y += y_speed;
penta->vertex[4].x += x_speed;
penta->vertex[4].y += y_speed;
if (penta->vertex[4].x <= 0)
{
x_speed=-x_speed;
}
if (penta->vertex[0].y <= 0)
{
y_speed=-y_speed;
}
if (penta->vertex[1].x >= SCREEN_W)
{
x_speed=-x_speed;
}
if (penta->vertex[3].y >= SCREEN_H)
{
y_speed=-y_speed;
}
penta->x_speed = x_speed;
penta->y_speed = y_speed;
}
But instead of showing me 3 pentagons moving through the screen it shows me
ONE RUNNING AT AN ENORMOUS SPEED !
What have I done wrong ?
I know it's maybe annoying for you all to read all I've written, but I would
appreciate any help
Many thanx in advance
Mirko Biewers
****************************************************************
This Mail sent by Mirko Biewers - biewers@...
ICQ UIN : 2760950
Vote against spam : http://www.politik-digital.de/spam
And don't forget to visit my homepage at
http://welcome.to/mirkos-world
http://www2.vo.lu/homepages/biewers
****************************************************************
|