Cleanup: Use std::vector in DeterministicSpriteGroup.
(cherry picked from commit 1aeaf39954
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
d3b9d19c5a
commit
a69a1d19a9
@@ -166,15 +166,12 @@ struct DeterministicSpriteGroupRange {
|
||||
|
||||
struct DeterministicSpriteGroup : SpriteGroup {
|
||||
DeterministicSpriteGroup() : SpriteGroup(SGT_DETERMINISTIC) {}
|
||||
~DeterministicSpriteGroup();
|
||||
|
||||
VarSpriteGroupScope var_scope;
|
||||
DeterministicSpriteGroupSize size;
|
||||
uint num_adjusts;
|
||||
uint num_ranges;
|
||||
bool calculated_result;
|
||||
DeterministicSpriteGroupAdjust *adjusts;
|
||||
DeterministicSpriteGroupRange *ranges; // Dynamically allocated
|
||||
std::vector<DeterministicSpriteGroupAdjust> adjusts;
|
||||
std::vector<DeterministicSpriteGroupRange> ranges; // Dynamically allocated
|
||||
|
||||
/* Dynamically allocated, this is the sole owner */
|
||||
const SpriteGroup *default_group;
|
||||
|
Reference in New Issue
Block a user