Files
@ r5352:64720e7993a1
Branch filter:
Location: cpp/openttd-patchpack/source/table/unmovable_land.h - annotation
r5352:64720e7993a1
3.9 KiB
text/x-c
(svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
This is only possible in SP (or in the intro menu). During game play you will
get a confirmation window when applying the changes as some actions can crash
OpenTTD and/or make your current game unplayable.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | r2186:5ee653b1b5e1 r2186:5ee653b1b5e1 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r3654:83eca8525ed0 r536:306d4b3ff699 r0:d63b455452f6 r0:d63b455452f6 r4344:bff007ae1fd1 r4344:bff007ae1fd1 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r0:d63b455452f6 r0:d63b455452f6 r0:d63b455452f6 r384:75b26a2a614a r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r2187:60cea7c48bf4 r0:d63b455452f6 | /* $Id$ */
typedef struct DrawTileUnmovableStruct {
uint16 image;
byte subcoord_x;
byte subcoord_y;
byte width;
byte height;
byte z_size;
byte unused;
} DrawTileUnmovableStruct;
#define TILE_SEQ_END() { 0x80, 0, 0, 0, 0, 0, 0 }
static const DrawTileUnmovableStruct _draw_tile_unmovable_data[] = {
{0xA29, 7, 7, 2, 2, 70, 0},
{0xA2A, 4, 4, 7, 7, 61, 0},
};
static const DrawTileSeqStruct _unmovable_display_datas_0[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_1[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_2[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_3[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_4[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_5[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_6[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_7[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_8[] = {
{ 0, 0, 0, 16, 16, 20, 0xA34 | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_9[] = {
{ 0, 0, 0, 16, 16, 20, 0xA36 | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_10[] = {
{ 0, 0, 0, 16, 16, 20, 0xA38 | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_11[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_12[] = {
{ 0, 0, 0, 16, 16, 50, 0xA3B | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_13[] = {
{ 0, 0, 0, 16, 16, 50, 0xA3D | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_14[] = {
{ 0, 0, 0, 16, 16, 50, 0xA3F | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_15[] = {
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_16[] = {
{ 0, 0, 0, 16, 16, 60, 0xA42 | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_17[] = {
{ 0, 0, 0, 16, 16, 60, 0xA44 | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_18[] = {
{ 0, 0, 0, 16, 16, 60, 0xA46 | PALETTE_MODIFIER_COLOR },
TILE_SEQ_END()
};
static const DrawTileSeqStruct _unmovable_display_datas_19[] = {
TILE_SEQ_END()
};
static const DrawTileSprites _unmovable_display_datas[] = {
{ 0xA2B | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_0 },
{ 0xA2C | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_1 },
{ 0xA2D | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_2 },
{ 0xA2E | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_3 },
{ 0xA2F | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_4 },
{ 0xA30 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_5 },
{ 0xA31 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_6 },
{ 0xA32 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_7 },
{ 0xA33 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_8 },
{ 0xA35 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_9 },
{ 0xA37 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_10 },
{ 0xA39 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_11 },
{ 0xA3A | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_12 },
{ 0xA3C | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_13 },
{ 0xA3E | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_14 },
{ 0xA40 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_15 },
{ 0xA41 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_16 },
{ 0xA43 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_17 },
{ 0xA45 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_18 },
{ 0xA47 | PALETTE_MODIFIER_COLOR, _unmovable_display_datas_19 },
};
|