diff options
author | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-10 00:31:47 +0000 |
commit | 11da45ee55957c243854cd78705d81543541c061 (patch) | |
tree | 29e703244d28f29c8634b2d30f42b34852fe74bc /src/newgrf.cpp | |
parent | c3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff) | |
download | openttd-11da45ee55957c243854cd78705d81543541c061.tar.xz |
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index f6561df95..19ff34803 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2527,7 +2527,7 @@ static void ReserveChangeInfo(byte *buf, size_t len) * @param value The value that was used to represent this callback result * @return A spritegroup representing that callback result */ -static const SpriteGroup* NewCallBackResultSpriteGroup(uint16 value) +static const SpriteGroup *NewCallBackResultSpriteGroup(uint16 value) { SpriteGroup *group = AllocateSpriteGroup(); @@ -2552,7 +2552,7 @@ static const SpriteGroup* NewCallBackResultSpriteGroup(uint16 value) * @param num_sprites The number of sprites per set. * @return A spritegroup representing the sprite number result. */ -static const SpriteGroup* NewResultSpriteGroup(SpriteID sprite, byte num_sprites) +static const SpriteGroup *NewResultSpriteGroup(SpriteID sprite, byte num_sprites) { SpriteGroup *group = AllocateSpriteGroup(); group->type = SGT_RESULT; @@ -2613,7 +2613,7 @@ static void SkipAct1(byte *buf, size_t len) /* Helper function to either create a callback or link to a previously * defined spritegroup. */ -static const SpriteGroup* GetGroupFromGroupID(byte setid, byte type, uint16 groupid) +static const SpriteGroup *GetGroupFromGroupID(byte setid, byte type, uint16 groupid) { if (HasBit(groupid, 15)) return NewCallBackResultSpriteGroup(groupid); @@ -2626,7 +2626,7 @@ static const SpriteGroup* GetGroupFromGroupID(byte setid, byte type, uint16 grou } /* Helper function to either create a callback or a result sprite group. */ -static const SpriteGroup* CreateGroupFromGroupID(byte feature, byte setid, byte type, uint16 spriteid, uint16 num_sprites) +static const SpriteGroup *CreateGroupFromGroupID(byte feature, byte setid, byte type, uint16 spriteid, uint16 num_sprites) { if (HasBit(spriteid, 15)) return NewCallBackResultSpriteGroup(spriteid); |