mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-13 04:34:45 -10:00
Rationale described in sanctuary/notes@cb8812d1a6 as included below: Note, the BarColor and BarPos globals don't have PSX debug info. However, the progress bar is referred to as "barfoo" in other parts of the PSX debug info, e.g. // register: 21 register unsigned char barr; // register: 16 register unsigned char barg; Thus, we apply a similar naming convention for BarColor and BarPos, using CamelCase as is conventional for global variables in Diablo 1.
21 lines
446 B
C
21 lines
446 B
C
//HEADER_GOES_HERE
|
|
#ifndef __INTERFAC_H__
|
|
#define __INTERFAC_H__
|
|
|
|
extern int progress_id;
|
|
|
|
void interface_msg_pump();
|
|
BOOL IncProgress();
|
|
void DrawCutscene();
|
|
void DrawProgress(int screen_x, int screen_y, int progress_id);
|
|
void ShowProgress(unsigned int uMsg);
|
|
void FreeInterface();
|
|
void InitCutscene(unsigned int uMsg);
|
|
|
|
/* rdata */
|
|
|
|
extern const BYTE BarColor[3];
|
|
extern const int BarPos[3][2];
|
|
|
|
#endif /* __INTERFAC_H__ */
|