delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/24/18:54:32

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: MOUSE FOR DJGPP
Date: Fri, 24 Sep 1999 13:23:05 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 70
Message-ID: <7sgfls$gh9$1@solomon.cs.rose-hulman.edu>
References: <199909240437 DOT AAA24346 AT delorie DOT com>
NNTP-Posting-Host: 137.112.103.81
X-Trace: solomon.cs.rose-hulman.edu 938197500 16937 137.112.103.81 (24 Sep 1999 18:25:00 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 24 Sep 1999 18:25:00 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dan Gold <TedMat AT CoastNet DOT com> wrote in message
news:199909240437 DOT AAA24346 AT delorie DOT com...
> I agree, use Allegro.  If you do not plan on using svga resolutions you
can
> use the int33 driver but it is not so great.

You can still probably use int33 but you'll have to hide int33's
cursor and set the mouse's cage (movement boundary
rectangle) yourself.

> If you want to use svga resolutions, you need to create your
> own mouse handler

Not if you hide the cursor and draw your own as a game object

> because the memory is mapped to a different
> address than where the int33 driver looks at.
> Plus Logitech mice are different for reasons I forget

They move at one-eighth speed. I should know; I got one
with my laptop, and it's slow as (censored).

> and I believe you must use the mouse mickeys to detect movement.

That's why Allegro 3.925's default mouse driver is called
Mickey Mouse (reg. TM of The Walt Disney Company).
http://disney.go.com/

> If you just want mouse support I dont suggest
> making your own, Allegro's is very well put together.
>8
> I do think Allegro should have the ability to partition it's use into
> various catagories like i/o, screen, drawing, sound and such so you can
> pick and choose what you need and what you will be implementing yourself.

I believe that's called the "linker."

> > From: JOo pa joo <peter DOT lehto AT dlc DOT fi>
> > To: djgpp AT delorie DOT com
> > Subject: MOUSE FOR DJGPP
> > Date: Thursday, September 23, 1999 9:11 AM
> >
> > i need help! ...     im programming a game called: I shoot
> > i have just one problem, i need mouse support for my game
> >
> > somekind mouse with own pointer picture...

You'll have to draw the pointer as a sprite. I assume that "iShoot"
is a first person shooter of the Duck Hunt/Virtua Cop family,
where you use your mouse to aim and the button to fire at a
movie. Simply draw a crosshair on the screen every frame of
the game loop.

> > !!!!!!NOT FROM ALLEGRO!!!!!!

Write your own code _based_ on Allegro's. Then it will not be
"from" Allegro.

> > some one who will give me a mouse source code will
> > receive free copy of my game!

http://www.talula.demon.co.uk/allegro/

Give it to Shawn.

--
Damian Yerrick
http://pineight.webjump.com/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019