mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-04 21:50:35 -04:00
Added eagames.bmp reading to the LoginScreen scene.
Added BCON parsing functionality contributed by Propeng.
This commit is contained in:
parent
cb751c0bb8
commit
7d9259b63d
13 changed files with 157 additions and 54 deletions
|
@ -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));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue