Also fixed the project includes so that we don't need to always use the indirect include path, ie: #include "../include/foo.h" -> #include "foo.h" I'm don't know much about make files - if I busted the linux build, mea culpa, but I think we're okay on that front too. For future reference, here's the most straightforward link on the topic of adding pch support to make files: http://www.mercs-eng.com/~hulud/index.php?2008/06/13/6-writing-a-good-makefile-for-a-c-project
26 lines
458 B
C++
26 lines
458 B
C++
#ifndef _MTGGAMEPHASE_H_
|
|
#define _MTGGAMEPHASE_H_
|
|
|
|
#include "ActionElement.h"
|
|
#include "GameObserver.h"
|
|
|
|
#include <JGui.h>
|
|
#include "WFont.h"
|
|
|
|
|
|
class MTGGamePhase: public ActionElement {
|
|
protected:
|
|
float animation;
|
|
int currentState;
|
|
WFont * mFont;
|
|
public:
|
|
MTGGamePhase(int id);
|
|
virtual void Update(float dt);
|
|
bool CheckUserInput(JButton key);
|
|
virtual MTGGamePhase * clone() const;
|
|
virtual ostream& toString(ostream& out) const;
|
|
};
|
|
|
|
|
|
#endif
|