# unmovable_land.h

Go to the documentation of this file.

    00001 /* $Id: unmovable_land.h 15428 2009-02-09 02:57:15Z rubidium $ */
    00002
    00005 static const DrawTileSeqStruct _draw_tile_transmitterlighthouse_data[] = {
    00006   {   7,  7,  0,  2,  2, 70, {SPR_UNMOVABLE_TRANSMITTER, PAL_NONE}},
    00007   {   4,  4,  0,  7,  7, 61, {SPR_UNMOVABLE_LIGHTHOUSE, PAL_NONE}},
    00008 };
    00009
    00010 #define TILE_SEQ_LINE(sz, img) { 0, 0, 0, 16, 16, sz, {img, PAL_NONE} },
    00011 #define TILE_SEQ_END() { (byte)0x80, 0, 0, 0, 0, 0, {0, 0} }
    00012
    00013 static const DrawTileSeqStruct _unmovable_display_nothing[] = {
    00014   TILE_SEQ_END()
    00015 };
    00016
    00017 static const DrawTileSeqStruct _unmovable_display_datas_8[] = {
    00018   TILE_SEQ_LINE(20, SPR_MEDIUMHQ_NORTH_WALL | (1 << PALETTE_MODIFIER_COLOUR))
    00019   TILE_SEQ_END()
    00020 };
    00021
    00022 static const DrawTileSeqStruct _unmovable_display_datas_9[] = {
    00023   TILE_SEQ_LINE(20, SPR_MEDIUMHQ_EAST_WALL  | (1 << PALETTE_MODIFIER_COLOUR))
    00024   TILE_SEQ_END()
    00025 };
    00026
    00027 static const DrawTileSeqStruct _unmovable_display_datas_10[] = {
    00028   TILE_SEQ_LINE(20, SPR_MEDIUMHQ_WEST_WALL  | (1 << PALETTE_MODIFIER_COLOUR))
    00029   TILE_SEQ_END()
    00030 };
    00031
    00032 static const DrawTileSeqStruct _unmovable_display_datas_12[] = {
    00033   TILE_SEQ_LINE(50, SPR_LARGEHQ_NORTH_BUILD | (1 << PALETTE_MODIFIER_COLOUR))
    00034   TILE_SEQ_END()
    00035 };
    00036
    00037 static const DrawTileSeqStruct _unmovable_display_datas_13[] = {
    00038   TILE_SEQ_LINE(50, SPR_LARGEHQ_EAST_BUILD  | (1 << PALETTE_MODIFIER_COLOUR))
    00039   TILE_SEQ_END()
    00040 };
    00041
    00042 static const DrawTileSeqStruct _unmovable_display_datas_14[] = {
    00043   TILE_SEQ_LINE(50, SPR_LARGEHQ_WEST_BUILD  | (1 << PALETTE_MODIFIER_COLOUR))
    00044   TILE_SEQ_END()
    00045 };
    00046
    00047 static const DrawTileSeqStruct _unmovable_display_datas_16[] = {
    00048   TILE_SEQ_LINE(60, SPR_HUGEHQ_NORTH_BUILD  | (1 << PALETTE_MODIFIER_COLOUR))
    00049   TILE_SEQ_END()
    00050 };
    00051
    00052 static const DrawTileSeqStruct _unmovable_display_datas_17[] = {
    00053   TILE_SEQ_LINE(60, SPR_HUGEHQ_EAST_BUILD   | (1 << PALETTE_MODIFIER_COLOUR))
    00054   TILE_SEQ_END()
    00055 };
    00056
    00057 static const DrawTileSeqStruct _unmovable_display_datas_18[] = {
    00058   TILE_SEQ_LINE(60, SPR_HUGEHQ_WEST_BUILD   | (1 << PALETTE_MODIFIER_COLOUR))
    00059   TILE_SEQ_END()
    00060 };
    00061
    00062 #undef TILE_SEQ_LINE
    00063 #undef TILE_SEQ_END
    00064
    00065 #define TILE_SPRITE_LINE(img, dtss) { {img | (1 << PALETTE_MODIFIER_COLOUR), PAL_NONE}, dtss },
    00066
    00067 static const DrawTileSprites _unmovable_display_datas[] = {
    00068   TILE_SPRITE_LINE(SPR_TINYHQ_NORTH,         _unmovable_display_nothing)
    00069   TILE_SPRITE_LINE(SPR_TINYHQ_EAST,          _unmovable_display_nothing)
    00070   TILE_SPRITE_LINE(SPR_TINYHQ_WEST,          _unmovable_display_nothing)
    00071   TILE_SPRITE_LINE(SPR_TINYHQ_SOUTH,         _unmovable_display_nothing)
    00072
    00073   TILE_SPRITE_LINE(SPR_SMALLHQ_NORTH,        _unmovable_display_nothing)
    00074   TILE_SPRITE_LINE(SPR_SMALLHQ_EAST,         _unmovable_display_nothing)
    00075   TILE_SPRITE_LINE(SPR_SMALLHQ_WEST,         _unmovable_display_nothing)
    00076   TILE_SPRITE_LINE(SPR_SMALLHQ_SOUTH,        _unmovable_display_nothing)
    00077
    00078   TILE_SPRITE_LINE(SPR_MEDIUMHQ_NORTH,       _unmovable_display_datas_8)
    00079   TILE_SPRITE_LINE(SPR_MEDIUMHQ_EAST,        _unmovable_display_datas_9)
    00080   TILE_SPRITE_LINE(SPR_MEDIUMHQ_WEST,        _unmovable_display_datas_10)
    00081   TILE_SPRITE_LINE(SPR_MEDIUMHQ_SOUTH,       _unmovable_display_nothing)
    00082
    00083   TILE_SPRITE_LINE(SPR_LARGEHQ_NORTH_GROUND, _unmovable_display_datas_12)
    00084   TILE_SPRITE_LINE(SPR_LARGEHQ_EAST_GROUND,  _unmovable_display_datas_13)
    00085   TILE_SPRITE_LINE(SPR_LARGEHQ_WEST_GROUND,  _unmovable_display_datas_14)
    00086   TILE_SPRITE_LINE(SPR_LARGEHQ_SOUTH,        _unmovable_display_nothing)
    00087
    00088   TILE_SPRITE_LINE(SPR_HUGEHQ_NORTH_GROUND,  _unmovable_display_datas_16)
    00089   TILE_SPRITE_LINE(SPR_HUGEHQ_EAST_GROUND,   _unmovable_display_datas_17)
    00090   TILE_SPRITE_LINE(SPR_HUGEHQ_WEST_GROUND,   _unmovable_display_datas_18)
    00091   TILE_SPRITE_LINE(SPR_HUGEHQ_SOUTH,         _unmovable_display_nothing)
    00092 };
    00093
    00094 #undef TILE_SPRITE_LINE
    00095
    00096 const UnmovableSpec _original_unmovable[] = {
    00097   {STR_5801_TRANSMITTER,          1,   1},
    00098   {STR_5802_LIGHTHOUSE,           1,   1},
    00099   {STR_2016_STATUE,               1,   1},
    00100   {STR_5805_COMPANY_OWNED_LAND,   10,  2},
    00101   {STR_5803_COMPANY_HEADQUARTERS, 1,   1},
    00102 };