Flatland

Documentation

SourceForge.net Logo

osWindows.c File Reference


Detailed Description

Definition in file osWindows.c.

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Entry point.
int APIENTRY WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
void osWaitVsync (int interval)
int osGetScreenWidth ()
int osGetScreenHeight ()
void fatalf (const char *format,...)
void debugf (const char *format,...)
void osQuit (void)
static LRESULT CALLBACK WinProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
void osInit (int width, int height, unsigned int flags, int *attribs)
unsigned int osGetMilliseconds ()
int osPollEvent (OS_Event *e)
void osSwapBuffers ()
int osIsKeyDown (int key)
int osShowCursor (int toggle)

Variables

static HINSTANCE g_hInstance
static HDC g_hDC
static OS_Eventg_eventHead = 0
static OS_Event ** g_eventTail = &g_eventHead
static HWND g_hWnd
static int g_cursorVisible = 1


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 58 of file complex.cpp.


Generated on Sat Jan 13 17:20:21 2007 for Flatland by doxygen 1.5.1