J :
* Add newline at the end, remove end-of-line whitespace.
This commit is contained in:
@@ -33,4 +33,4 @@ public:
|
|||||||
int percentVictories(string opponentsDeckFile);
|
int percentVictories(string opponentsDeckFile);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -772,4 +772,4 @@ void ActionStack::Dump(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -443,6 +443,6 @@ JSample * MTGCardInstance::getSample(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sample.size()) return SampleCache::GetInstance()->getSample(sample);
|
if (sample.size()) return SampleCache::GetInstance()->getSample(sample);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ string Subtypes::find(int id){
|
|||||||
if (it->second == id) return it->first;
|
if (it->second == id) return it->first;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ JSample * SampleCache::getSample(string filename){
|
|||||||
cleanCache();
|
cleanCache();
|
||||||
sample = JSoundSystem::GetInstance()->LoadSample(filename.c_str());
|
sample = JSoundSystem::GetInstance()->LoadSample(filename.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
cache[filename] = NEW SampleCached(lastTime, sample);
|
cache[filename] = NEW SampleCached(lastTime, sample);
|
||||||
return sample;
|
return sample;
|
||||||
}else{
|
}else{
|
||||||
@@ -170,4 +170,4 @@ void SampleCache::cleanCache(){
|
|||||||
|
|
||||||
SampleCache::~SampleCache(){
|
SampleCache::~SampleCache(){
|
||||||
cleanCache();
|
cleanCache();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user