mirror of
https://github.com/jmarshall23/Hellfire.git
synced 2026-08-11 23:40:51 +02:00
55 lines
1.4 KiB
C++
55 lines
1.4 KiB
C++
/*-----------------------------------------------------------------------**
|
|
** Diablo
|
|
**
|
|
** Constants and Variables
|
|
**
|
|
** (C)1995 Condor, Inc. All rights reserved.
|
|
**-----------------------------------------------------------------------**
|
|
** $Header: /Diablo/HELP.H 1 1/22/97 2:06p Dgartner $
|
|
**-----------------------------------------------------------------------*/
|
|
|
|
/*-----------------------------------------------------------------------**
|
|
** Defines
|
|
**-----------------------------------------------------------------------*/
|
|
|
|
#define MAXHELPSTRS 8
|
|
#define MAXHELPLINES 4
|
|
|
|
/*-----------------------------------------------------------------------**
|
|
** Structures
|
|
**-----------------------------------------------------------------------*/
|
|
|
|
typedef struct {
|
|
int hsx;
|
|
int hsy;
|
|
char hstr[128];
|
|
byte hclr;
|
|
} HelpStrStruct;
|
|
|
|
typedef struct {
|
|
int hlx1;
|
|
int hly1;
|
|
int hlx2;
|
|
int hly2;
|
|
byte hlclr;
|
|
} HelpLineStruct;
|
|
|
|
/*-----------------------------------------------------------------------**
|
|
** Externs
|
|
**-----------------------------------------------------------------------*/
|
|
|
|
extern BOOL helpflag;
|
|
|
|
/*-----------------------------------------------------------------------**
|
|
** Prototypes
|
|
**-----------------------------------------------------------------------*/
|
|
|
|
|
|
void InitHelpSys();
|
|
|
|
void DrawHelp();
|
|
|
|
void StartHelp();
|
|
void HelpScrollUp();
|
|
void HelpScrollDown();
|