Mail Archives: djgpp/1999/09/01/05:07:16

From: "Damian Yerrick" <die DOT spammers AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: using joystick with Allegro for djgpp
Date: Tue, 31 Aug 1999 21:12:50 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 33
Message-ID: <7qi26n$nsr$>
References: <37C98F2B DOT D6C484BE AT cc DOT umanitoba DOT ca> <CEWy3.12301$Qh1 DOT 171844 AT news DOT tpnet DOT pl>
X-Trace: 936152087 24475 (1 Sep 1999 02:14:47 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 1 Sep 1999 02:14:47 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

> Randy Granger wrote
> >Not sure where to ask this, thought I'd give this group a try.
> >I'm using djgpp 2.01 and the Allegro library 3.1
> >I've made a game that uses joystick input, and the game can go for
> >several minutes without the need of the keyboard/mouse.
> >This causes a problem if the user is running windows and has a screen
> >saver on.
> >There is no input, so the screen saver starts, and the game becomes
> >non-responsive after that.
> >
> >Is there a way I can stop a screen saver from being activated while a
> >user is using the joystick?
Paweł Stołowski <yogin AT polbox DOT com> wrote:
> There is a simple workaround of this problem: go to the properties of your
> dos-application and make sure, that the check-box "allow screen saver" (or
> something like this - I use Polish Windows) is unchecked. It should work.
> You may include
> your .pif file with the game.
> I know: this is not perfect...

Damian Yerrick ( wrote:

But wouldn't including a PIF (in Win 9x they're called Shortcut to MS-DOS
Program or something) hardcode the path to the program, so that the user can
only unzip the program to one path?

Anyone know how to make a PIF from a DJGPP program? I want my installer to
put a shortcut to my program in the Start Menu.

- Raw text -

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