2006-04-17 10:56:11 +00:00
|
|
|
#ifndef MESSAGE_INCLUDED
|
|
|
|
#define MESSAGE_INCLUDED
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//
|
|
|
|
// counter starts off negative (rand() < 0)..when it gets
|
|
|
|
// to zero the message starts to display
|
|
|
|
//
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
WORD message[MAXMSG_WIDTH][MAXMSG_HEIGHT];
|
|
|
|
|
|
|
|
int msgindex;
|
|
|
|
|
|
|
|
int counter;
|
|
|
|
WORD random_reg1;
|
|
|
|
|
|
|
|
int width, height;
|
|
|
|
|
|
|
|
} MATRIX_MESSAGE;
|
|
|
|
|
2006-05-02 21:01:43 +00:00
|
|
|
void SetMessageFont(HWND hwnd, TCHAR *szFontName, int nPointSize, BOOL fBold);
|
2006-04-17 10:56:11 +00:00
|
|
|
MATRIX_MESSAGE *InitMatrixMessage(HWND hwnd, int width, int height);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2006-04-17 11:26:50 +00:00
|
|
|
#endif
|