Re: The Euphoria Sub Commander project
don cole wrote:
>
> ChrisBurch3 wrote:
> >
> > Hi Don
> >
> > Are you using DOS routines to draw the sonar screen? Ideally you should be
> > creating a bitmap that allegro can blit to a section of the main screen.
> >
> > Chris
>
> I should say I'm using a Pixmap in a Window with win32lib.ew. I could
> easily
> convert it to DOS. I don't really know what Allegro is.
>
> Don Cole
Hi Don
Allegro is the game / graphic library I'm using as the basis for the program.
It is written under windows.
The basic loop will be
while 1 do
--move sub
--move targets
--move torpedoes
--display display stuff
--if selected display sonar by pinging for ships in line with the sonar beam
end while
Hopefully, what your module will do will take the locations of the ships, and
return the bitmap / pixmap of the entire sonar, so that the display module
can display the sonar on the relevant part of the screen. All I need your
module to do is to return a bitmap.
Hi CK
No, you're ahead of me there, give me a day or two
Chris
|
Not Categorized, Please Help
|
|