2006-04-20 20:51:57 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
|
|
|
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2008-05-06 15:11:33 +00:00
|
|
|
/** @file newgrf_spritegroup.h Action 2 handling. */
|
2007-03-21 03:06:21 +00:00
|
|
|
|
2006-04-20 20:51:57 +00:00
|
|
|
#ifndef NEWGRF_SPRITEGROUP_H
|
|
|
|
#define NEWGRF_SPRITEGROUP_H
|
|
|
|
|
2008-01-07 14:02:26 +00:00
|
|
|
#include "town_type.h"
|
2007-12-25 11:26:07 +00:00
|
|
|
#include "gfx_type.h"
|
2008-03-31 06:42:26 +00:00
|
|
|
#include "engine_type.h"
|
|
|
|
#include "tile_type.h"
|
2009-05-22 15:39:22 +00:00
|
|
|
#include "core/pool_type.hpp"
|
2009-06-26 13:44:14 +00:00
|
|
|
#include "house_type.h"
|
2008-03-31 06:42:26 +00:00
|
|
|
|
|
|
|
#include "newgrf_callbacks.h"
|
2008-02-12 13:23:57 +00:00
|
|
|
#include "newgrf_generic.h"
|
2008-03-31 06:42:26 +00:00
|
|
|
#include "newgrf_storage.h"
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-07-05 05:41:56 +00:00
|
|
|
/**
|
|
|
|
* Gets the value of a so-called newgrf "register".
|
|
|
|
* @param i index of the register
|
|
|
|
* @pre i < 0x110
|
|
|
|
* @return the value of the register
|
|
|
|
*/
|
|
|
|
static inline uint32 GetRegister(uint i)
|
|
|
|
{
|
2007-09-22 23:55:34 +00:00
|
|
|
extern TemporaryStorageArray<uint32, 0x110> _temp_store;
|
2007-09-22 12:59:43 +00:00
|
|
|
return _temp_store.Get(i);
|
2007-07-05 05:41:56 +00:00
|
|
|
}
|
|
|
|
|
2009-05-23 12:13:42 +00:00
|
|
|
/* List of different sprite group types */
|
|
|
|
enum SpriteGroupType {
|
|
|
|
SGT_REAL,
|
|
|
|
SGT_DETERMINISTIC,
|
|
|
|
SGT_RANDOMIZED,
|
|
|
|
SGT_CALLBACK,
|
|
|
|
SGT_RESULT,
|
|
|
|
SGT_TILELAYOUT,
|
|
|
|
SGT_INDUSTRY_PRODUCTION,
|
|
|
|
};
|
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
struct SpriteGroup;
|
2009-05-23 12:13:42 +00:00
|
|
|
typedef uint32 SpriteGroupID;
|
2009-05-23 16:39:55 +00:00
|
|
|
|
|
|
|
/* SPRITE_WIDTH is 24. ECS has roughly 30 sprite groups per real sprite.
|
|
|
|
* Adding an 'extra' margin would be assuming 64 sprite groups per real
|
|
|
|
* sprite. 64 = 2^6, so 2^30 should be enough (for now) */
|
|
|
|
typedef Pool<SpriteGroup, SpriteGroupID, 1024, 1 << 30> SpriteGroupPool;
|
2009-05-23 12:13:42 +00:00
|
|
|
extern SpriteGroupPool _spritegroup_pool;
|
|
|
|
|
|
|
|
/* Common wrapper for all the different sprite group types */
|
|
|
|
struct SpriteGroup : SpriteGroupPool::PoolItem<&_spritegroup_pool> {
|
|
|
|
protected:
|
|
|
|
SpriteGroup(SpriteGroupType type) : type(type) {}
|
2009-05-23 15:25:52 +00:00
|
|
|
/** Base sprite group resolver */
|
|
|
|
virtual const SpriteGroup *Resolve(struct ResolverObject *object) const { return this; };
|
2009-05-23 12:13:42 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
virtual ~SpriteGroup() {}
|
|
|
|
|
|
|
|
SpriteGroupType type;
|
|
|
|
|
|
|
|
virtual SpriteID GetResult() const { return 0; }
|
|
|
|
virtual byte GetNumResults() const { return 0; }
|
|
|
|
virtual uint16 GetCallbackResult() const { return CALLBACK_FAILED; }
|
2009-05-23 15:25:52 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* ResolverObject (re)entry point.
|
|
|
|
* This cannot be made a call to a virtual function because virtual functions
|
|
|
|
* do not like NULL and checking for NULL *everywhere* is more cumbersome than
|
|
|
|
* this little helper function.
|
|
|
|
* @param group the group to resolve for
|
|
|
|
* @param object information needed to resolve the group
|
|
|
|
* @return the resolved group
|
|
|
|
*/
|
|
|
|
static const SpriteGroup *Resolve(const SpriteGroup *group, ResolverObject *object)
|
|
|
|
{
|
|
|
|
return group == NULL ? NULL : group->Resolve(object);
|
|
|
|
}
|
2009-05-23 12:13:42 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
|
|
|
|
2006-04-26 20:44:28 +00:00
|
|
|
/* 'Real' sprite groups contain a list of other result or callback sprite
|
|
|
|
* groups. */
|
2009-05-23 12:13:42 +00:00
|
|
|
struct RealSpriteGroup : SpriteGroup {
|
|
|
|
RealSpriteGroup() : SpriteGroup(SGT_REAL) {}
|
|
|
|
~RealSpriteGroup();
|
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
/* Loaded = in motion, loading = not moving
|
|
|
|
* Each group contains several spritesets, for various loading stages */
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
/* XXX: For stations the meaning is different - loaded is for stations
|
|
|
|
* with small amount of cargo whilst loading is for stations with a lot
|
|
|
|
* of da stuff. */
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2006-04-26 20:44:28 +00:00
|
|
|
byte num_loaded; ///< Number of loaded groups
|
|
|
|
byte num_loading; ///< Number of loading groups
|
2006-10-19 10:20:36 +00:00
|
|
|
const SpriteGroup **loaded; ///< List of loaded groups (can be SpriteIDs or Callback results)
|
|
|
|
const SpriteGroup **loading; ///< List of loading groups (can be SpriteIDs or Callback results)
|
2009-05-23 15:25:52 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
const SpriteGroup *Resolve(ResolverObject *object) const;
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
|
|
|
/* Shared by deterministic and random groups. */
|
2007-03-07 12:11:48 +00:00
|
|
|
enum VarSpriteGroupScope {
|
2006-04-26 17:16:57 +00:00
|
|
|
VSG_SCOPE_SELF,
|
2007-03-21 03:06:21 +00:00
|
|
|
/* Engine of consists for vehicles, city for stations. */
|
2006-04-26 17:16:57 +00:00
|
|
|
VSG_SCOPE_PARENT,
|
2008-03-27 21:36:16 +00:00
|
|
|
/* Any vehicle in the consist (vehicles only) */
|
|
|
|
VSG_SCOPE_RELATIVE,
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
enum DeterministicSpriteGroupSize {
|
2006-04-26 20:44:28 +00:00
|
|
|
DSG_SIZE_BYTE,
|
|
|
|
DSG_SIZE_WORD,
|
|
|
|
DSG_SIZE_DWORD,
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 20:44:28 +00:00
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
enum DeterministicSpriteGroupAdjustType {
|
2006-04-26 20:44:28 +00:00
|
|
|
DSGA_TYPE_NONE,
|
|
|
|
DSGA_TYPE_DIV,
|
|
|
|
DSGA_TYPE_MOD,
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 20:44:28 +00:00
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
enum DeterministicSpriteGroupAdjustOperation {
|
2007-03-21 03:06:21 +00:00
|
|
|
DSGA_OP_ADD, ///< a + b
|
|
|
|
DSGA_OP_SUB, ///< a - b
|
|
|
|
DSGA_OP_SMIN, ///< (signed) min(a, b)
|
|
|
|
DSGA_OP_SMAX, ///< (signed) max(a, b)
|
|
|
|
DSGA_OP_UMIN, ///< (unsigned) min(a, b)
|
|
|
|
DSGA_OP_UMAX, ///< (unsigned) max(a, b)
|
|
|
|
DSGA_OP_SDIV, ///< (signed) a / b
|
|
|
|
DSGA_OP_SMOD, ///< (signed) a % b
|
|
|
|
DSGA_OP_UDIV, ///< (unsigned) a / b
|
|
|
|
DSGA_OP_UMOD, ///< (unsigned) a & b
|
|
|
|
DSGA_OP_MUL, ///< a * b
|
|
|
|
DSGA_OP_AND, ///< a & b
|
|
|
|
DSGA_OP_OR, ///< a | b
|
|
|
|
DSGA_OP_XOR, ///< a ^ b
|
2007-04-21 07:27:16 +00:00
|
|
|
DSGA_OP_STO, ///< store a into temporary storage, indexed by b. return a
|
|
|
|
DSGA_OP_RST, ///< return b
|
2007-09-22 13:56:38 +00:00
|
|
|
DSGA_OP_STOP, ///< store a into persistent storage, indexed by b, return a
|
2007-09-22 20:29:17 +00:00
|
|
|
DSGA_OP_ROR, ///< rotate a b positions to the right
|
|
|
|
DSGA_OP_SCMP, ///< (signed) comparision (a < b -> 0, a == b = 1, a > b = 2)
|
|
|
|
DSGA_OP_UCMP, ///< (unsigned) comparision (a < b -> 0, a == b = 1, a > b = 2)
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 20:44:28 +00:00
|
|
|
|
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
struct DeterministicSpriteGroupAdjust {
|
2006-04-26 20:44:28 +00:00
|
|
|
DeterministicSpriteGroupAdjustOperation operation;
|
|
|
|
DeterministicSpriteGroupAdjustType type;
|
2006-04-26 17:16:57 +00:00
|
|
|
byte variable;
|
|
|
|
byte parameter; ///< Used for variables between 0x60 and 0x7F inclusive.
|
|
|
|
byte shift_num;
|
2006-04-26 20:44:28 +00:00
|
|
|
uint32 and_mask;
|
|
|
|
uint32 add_val;
|
|
|
|
uint32 divmod_val;
|
2007-01-12 11:20:34 +00:00
|
|
|
const SpriteGroup *subroutine;
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
struct DeterministicSpriteGroupRange {
|
2006-10-19 10:20:36 +00:00
|
|
|
const SpriteGroup *group;
|
2006-04-26 20:44:28 +00:00
|
|
|
uint32 low;
|
|
|
|
uint32 high;
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 20:44:28 +00:00
|
|
|
|
|
|
|
|
2009-05-23 12:13:42 +00:00
|
|
|
struct DeterministicSpriteGroup : SpriteGroup {
|
|
|
|
DeterministicSpriteGroup() : SpriteGroup(SGT_DETERMINISTIC) {}
|
|
|
|
~DeterministicSpriteGroup();
|
|
|
|
|
2006-04-26 20:44:28 +00:00
|
|
|
VarSpriteGroupScope var_scope;
|
|
|
|
DeterministicSpriteGroupSize size;
|
|
|
|
byte num_adjusts;
|
2006-04-26 17:16:57 +00:00
|
|
|
byte num_ranges;
|
2006-04-26 20:44:28 +00:00
|
|
|
DeterministicSpriteGroupAdjust *adjusts;
|
2006-04-26 17:16:57 +00:00
|
|
|
DeterministicSpriteGroupRange *ranges; // Dynamically allocated
|
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
/* Dynamically allocated, this is the sole owner */
|
2006-10-19 10:20:36 +00:00
|
|
|
const SpriteGroup *default_group;
|
2009-05-23 15:25:52 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
const SpriteGroup *Resolve(ResolverObject *object) const;
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
enum RandomizedSpriteGroupCompareMode {
|
2006-04-26 17:16:57 +00:00
|
|
|
RSG_CMP_ANY,
|
|
|
|
RSG_CMP_ALL,
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2009-05-23 12:13:42 +00:00
|
|
|
struct RandomizedSpriteGroup : SpriteGroup {
|
|
|
|
RandomizedSpriteGroup() : SpriteGroup(SGT_RANDOMIZED) {}
|
|
|
|
~RandomizedSpriteGroup();
|
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
VarSpriteGroupScope var_scope; ///< Take this object:
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
RandomizedSpriteGroupCompareMode cmp_mode; ///< Check for these triggers:
|
2006-04-26 17:16:57 +00:00
|
|
|
byte triggers;
|
2008-03-27 21:36:16 +00:00
|
|
|
byte count;
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
byte lowest_randbit; ///< Look for this in the per-object randomized bitmask:
|
|
|
|
byte num_groups; ///< must be power of 2
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2007-03-21 03:06:21 +00:00
|
|
|
const SpriteGroup **groups; ///< Take the group with appropriate index:
|
2009-05-23 15:25:52 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
const SpriteGroup *Resolve(ResolverObject *object) const;
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2006-04-26 20:44:28 +00:00
|
|
|
|
|
|
|
/* This contains a callback result. A failed callback has a value of
|
|
|
|
* CALLBACK_FAILED */
|
2009-05-23 12:13:42 +00:00
|
|
|
struct CallbackResultSpriteGroup : SpriteGroup {
|
|
|
|
/**
|
|
|
|
* Creates a spritegroup representing a callback result
|
2009-09-19 09:51:14 +00:00
|
|
|
* @param value The value that was used to represent this callback result
|
2009-05-23 12:13:42 +00:00
|
|
|
*/
|
|
|
|
CallbackResultSpriteGroup(uint16 value) :
|
|
|
|
SpriteGroup(SGT_CALLBACK),
|
2009-05-23 12:56:30 +00:00
|
|
|
result(value)
|
2009-05-23 12:13:42 +00:00
|
|
|
{
|
|
|
|
/* Old style callback results have the highest byte 0xFF so signify it is a callback result
|
|
|
|
* New style ones only have the highest bit set (allows 15-bit results, instead of just 8) */
|
|
|
|
if ((this->result >> 8) == 0xFF) {
|
|
|
|
this->result &= ~0xFF00;
|
|
|
|
} else {
|
|
|
|
this->result &= ~0x8000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2006-04-26 17:16:57 +00:00
|
|
|
uint16 result;
|
2009-05-23 12:13:42 +00:00
|
|
|
uint16 GetCallbackResult() const { return this->result; }
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2006-04-26 20:44:28 +00:00
|
|
|
|
|
|
|
/* A result sprite group returns the first SpriteID and the number of
|
|
|
|
* sprites in the set */
|
2009-05-23 12:13:42 +00:00
|
|
|
struct ResultSpriteGroup : SpriteGroup {
|
|
|
|
/**
|
|
|
|
* Creates a spritegroup representing a sprite number result.
|
|
|
|
* @param sprite The sprite number.
|
|
|
|
* @param num_sprites The number of sprites per set.
|
|
|
|
* @return A spritegroup representing the sprite number result.
|
|
|
|
*/
|
|
|
|
ResultSpriteGroup(SpriteID sprite, byte num_sprites) :
|
|
|
|
SpriteGroup(SGT_RESULT),
|
|
|
|
sprite(sprite),
|
|
|
|
num_sprites(num_sprites)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2006-04-26 20:44:28 +00:00
|
|
|
SpriteID sprite;
|
|
|
|
byte num_sprites;
|
2009-05-23 12:13:42 +00:00
|
|
|
SpriteID GetResult() const { return this->sprite; }
|
|
|
|
byte GetNumResults() const { return this->num_sprites; }
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-26 17:16:57 +00:00
|
|
|
|
2009-05-23 12:13:42 +00:00
|
|
|
struct TileLayoutSpriteGroup : SpriteGroup {
|
|
|
|
TileLayoutSpriteGroup() : SpriteGroup(SGT_TILELAYOUT) {}
|
|
|
|
~TileLayoutSpriteGroup();
|
|
|
|
|
2009-12-16 11:35:05 +00:00
|
|
|
byte num_building_stages; ///< Number of building stages to show for this house/industry tile
|
2007-03-19 11:27:30 +00:00
|
|
|
struct DrawTileSprites *dts;
|
|
|
|
};
|
|
|
|
|
2009-05-23 12:13:42 +00:00
|
|
|
struct IndustryProductionSpriteGroup : SpriteGroup {
|
|
|
|
IndustryProductionSpriteGroup() : SpriteGroup(SGT_INDUSTRY_PRODUCTION) {}
|
|
|
|
|
2007-07-05 05:41:56 +00:00
|
|
|
uint8 version;
|
2009-10-24 18:51:21 +00:00
|
|
|
int16 subtract_input[3]; // signed
|
|
|
|
uint16 add_output[2]; // unsigned
|
2007-07-05 05:41:56 +00:00
|
|
|
uint8 again;
|
|
|
|
};
|
|
|
|
|
2006-04-27 19:53:58 +00:00
|
|
|
|
2007-03-07 12:11:48 +00:00
|
|
|
struct ResolverObject {
|
2007-07-25 19:06:29 +00:00
|
|
|
CallbackID callback;
|
2006-04-27 19:53:58 +00:00
|
|
|
uint32 callback_param1;
|
|
|
|
uint32 callback_param2;
|
|
|
|
|
|
|
|
byte trigger;
|
|
|
|
|
2009-09-30 20:25:59 +00:00
|
|
|
uint32 last_value; ///< Result of most recent DeterministicSpriteGroup (including procedure calls)
|
|
|
|
uint32 reseed; ///< Collects bits to rerandomise while triggering triggers.
|
|
|
|
|
|
|
|
VarSpriteGroupScope scope; ///< Scope of currently resolved DeterministicSpriteGroup resp. RandomizedSpriteGroup
|
|
|
|
byte count; ///< Additional scope for RandomizedSpriteGroup
|
|
|
|
|
|
|
|
BaseStorageArray *psa; ///< The persistent storage array of this resolved object.
|
2007-09-22 13:56:38 +00:00
|
|
|
|
2009-09-30 20:25:59 +00:00
|
|
|
const GRFFile *grffile; ///< GRFFile the resolved SpriteGroup belongs to
|
2008-07-30 18:23:12 +00:00
|
|
|
|
2006-04-27 19:53:58 +00:00
|
|
|
union {
|
|
|
|
struct {
|
|
|
|
const struct Vehicle *self;
|
|
|
|
const struct Vehicle *parent;
|
2006-06-22 21:25:51 +00:00
|
|
|
EngineID self_type;
|
2009-09-30 18:54:33 +00:00
|
|
|
bool info_view; ///< Indicates if the item is being drawn in an info window
|
2006-04-27 19:53:58 +00:00
|
|
|
} vehicle;
|
2007-05-06 18:14:33 +00:00
|
|
|
struct {
|
|
|
|
TileIndex tile;
|
|
|
|
} canal;
|
2006-04-27 19:53:58 +00:00
|
|
|
struct {
|
|
|
|
TileIndex tile;
|
2009-07-17 19:44:13 +00:00
|
|
|
const struct BaseStation *st;
|
2006-04-27 19:53:58 +00:00
|
|
|
const struct StationSpec *statspec;
|
2006-10-11 22:05:59 +00:00
|
|
|
CargoID cargo_type;
|
2006-04-27 19:53:58 +00:00
|
|
|
} station;
|
2007-03-19 11:27:30 +00:00
|
|
|
struct {
|
|
|
|
TileIndex tile;
|
|
|
|
Town *town;
|
|
|
|
HouseID house_id;
|
|
|
|
} house;
|
2007-06-09 02:05:51 +00:00
|
|
|
struct {
|
|
|
|
TileIndex tile;
|
|
|
|
Industry *ind;
|
2007-06-13 02:29:08 +00:00
|
|
|
IndustryGfx gfx;
|
2008-01-09 18:14:29 +00:00
|
|
|
IndustryType type;
|
2007-06-09 02:05:51 +00:00
|
|
|
} industry;
|
2007-03-23 20:55:45 +00:00
|
|
|
struct {
|
|
|
|
const struct CargoSpec *cs;
|
|
|
|
} cargo;
|
2008-02-12 13:23:57 +00:00
|
|
|
struct {
|
|
|
|
CargoID cargo_type;
|
|
|
|
uint8 default_selection;
|
|
|
|
IndustryType src_industry;
|
|
|
|
IndustryType dst_industry;
|
|
|
|
uint8 distance;
|
|
|
|
AIConstructionEvent event;
|
|
|
|
uint8 count;
|
|
|
|
uint8 station_size;
|
|
|
|
} generic;
|
2006-05-02 18:56:07 +00:00
|
|
|
} u;
|
2006-04-27 19:53:58 +00:00
|
|
|
|
|
|
|
uint32 (*GetRandomBits)(const struct ResolverObject*);
|
|
|
|
uint32 (*GetTriggers)(const struct ResolverObject*);
|
|
|
|
void (*SetTriggers)(const struct ResolverObject*, int);
|
2006-05-23 19:36:50 +00:00
|
|
|
uint32 (*GetVariable)(const struct ResolverObject*, byte, byte, bool*);
|
2009-05-23 12:13:42 +00:00
|
|
|
const SpriteGroup *(*ResolveReal)(const struct ResolverObject*, const RealSpriteGroup*);
|
2007-03-07 12:11:48 +00:00
|
|
|
};
|
2006-04-27 19:53:58 +00:00
|
|
|
|
2006-04-20 20:51:57 +00:00
|
|
|
#endif /* NEWGRF_SPRITEGROUP_H */
|