http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GP: Zelda Programming






>From: "Raffe Öhlund" <lucutus81@Hotmail.com>
>Reply-To: gameprogrammer@gameprogrammer.com
>To: gameprogrammer@gameprogrammer.com
>Subject: GP: Dos programming
>Date: Wed, 01 Sep 1999 14:12:45 PDT
>
>
>
>Hello !
>
>
>I wonder how to make two functions (or more) that start at the same time in
>C  (compiler: Borland 5.01).
>I'm making a zelda type game in mode 13h and I want my AI to run at the 
>same
>time as my player control loop.
>
>Raffe

  Ok, you would mean C++, yes you can run two functions at the "same"
time, just make an Object (say: class FUNCTIONONE{ ), and from
the main function, just create a couple of this objects (say: FUNCTIONONE 
First, FUNCTIONONE Second ) and run the damn thing...
it would not run at real time, but the processor will do it so fast
that you will not notice that!!..

  for futher info about C with Clasess or C++, get a good book about it, or 
in the better sense, share your code.. :)





>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>=================================================================
>To SUBSCRIBE or UNSUBSCRIBE please visit
>http://gameprogrammer.com/mailinglist.html

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
=================================================================
To SUBSCRIBE or UNSUBSCRIBE please visit
http://gameprogrammer.com/mailinglist.html