ReactOS 0.4.16-dev-340-g0540c21
|
Go to the source code of this file.
Classes | |
struct | star |
Macros | |
#define | RANDOM(min, max) ((rand() % (int)(((max)+1) - (min))) + (min)) |
#define | MAX_LOADSTRING 100 |
#define | MAX_STARS 1000 |
#define | APPNAME _T("Starfield") |
#define | APP_TIMER 1 |
#define | APP_TIMER_INTERVAL 20 |
#define | MAX_STARS 1000 |
Typedefs | |
typedef struct star | STAR |
Functions | |
void | DrawStarField (HDC pDC) |
BOOL | SetUpStars (int nNumStars) |
void | MoveStarField (int nXofs, int nYofs, int nZofs) |
void | SetDimensions (int nWidth, int nHeight) |
LRESULT WINAPI | ScreenSaverProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
BOOL WINAPI | ScreenSaverConfigureDialog (HWND hWnd, UINT message, WPARAM wparam, LPARAM lparam) |
BOOL WINAPI | RegisterDialogClasses (HANDLE hmodule) |
Variables | |
STAR * | stars |
int | m_nTotStars |
int | m_nCenterX |
int | m_nCenterY |
#define APP_TIMER 1 |
Definition at line 33 of file screensaver.c.
#define APP_TIMER_INTERVAL 20 |
Definition at line 34 of file screensaver.c.
Definition at line 32 of file screensaver.c.
#define MAX_LOADSTRING 100 |
Definition at line 29 of file screensaver.c.
#define MAX_STARS 1000 |
Definition at line 36 of file screensaver.c.
#define MAX_STARS 1000 |
Definition at line 36 of file screensaver.c.
Definition at line 27 of file screensaver.c.
Definition at line 50 of file screensaver.c.
Referenced by ScreenSaverProc().
Definition at line 121 of file screensaver.c.
Referenced by ScreenSaverProc().
Definition at line 207 of file screensaver.c.
Definition at line 202 of file screensaver.c.
Definition at line 143 of file screensaver.c.
Definition at line 137 of file screensaver.c.
Referenced by ScreenSaverProc().
Definition at line 79 of file screensaver.c.
Referenced by ScreenSaverProc().
int m_nCenterX |
Definition at line 48 of file screensaver.c.
Referenced by DrawStarField(), and SetDimensions().
int m_nCenterY |
Definition at line 48 of file screensaver.c.
Referenced by DrawStarField(), and SetDimensions().
int m_nTotStars |
Definition at line 47 of file screensaver.c.
Referenced by DrawStarField(), MoveStarField(), and SetUpStars().
STAR* stars |
Definition at line 45 of file screensaver.c.
Referenced by DrawStarField(), MoveStarField(), ScreenSaverProc(), and SetUpStars().