You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/**
|
|
|
|
|
* @file cursor.h
|
|
|
|
|
*
|
|
|
|
|
* Interface of cursor tracking functionality.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __CURSOR_H__
|
|
|
|
|
#define __CURSOR_H__
|
|
|
|
|
|
|
|
|
|
extern int cursW;
|
|
|
|
|
extern int cursH;
|
|
|
|
|
extern int pcursmonst;
|
|
|
|
|
extern int icursW28;
|
|
|
|
|
extern int icursH28;
|
|
|
|
|
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[];
|
|
|
|
|
extern const int InvItemHeight[];
|
|
|
|
|
|
|
|
|
|
#endif /* __CURSOR_H__ */
|