- removed "image_name" variable from MTGCard. this should free roughly 200kB with the current amount of MTGCard objects we have. (Which counterbalances the "roughly 150kB in Introduced in CardP Primitives recently :( )

This commit is contained in:
wagic.the.homebrew
2011-08-07 04:01:56 +00:00
parent 22305c2d27
commit 9f3a42d0c6
2 changed files with 13 additions and 14 deletions

View File

@@ -1,7 +1,6 @@
#ifndef _MTGCARD_H_
#define _MTGCARD_H_
#define MTGCARD_NAME_SIZE 16
#define MTG_IMAGE_WIDTH 200
#define MTG_IMAGE_HEIGHT 285
@@ -28,7 +27,6 @@ protected:
friend class MTGSetInfo;
int mtgid;
char rarity;
char image_name[MTGCARD_NAME_SIZE];
int init();
public:
@@ -48,7 +46,7 @@ public:
int getMTGId() const;
int getId() const;
char getRarity() const;
char * getImageName();
const string getImageName();
};
#endif