From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_game_8cpp.html | 496 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 496 insertions(+) create mode 100644 Doc/doxygen/html/_game_8cpp.html (limited to 'Doc/doxygen/html/_game_8cpp.html') diff --git a/Doc/doxygen/html/_game_8cpp.html b/Doc/doxygen/html/_game_8cpp.html new file mode 100644 index 0000000..1713931 --- /dev/null +++ b/Doc/doxygen/html/_game_8cpp.html @@ -0,0 +1,496 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Game.cpp File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
Game.cpp File Reference
+
+
+
#include "MemDebug.h"
+#include "Game.h"
+#include "Mouse.h"
+#include "Universe.h"
+#include "Screen.h"
+#include "Window.h"
+#include "EventDispatch.h"
+#include "Color.h"
+#include "DataLoader.h"
+#include "Keyboard.h"
+#include "Pcx.h"
+#include "Resource.h"
+#include "Bitmap.h"
+#include "MachineInfo.h"
+#include "Video.h"
+#include "VideoFactory.h"
+#include "VideoSettings.h"
+#include "AviFile.h"
+#include "ContentBundle.h"
+
+

Go to the source code of this file.

+ + + +

+Macros

#define WM_MOUSEWHEEL   0x20A
+ + + + + + + + + +

+Functions

bool ProfileGameLoop (void)
LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam)
void FlushKeys ()
void BufferKey (int vkey)
int GetKey ()
int GetKeyPlus (int &key, int &shift)
void Print (const char *fmt,...)
DWORD GetRealTime ()
+ + + + + + + + + + +

+Variables

FILE * ErrLog = 0
int ErrLine = 0
char ErrBuf [256]
Gamegame = 0
const int VIDEO_FPS = 30
const double MAX_FRAME_TIME_VIDEO = 1.0 / (double) VIDEO_FPS
const double MAX_FRAME_TIME_NORMAL = 1.0 / 5.0
const double MIN_FRAME_TIME_NORMAL = 1.0 / 60.0
const int MAX_KEY_BUF = 512
+

Macro Definition Documentation

+ +
+
+ + + + +
#define WM_MOUSEWHEEL   0x20A
+
+ +

Definition at line 1270 of file Game.cpp.

+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + +
void BufferKey (int vkey)
+
+ +

Definition at line 1464 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + +
void FlushKeys ()
+
+ +

Definition at line 1457 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + +
int GetKey ()
+
+ +

Definition at line 1493 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
int GetKeyPlus (int & key,
int & shift 
)
+
+ +

Definition at line 1505 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + +
DWORD GetRealTime ()
+
+ +

Definition at line 1532 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Print (const char * fmt,
 ... 
)
+
+ +

Definition at line 1520 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + + +
bool ProfileGameLoop (void )
+
+ +

Definition at line 909 of file Game.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LRESULT CALLBACK WndProc (HWND hwnd,
UINT message,
WPARAM uParam,
LPARAM lParam 
)
+
+ +

Definition at line 1273 of file Game.cpp.

+ +
+
+

Variable Documentation

+ +
+
+ + + + +
char ErrBuf[256]
+
+ +

Definition at line 35 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
int ErrLine = 0
+
+ +

Definition at line 34 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
FILE* ErrLog = 0
+
+ +

Definition at line 33 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
Game* game = 0
+
+ +

Definition at line 37 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
const double MAX_FRAME_TIME_NORMAL = 1.0 / 5.0
+
+ +

Definition at line 51 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
const double MAX_FRAME_TIME_VIDEO = 1.0 / (double) VIDEO_FPS
+
+ +

Definition at line 50 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
const int MAX_KEY_BUF = 512
+
+ +

Definition at line 1450 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
const double MIN_FRAME_TIME_NORMAL = 1.0 / 60.0
+
+ +

Definition at line 52 of file Game.cpp.

+ +
+
+ +
+
+ + + + +
const int VIDEO_FPS = 30
+
+ +

Definition at line 49 of file Game.cpp.

+ +
+
+
+
+ + + + -- cgit v1.1