Erwan
- fixed a few memory leaks
This commit is contained in:
@@ -24,6 +24,7 @@ class ActionLayer: public GuiLayer, public JGuiListener{
|
||||
int unstopableRenderInProgress();
|
||||
bool CheckUserInput(u32 key);
|
||||
ActionLayer(int id, GameObserver* _game):GuiLayer(id, _game){ menuObject = NULL; abilitiesMenu = NULL;};
|
||||
~ActionLayer();
|
||||
int isWaitingForAnswer();
|
||||
int isReactingToTargetClick(Targetable * card);
|
||||
int receiveEvent(WEvent * event);
|
||||
|
||||
@@ -33,6 +33,7 @@ class SimpleMenu:public JGuiController{
|
||||
static unsigned int refCount;
|
||||
|
||||
static JQuad *spadeR, *spadeL, *jewel, *side;
|
||||
static JTexture *spadeRTex, *spadeLTex, *jewelTex, *sideTex;
|
||||
static JLBFont* titleFont;
|
||||
static hgeParticleSystem* stars;
|
||||
// This works only because of no multithreading
|
||||
@@ -51,6 +52,7 @@ class SimpleMenu:public JGuiController{
|
||||
|
||||
float selectionTargetY;
|
||||
bool closed;
|
||||
static void destroy();
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ protected:
|
||||
~SampleCache();
|
||||
public:
|
||||
static SampleCache * GetInstance();
|
||||
static void DestroyInstance();
|
||||
SampleCache(){lastTime = 0;};
|
||||
JSample * getSample(string filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user