No code change just reformatting of header files.

finishing up my reformatting of the source from November/December following the guidelines that were posted.
some extra things I added:
   * Any empty virtual declarations were kept to one line.  
   * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
This commit is contained in:
techdragon.nguyen@gmail.com
2011-01-21 18:01:14 +00:00
parent 6d3d4c1792
commit e53c16f700
101 changed files with 6128 additions and 4684 deletions

View File

@@ -1,7 +1,6 @@
#ifndef _CREDITS_H_
#define _CREDITS_H_
#include <vector>
#include <string>
#include <JGE.h>
@@ -13,42 +12,43 @@ class GameApp;
using namespace std;
class CreditBonus{
class CreditBonus
{
public:
int value;
string text;
CreditBonus(int _value, string _text);
void Render(float x, float y, WFont * font);
int value;
string text;
CreditBonus(int _value, string _text);
void Render(float x, float y, WFont * font);
};
class Credits{
class Credits
{
private:
time_t gameLength;
int isDifficultyUnlocked(DeckStats * stats);
int isMomirUnlocked();
int isEvilTwinUnlocked();
int isRandomDeckUnlocked();
int IsMoreAIDecksUnlocked(DeckStats * stats);
string unlockedTextureName;
JQuad * GetUnlockedQuad(string texturename);
time_t gameLength;
int isDifficultyUnlocked(DeckStats * stats);
int isMomirUnlocked();
int isEvilTwinUnlocked();
int isRandomDeckUnlocked();
int IsMoreAIDecksUnlocked(DeckStats * stats);
string unlockedTextureName;
JQuad * GetUnlockedQuad(string texturename);
public:
int value;
Player * p1, *p2;
GameApp * app;
int showMsg;
int unlocked;
string unlockedString;
vector<CreditBonus *> bonus;
Credits();
~Credits();
void compute(Player * _p1, Player * _p2, GameApp * _app);
void Render();
static int unlockRandomSet(bool force = false);
static int unlockSetByName(string name);
static int addCreditBonus(int value);
static int addCardToCollection(int cardId, MTGDeck * collection);
static int addCardToCollection(int cardId);
int value;
Player * p1, *p2;
GameApp * app;
int showMsg;
int unlocked;
string unlockedString;
vector<CreditBonus *> bonus;
Credits();
~Credits();
void compute(Player * _p1, Player * _p2, GameApp * _app);
void Render();
static int unlockRandomSet(bool force = false);
static int unlockSetByName(string name);
static int addCreditBonus(int value);
static int addCardToCollection(int cardId, MTGDeck * collection);
static int addCardToCollection(int cardId);
};
#endif