- graphical representation of counters. see graphics/counters/quest.jpg for an example
- rewrote some code dealing with text formatting for a card when rendering in text mode. I could swear my code has been reverted. If somebody has good reason to believe we should re-process the string formatting on every frame, please let me now. I believe my change can help rendering speed of text mode a lot. - counters change to vector instead of array
This commit is contained in:
@@ -92,7 +92,7 @@ int Counters::addCounter(const char * _name, int _power, int _toughness)
|
||||
}
|
||||
}
|
||||
Counter * counter = NEW Counter(target, _name, _power, _toughness);
|
||||
counters[mCount] = counter;
|
||||
counters.push_back(counter);
|
||||
counter->added();
|
||||
mCount++;
|
||||
return mCount;
|
||||
|
||||
Reference in New Issue
Block a user