ReactOS 0.4.16-dev-297-gc569aee
|
#include <windows.h>
#include <tchar.h>
#include <scrnsave.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include "resource.h"
#include "settings.h"
Go to the source code of this file.
Classes | |
struct | VERTEX |
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | FAR_PLANE -80.0f |
#define | NEAR_PLANE 3.0f |
#define | GAP 0.0f |
#define | FIELD_WIDTH 50.f |
#define | FIELD_HEIGHT 45.f |
#define | FIELD_DEPTH (NEAR_PLANE - FAR_PLANE + GAP) |
#define | STAR_RED 0.f |
#define | STAR_GREEN 0.f |
#define | STAR_BLUE 0.10f |
#define | STAR_TAIL 0.9f |
Functions | |
static HBITMAP | CreateStarBitmap (HWND hWnd, HDC hDC) |
static void | InitGL (HBITMAP hStarTex) |
static void | render (void) |
static LRESULT CALLBACK | OnCreate (HWND hWnd, WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | OnDestroy (HWND hWnd, WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | OnPaint (HWND hWnd, WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | OnSize (HWND hWnd, WPARAM wParam, LPARAM lParam) |
LRESULT CALLBACK | ScreenSaverProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
Variables | |
static VERTEX | Vertex [MAX_STARS] |
static HGLRC | hRC |
static HDC | hDC |
static float | fAngle |
static GLuint | glStarTex |
static GLfloat | g_light_position [4] |
static PIXELFORMATDESCRIPTOR | pfd |
Definition at line 89 of file ssstars.c.
Referenced by OnCreate().
Definition at line 176 of file ssstars.c.
Referenced by OnCreate().
Definition at line 335 of file ssstars.c.
Referenced by ScreenSaverProc().
Definition at line 410 of file ssstars.c.
Referenced by ScreenSaverProc().
Definition at line 435 of file ssstars.c.
Referenced by ScreenSaverProc().
Definition at line 499 of file ssstars.c.
Referenced by ScreenSaverProc().
Definition at line 272 of file ssstars.c.
Referenced by check_ID3DXRenderToSurface(), check_messages_(), D3DXCreateRenderToEnvMap(), D3DXCreateRenderToSurface(), D3DXRenderToEnvMap_AddRef(), D3DXRenderToEnvMap_BeginCube(), D3DXRenderToEnvMap_End(), D3DXRenderToEnvMap_Face(), D3DXRenderToEnvMap_GetDesc(), D3DXRenderToEnvMap_GetDevice(), D3DXRenderToEnvMap_Release(), D3DXRenderToSurface_AddRef(), D3DXRenderToSurface_BeginScene(), D3DXRenderToSurface_EndScene(), D3DXRenderToSurface_GetDesc(), D3DXRenderToSurface_GetDevice(), D3DXRenderToSurface_Release(), ft_add_renderer(), FT_Get_Glyph(), ft_raster1_get_cbox(), ft_raster1_init(), ft_raster1_render(), ft_raster1_set_mode(), ft_raster1_transform(), ft_remove_renderer(), ft_smooth_get_cbox(), ft_smooth_init(), ft_smooth_render(), ft_smooth_render_generic(), ft_smooth_render_lcd(), ft_smooth_render_lcd_v(), ft_smooth_set_mode(), ft_smooth_transform(), Subdivider::monosplitInT(), OleCreateFromClip(), OleCreateLinkFromClip(), OleQueryCreateFromClip(), OleQueryLinkFromClip(), OnPaint(), test_D3DXCreateRenderToEnvMap(), test_D3DXCreateRenderToSurface(), test_ID3DXRenderToEnvMap(), test_ID3DXRenderToEnvMap_cube_map(), test_ID3DXRenderToSurface(), test_ID3DXRenderToSurface_device_state(), and VMR9_ImagePresenter_PresentImage().
Definition at line 532 of file ssstars.c.
|
static |
Definition at line 59 of file ssstars.c.
Referenced by OnCreate(), and render().
|
static |
|
static |
Definition at line 58 of file ssstars.c.
Referenced by CreateStarBitmap(), OnCreate(), OnDestroy(), and OnPaint().
|
static |
Definition at line 57 of file ssstars.c.
Referenced by OnCreate(), and OnDestroy().
|
static |
Definition at line 67 of file ssstars.c.
Referenced by context_choose_pixel_format(), dump_TLBFuncDesc(), dump_TLBFuncDescOne(), FileSystemBindData_GetFindData(), FileSystemBindData_SetFindData(), fsbd_GetFindData_invalid(), fsbd_GetFindData_junk(), fsbd_GetFindData_nul(), fsbd_GetFindData_valid(), get_hwnd_from_ifiledialog(), CFileSysBindData::GetFindData(), CShellLink::GetPath(), IFileDialogEvents_fnOnFolderChange(), IFileSystemBindData_Constructor(), InitOGLWindow(), MyPixelFormat(), OnCreate(), rpc_broadcast_exp(), RunBatch(), ScreenSaverProc(), CFileSysBindData::SetFindData(), SHGetDataFromIDListA(), SHGetDataFromIDListW(), START_TEST(), test_acceleration(), test_advise(), test_advise_helper(), test_bitmap_colors(), test_bitmap_rendering(), test_choosepixelformat(), test_customize_dlgproc(), test_customize_onfolderchange(), test_events(), test_format(), test_instantiation(), test_pack_EMRPIXELFORMAT(), test_pfd(), test_screen_colors(), test_setpixelformat(), wined3d_adapter_init_fb_cfgs(), and wined3d_caps_gl_ctx_create().