- Add file documentation to about 1/4 of the files in Source - Copy over a lot of the documentation from the sanctuary/notes repo - Standardise all the existing documentation - Create a configuration for Doxygen - Add more documentation (engine.cpp is now fully documented)
40 lines
801 B
C
40 lines
801 B
C
/**
|
|
* @file cursor.h
|
|
*
|
|
* Interface of cursor tracking functionality.
|
|
*/
|
|
#ifndef __CURSOR_H__
|
|
#define __CURSOR_H__
|
|
|
|
extern int cursH;
|
|
extern int icursH28;
|
|
extern int cursW;
|
|
extern int pcursmonst;
|
|
extern int icursW28;
|
|
extern BYTE *pCursCels;
|
|
extern int icursH;
|
|
extern char pcursinvitem;
|
|
extern int icursW;
|
|
extern char pcursitem;
|
|
extern char pcursobj;
|
|
extern char pcursplr;
|
|
extern int cursmx;
|
|
extern int cursmy;
|
|
extern int pcurstemp;
|
|
extern int pcurs;
|
|
|
|
void InitCursor();
|
|
void FreeCursor();
|
|
void SetICursor(int i);
|
|
void SetCursor_(int i);
|
|
void NewCursor(int i);
|
|
void InitLevelCursor();
|
|
void CheckTown();
|
|
void CheckRportal();
|
|
void CheckCursMove();
|
|
|
|
/* rdata */
|
|
extern const int InvItemWidth[180];
|
|
extern const int InvItemHeight[180];
|
|
|
|
#endif /* __CURSOR_H__ */
|