*/
Written some cool source code? Upload it to Programmer's Heaven.
*/

View \TITILLAT.H

Display mazes in three dimensions on your VGA monitor. C++ src.

Submitted By: Unknown
Rating: (Not rated) (Rate It)


#ifndef TITILLAT_H
#define TITILLAT_H

//      Let the user know a program is running.

class titillator
  {
    private:
      unsigned char cursor_column;
      unsigned char cursor_row;
      unsigned char cursor_start;
      unsigned char cursor_stop;
      unsigned char original_attribute;
      unsigned char original_character;
      unsigned char titillation [4];
      int           titillation_index;
    public:
           titillator(void);
//      Get the original position and state of the cursor.  Make the cursor
// disappear.

           ~titillator(void);
//      Restore the cursor to its original state and position.

      void titillate(void);
//      Set the cursor back to its original position and show the next
// character in the sequence "|", "/", "-", "\".
  };

#endif

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.