Setting code formatting standard to allman.

This commit is contained in:
emb
2015-01-01 14:08:42 -06:00
parent 174ea4f4f9
commit 6410139f87
76 changed files with 5352 additions and 5314 deletions

View File

@@ -17,49 +17,49 @@ class Page;
class RetroFE
{
public:
RetroFE(CollectionDatabase *db, Configuration *c);
virtual ~RetroFE();
bool Initialize();
bool DeInitialize();
void Run();
Configuration *GetConfiguration();
void FreeGraphicsMemory();
void AllocateGraphicsMemory();
void LaunchEnter();
void LaunchExit();
RetroFE(CollectionDatabase *db, Configuration *c);
virtual ~RetroFE();
bool Initialize();
bool DeInitialize();
void Run();
Configuration *GetConfiguration();
void FreeGraphicsMemory();
void AllocateGraphicsMemory();
void LaunchEnter();
void LaunchExit();
private:
enum RETROFE_STATE
{
RETROFE_IDLE,
RETROFE_NEXT_PAGE_REQUEST,
RETROFE_NEXT_PAGE_WAIT,
RETROFE_LAUNCH_REQUEST,
RETROFE_BACK_REQUEST,
RETROFE_BACK_WAIT,
RETROFE_NEW,
RETROFE_QUIT_REQUEST,
RETROFE_QUIT,
};
enum RETROFE_STATE
{
RETROFE_IDLE,
RETROFE_NEXT_PAGE_REQUEST,
RETROFE_NEXT_PAGE_WAIT,
RETROFE_LAUNCH_REQUEST,
RETROFE_BACK_REQUEST,
RETROFE_BACK_WAIT,
RETROFE_NEW,
RETROFE_QUIT_REQUEST,
RETROFE_QUIT,
};
void Render();
bool ItemSelected();
bool Back(bool &exit);
void Quit();
Page *LoadPage(std::string collectionName);
RETROFE_STATE ProcessUserInput();
void Update(float dt, bool scrollActive);
void Render();
bool ItemSelected();
bool Back(bool &exit);
void Quit();
Page *LoadPage(std::string collectionName);
RETROFE_STATE ProcessUserInput();
void Update(float dt, bool scrollActive);
Configuration *Config;
CollectionDatabase *CollectionDB;
UserInput Input;
std::list<Page *> PageChain;
float KeyInputDisable;
float InactiveKeyTime;
bool AttractMode;
float CurrentTime;
Item *NextPageItem;
FontCache FC;
IVideo *VideoInst;
Configuration *Config;
CollectionDatabase *CollectionDB;
UserInput Input;
std::list<Page *> PageChain;
float KeyInputDisable;
float InactiveKeyTime;
bool AttractMode;
float CurrentTime;
Item *NextPageItem;
FontCache FC;
IVideo *VideoInst;
};