summaryrefslogtreecommitdiff
path: root/table/water_land.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-02 19:19:48 +0000
committerrubidium <rubidium@openttd.org>2007-01-02 19:19:48 +0000
commit66bbf336c6af7353ef0aeed58002c46543b30635 (patch)
treead4a63860df2626b22f77e7dac712e958bea54cb /table/water_land.h
parentccc0a3f4dbf58c005b22341ac8874252924690cd (diff)
downloadopenttd-66bbf336c6af7353ef0aeed58002c46543b30635.tar.xz
(svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
Diffstat (limited to 'table/water_land.h')
-rw-r--r--table/water_land.h151
1 files changed, 0 insertions, 151 deletions
diff --git a/table/water_land.h b/table/water_land.h
deleted file mode 100644
index 96cef5f39..000000000
--- a/table/water_land.h
+++ /dev/null
@@ -1,151 +0,0 @@
-/* $Id$ */
-
-typedef struct WaterDrawTileStruct {
- byte delta_x;
- byte delta_y;
- byte delta_z;
- byte width;
- byte height;
- byte unk;
- SpriteID image;
-} WaterDrawTileStruct;
-
-#define BEGIN(image) { 0, 0, 0, 0, 0, 0, image }
-#define END(y) { 0x80, y, 0, 0, 0, 0, 0 }
-
-static const WaterDrawTileStruct _shipdepot_display_seq_1[] = {
- BEGIN(0xFDD),
- { 0, 15, 0, 16, 1, 0x14, 0xFE8 | PALETTE_MODIFIER_COLOR },
- END(0)
-};
-
-static const WaterDrawTileStruct _shipdepot_display_seq_2[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 16, 1, 0x14, 0xFEA },
- { 0, 15, 0, 16, 1, 0x14, 0xFE6 | PALETTE_MODIFIER_COLOR },
- END(0)
-};
-
-static const WaterDrawTileStruct _shipdepot_display_seq_3[] = {
- BEGIN(0xFDD),
- { 15, 0, 0, 1, 0x10, 0x14, 0xFE9 | PALETTE_MODIFIER_COLOR },
- END(0)
-};
-
-static const WaterDrawTileStruct _shipdepot_display_seq_4[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 1, 16, 0x14, 0xFEB },
- { 15, 0, 0, 1, 16, 0x14, 0xFE7 | PALETTE_MODIFIER_COLOR },
- END(0)
-};
-
-static const WaterDrawTileStruct* const _shipdepot_display_seq[] = {
- _shipdepot_display_seq_1,
- _shipdepot_display_seq_2,
- _shipdepot_display_seq_3,
- _shipdepot_display_seq_4,
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_0[] = {
- BEGIN(SPR_CANALS_BASE + 6),
- { 0, 0, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 0 + 1 },
- { 0, 0xF, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 4 + 1 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_1[] = {
- BEGIN(SPR_CANALS_BASE + 5),
- { 0, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 0 },
- { 0xF, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 4 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_2[] = {
- BEGIN(SPR_CANALS_BASE + 7),
- { 0, 0, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 0 + 2 },
- { 0, 0xF, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 4 + 2 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_3[] = {
- BEGIN(SPR_CANALS_BASE + 8),
- { 0, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 0 + 3 },
- { 0xF, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 4 + 3 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_0b[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 8 + 1 },
- { 0, 0xF, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 12 + 1 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_1b[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 0x1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 8 },
- { 0xF, 0, 0, 0x1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 12 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_2b[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 8 + 2 },
- { 0, 0xF, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 12 + 2 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_3b[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 8 + 3 },
- { 0xF, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 12 + 3 },
- END(0)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_0t[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 16 + 1 },
- { 0, 0xF, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 20 + 1 },
- END(8)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_1t[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 0x1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 16 },
- { 0xF, 0, 0, 0x1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 20 },
- END(8)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_2t[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 16 + 2 },
- { 0, 0xF, 0, 0x10, 1, 0x14, SPR_CANALS_BASE + 9 + 20 + 2 },
- END(8)
-};
-
-static const WaterDrawTileStruct _shiplift_display_seq_3t[] = {
- BEGIN(0xFDD),
- { 0, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 16 + 3 },
- { 0xF, 0, 0, 1, 0x10, 0x14, SPR_CANALS_BASE + 9 + 20 + 3 },
- END(8)
-};
-
-static const WaterDrawTileStruct* const _shiplift_display_seq[] = {
- _shiplift_display_seq_0,
- _shiplift_display_seq_1,
- _shiplift_display_seq_2,
- _shiplift_display_seq_3,
-
- _shiplift_display_seq_0b,
- _shiplift_display_seq_1b,
- _shiplift_display_seq_2b,
- _shiplift_display_seq_3b,
-
- _shiplift_display_seq_0t,
- _shiplift_display_seq_1t,
- _shiplift_display_seq_2t,
- _shiplift_display_seq_3t,
-};
-
-#undef BEGIN
-#undef END