Added eagames.bmp reading to the LoginScreen scene.

Added BCON parsing functionality contributed by Propeng.
This commit is contained in:
Fatbag 2012-04-08 12:20:25 -05:00
parent cb751c0bb8
commit 7d9259b63d
13 changed files with 157 additions and 54 deletions

View file

@ -18,13 +18,13 @@
#include "../EngineInterface.hpp"
namespace System {
bool Shutdown = false;
HINSTANCE hInst = NULL;
HANDLE Process;
HANDLE ProcessHeap;
LARGE_INTEGER ClockFreq;
float FramePeriod;
UserInput_t UserInput;
bool SceneFailed = false;
int Initialize(){
memset(&UserInput, 0, sizeof(UserInput));

View file

@ -18,13 +18,11 @@
//System/System.cpp
namespace System {
int Initialize();
extern bool Shutdown;
extern HINSTANCE hInst;
extern HANDLE Process;
extern HANDLE ProcessHeap;
extern LARGE_INTEGER ClockFreq;
extern float FramePeriod;
extern bool Keys[256];
struct UserInput_t {
bool Keys[256];
@ -33,6 +31,8 @@ namespace System {
};
extern UserInput_t UserInput;
extern bool SceneFailed;
//Constants
enum {
SHUTDOWN = 0