Defines | Variables

# object_land.h File Reference

Sprites to use and how to display them for object tiles. More...

Go to the source code of this file.

## Defines
#define | TILE_SEQ_LINE(sz, img) { 0, 0, 0, 16, 16, sz, {img, PAL_NONE} },
#define | TILE_SEQ_END() { (int8)0x80, 0, 0, 0, 0, 0, {0, 0} }
#define | TILE_SPRITE_LINE(img, dtss) { {img | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE}, dtss },
#define | M(name, size, build_cost_multiplier, clear_cost_multiplier, height, flags) { GRFFilePropsBase<2>(), INVALID_OBJECT_CLASS, name, 0xF, size, 0, 0, build_cost_multiplier, clear_cost_multiplier, flags, {0, 0, 0, 0}, 0, height, 1, true }
## Variables
static const DrawTileSeqStruct | _object_nothing []
static const DrawTileSeqStruct | _object_transmitter_seq []
static const DrawTileSeqStruct | _object_lighthouse_seq []
static const DrawTileSeqStruct | _object_statue_seq []
static const DrawTileSeqStruct | _object_owned_land_seq []
const DrawTileSprites | _objects []
static const DrawTileSeqStruct | _object_hq_medium_north []
static const DrawTileSeqStruct | _object_hq_medium_east []
static const DrawTileSeqStruct | _object_hq_medium_west []
static const DrawTileSeqStruct | _object_hq_large_north []
static const DrawTileSeqStruct | _object_hq_large_east []
static const DrawTileSeqStruct | _object_hq_large_west []
static const DrawTileSeqStruct | _object_hq_huge_north []
static const DrawTileSeqStruct | _object_hq_huge_east []
static const DrawTileSeqStruct | _object_hq_huge_west []
static const DrawTileSprites | _object_hq []
const ObjectSpec | _original_objects []
| Specification of the original object structures.

## Detailed Description

Sprites to use and how to display them for object tiles.

Definition in file object_land.h.

## Variable Documentation

const DrawTileSprites _object_hq[]`[static]`

Initial value:

     {

    }

Definition at line 97 of file object_land.h.

const DrawTileSeqStruct _object_hq_huge_east[]`[static]`

Initial value:

     {

    }

Definition at line 82 of file object_land.h.

const DrawTileSeqStruct _object_hq_huge_north[]`[static]`

Initial value:

     {

    }

Definition at line 77 of file object_land.h.

const DrawTileSeqStruct _object_hq_huge_west[]`[static]`

Initial value:

     {

    }

Definition at line 87 of file object_land.h.

const DrawTileSeqStruct _object_hq_large_east[]`[static]`

Initial value:

     {

    }

Definition at line 67 of file object_land.h.

const DrawTileSeqStruct _object_hq_large_north[]`[static]`

Initial value:

     {

    }

Definition at line 62 of file object_land.h.

const DrawTileSeqStruct _object_hq_large_west[]`[static]`

Initial value:

     {

    }

Definition at line 72 of file object_land.h.

const DrawTileSeqStruct _object_hq_medium_east[]`[static]`

Initial value:

     {

    }

Definition at line 52 of file object_land.h.

const DrawTileSeqStruct _object_hq_medium_north[]`[static]`

Initial value:

     {

    }

Definition at line 47 of file object_land.h.

const DrawTileSeqStruct _object_hq_medium_west[]`[static]`

Initial value:

     {

    }

Definition at line 57 of file object_land.h.

const DrawTileSeqStruct _object_lighthouse_seq[]`[static]`

Initial value:

     {
      {   4,  4,  0,  7,  7, 61, {SPR_LIGHTHOUSE, PAL_NONE}},

    }

Definition at line 24 of file object_land.h.

const DrawTileSeqStruct _object_nothing[]`[static]`

Initial value:

     {

    }

Definition at line 15 of file object_land.h.

const DrawTileSeqStruct _object_owned_land_seq[]`[static]`

Initial value:

     {
      {   8,  8,  0,  1,  1,  6, {SPR_BOUGHT_LAND    | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE}},

    }

Definition at line 34 of file object_land.h.

const DrawTileSeqStruct _object_statue_seq[]`[static]`

Initial value:

     {
      {   0,  0,  0, 16, 16, 25, {SPR_STATUE_COMPANY | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE}},

    }

Definition at line 29 of file object_land.h.

const DrawTileSeqStruct _object_transmitter_seq[]`[static]`

Initial value:

     {
      {   7,  7,  0,  2,  2, 70, {SPR_TRANSMITTER, PAL_NONE}},

    }

Definition at line 19 of file object_land.h.

const DrawTileSprites _objects[]

Initial value:

     {
      { { SPR_FLAT_2_THIRD_GRASS_TILE, PAL_NONE }, _object_transmitter_seq },
      { { SPR_FLAT_2_THIRD_GRASS_TILE, PAL_NONE }, _object_lighthouse_seq  },
      { { SPR_CONCRETE_GROUND,         PAL_NONE }, _object_statue_seq      },
      { { SPR_FLAT_BARE_LAND,          PAL_NONE }, _object_owned_land_seq  },
    }

const ObjectSpec _original_objects[]

Initial value:

     {
      M(STR_LAI_OBJECT_DESCRIPTION_TRANSMITTER,          0x11,   0,   0, 10, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_SCENEDIT),
      M(STR_LAI_OBJECT_DESCRIPTION_LIGHTHOUSE,           0x11,   0,   0,  8, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_SCENEDIT),
      M(STR_TOWN_BUILDING_NAME_STATUE_1,                 0x11,   0,   0,  5, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_GAME | OBJECT_FLAG_ONLY_IN_SCENEDIT),
      M(STR_LAI_OBJECT_DESCRIPTION_COMPANY_OWNED_LAND,   0x11,  10,  10,  0, OBJECT_FLAG_AUTOREMOVE | OBJECT_FLAG_ONLY_IN_GAME | OBJECT_FLAG_CLEAR_INCOME | OBJECT_FLAG_HAS_NO_FOUNDATION | OBJECT_FLAG_ALLOW_UNDER_BRIDGE),
      M(STR_LAI_OBJECT_DESCRIPTION_COMPANY_HEADQUARTERS, 0x22,   0,   0,  7, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_GAME),
    }

Specification of the original object structures.