Files
devilutionX/Source/interfac.h
T
Robin Eklind 0e4d4104a7 interfac: rename progress_bar_colours and progress_bar_screen_pos to BarColor and BarPos
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.
2019-08-18 07:45:07 +02:00

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__ */