ReactOS 0.4.16-dev-306-g647d351
|
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <tchar.h>
#include <scrnsave.h>
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | APPNAME _T("Cylfrac") |
#define | wfactor 0.9 |
#define | rotfactor 1.5 |
#define | FPS 100 |
#define | timerdelay 1000/FPS |
Functions | |
float | _RGB (float H, float M1, float M2) |
void | HLStoRGB (float H, float L, float S, float *R, float *G, float *B) |
void | DrawCylinder (int n, float rota, float width) |
void | DrawScene (HWND hwnd, HDC dc, int ticks) |
void CALLBACK | TimeProc (UINT uID, UINT uMsg, DWORD_PTR dwUser, DWORD_PTR dw1, DWORD_PTR dw2) |
void | MyPixelFormat (HDC dc) |
void | InitGL (HWND hwnd) |
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 | |
POINT | initpoint |
HDC | dc |
HGLRC | hrc |
DWORD | oldticks |
MMRESULT | TimerID |
DWORD | lvls = 7 |
int | cylquality = 8 |
HINSTANCE | hInstance |
GLUquadricObj * | cylinder |
float | angle = 0 |
float | colorh = 0.0 |
float | rval |
float | gval |
float | bval |
BOOL | fullscreen = FALSE |
Definition at line 81 of file cylfrac.c.
Referenced by DrawCylinder(), and DrawScene().
Definition at line 100 of file cylfrac.c.
Referenced by ScreenSaverProc().
Definition at line 62 of file cylfrac.c.
Referenced by DrawScene().
Definition at line 135 of file cylfrac.c.
Referenced by ScreenSaverProc().
Definition at line 120 of file cylfrac.c.
Referenced by InitGL().
Definition at line 152 of file cylfrac.c.
Definition at line 115 of file cylfrac.c.
Referenced by ScreenSaverProc().
float bval |
Definition at line 48 of file cylfrac.c.
Referenced by DrawCylinder(), DrawScene(), new_boolean_literal(), tinyxml2::XMLElement::QueryBoolText(), test_effect_preshader_clear_pbool_consts(), and test_effect_states().
float colorh = 0.0 |
Definition at line 47 of file cylfrac.c.
Referenced by DrawScene().
GLUquadricObj* cylinder |
Definition at line 44 of file cylfrac.c.
Referenced by AtaCommand(), D3DXCreateCylinder(), D3DXCreateCylinderTest(), DrawCylinder(), InitGL(), ScreenSaverProc(), test_cylinder(), UniAtaCalculateLBARegs(), UniAtaCalculateLBARegsBack(), and USBFlopFormatTracks().
int cylquality = 8 |
Definition at line 40 of file cylfrac.c.
Referenced by DrawCylinder().
HDC dc |
Definition at line 34 of file cylfrac.c.
Referenced by DrawScene(), InitGL(), MyPixelFormat(), and ScreenSaverProc().
Definition at line 50 of file cylfrac.c.
Referenced by ScreenSaverProc().
float gval |
Definition at line 48 of file cylfrac.c.
Referenced by DrawCylinder(), and DrawScene().
HGLRC hrc |
Definition at line 35 of file cylfrac.c.
Referenced by InitGL(), and ScreenSaverProc().
POINT initpoint |
Definition at line 33 of file cylfrac.c.
Referenced by ScreenSaverProc().
DWORD lvls = 7 |
Definition at line 39 of file cylfrac.c.
Referenced by DrawScene(), and ScreenSaverProc().
DWORD oldticks |
Definition at line 36 of file cylfrac.c.
Referenced by ScreenSaverProc().
float rval |
Definition at line 48 of file cylfrac.c.
Referenced by add_eval(), calc(), clnt_raw_freeres(), DrawCylinder(), DrawScene(), equal_values(), eval_binary(), eval_boolcmp(), getbits(), StrstreamTest::input(), INT_evaluate_binary(), jsval_strict_equal(), less_eval(), main(), new_hash_bucket(), new_hash_table(), new_string_list(), rw(), seta_bitAndTerm(), seta_eval(), seta_ltorTerm(), seta_mulTerm(), seta_stmt(), seta_unaryTerm(), and test_logfont().
MMRESULT TimerID |
Definition at line 37 of file cylfrac.c.
Referenced by DDOffscreenBufferTest(), DDPrimarySurfaceTest(), and ScreenSaverProc().