(svn r3014) -NewGRF, Codechange: Make all sprite group references be pointers instead of copying the data around.

This commit is contained in:
peter1138
2005-10-04 19:52:26 +00:00
parent 371cb91d7d
commit e8bca26b74
6 changed files with 53 additions and 40 deletions

View File

@@ -107,7 +107,7 @@ typedef struct RandomizedSpriteGroup {
byte num_groups; // must be power of 2
// Take the group with appropriate index:
SpriteGroup *groups;
SpriteGroup **groups;
} RandomizedSpriteGroup;
typedef struct CallbackResultSpriteGroup {
@@ -133,7 +133,7 @@ struct SpriteGroup {
};
struct DeterministicSpriteGroupRange {
SpriteGroup group;
SpriteGroup *group;
byte low;
byte high;
};