75 for(
y = 0;
y <
msg->height;
y++)
77 for(
x = 0;
x <
msg->width;
x++)
101 for(
x = 0;
x <
msg->width;
x++)
102 for(
y = 0;
y <
msg->height;
y++)
103 if((
msg->message[
x][
y] & 0x8000) &&
104 (
msg->message[
x][
y] & 0x00FF))
120 pos =
msg->random_reg1 & 0xffff;
133 for(
x = 0;
x <
msg->width;
x++)
134 for(
y = 0;
y <
msg->height;
y++)
135 msg->message[
x][
y] = 0;
158 if(
msg->counter++ < 0)
162 if(
msg->counter++ == RealSpeed / 2 + (RealSpeed/4))
166 if(
msg->counter >= RealSpeed)
182 else if(
msg->counter < RealSpeed / 2)
DWORD GetPixel(LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y)
DWORD WINAPI GetTickCount(VOID)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLubyte GLubyte GLubyte GLubyte w
BOOL g_fRandomizeMessages
TCHAR g_szMessages[MAX_MESSAGES][MAXMSG_LENGTH]
GLYPH RandomGlyph(int intensity)
void DrawGlyph(MATRIX *matrix, HDC hdc, int xpos, int ypos, GLYPH glyph)
void RevealMatrixMessage(MATRIX_MESSAGE *msg, int amount)
void DoMatrixMessage(HDC hdc, MATRIX *matrix)
void SetMessageFont(HWND hwnd, TCHAR *szFontName, int nPointSize, BOOL fBold)
void DrawMatrixMessage(MATRIX *matrix, MATRIX_MESSAGE *msg, HDC hdc)
MATRIX_MESSAGE * InitMatrixMessage(HWND hwnd, int width, int height)
void ClearMatrixMessage(MATRIX_MESSAGE *msg)
void SetMatrixMessage(MATRIX_MESSAGE *msg, HFONT hFont, TCHAR *text)
WORD crc_msgrand(WORD reg)
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
#define ANTIALIASED_QUALITY
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
#define OUT_DEFAULT_PRECIS
#define CLIP_DEFAULT_PRECIS
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
BOOL WINAPI DeleteDC(_In_ HDC)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI OffsetRect(_Inout_ LPRECT, _In_ int, _In_ int)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)