* Remove ^M's.
* Re-indent automatically.
* Remove whitespace at the end of lines.
This commit is contained in:
jean.chalard
2008-11-12 13:45:42 +00:00
parent 6ad6f9b668
commit c97dd1f260
116 changed files with 18073 additions and 18073 deletions

View File

@@ -22,9 +22,9 @@ class CardTexture{
JTexture* tex;
JQuad* quad;
public:
int lastTime;
int type;
int nbpixels;
int lastTime;
int type;
int nbpixels;
int getId();
JQuad * getQuad();
@@ -39,18 +39,18 @@ class TexturesCache{
int lastTime;
int nb_textures;
int delete_previous;
int totalsize;
int totalsize;
CardTexture * cache[MAX_CACHE_OBJECTS];
public:
int isInCache(MTGCard * card, int type=CACHE_CARD);
TexturesCache();
~TexturesCache();
int getOldestQuad();
void removeQuad(int id);
int cleanup();
~TexturesCache();
int getOldestQuad();
void removeQuad(int id);
int cleanup();
int getCacheById(int id, int type=CACHE_CARD);
JQuad * getQuad(MTGCard * card, int type=CACHE_CARD);
JQuad * getThumb(MTGCard * card){return getQuad(card, CACHE_THUMB);};
JQuad * getThumb(MTGCard * card){return getQuad(card, CACHE_THUMB);};
};