src/void_map.h
author miham
Sat, 23 Feb 2008 11:42:41 +0000
changeset 8627 79cb9a4fb8d1
parent 8108 b42a0e5c67ef
child 9111 48ce04029fe4
permissions -rw-r--r--
(svn r12218) -Update: WebTranslator2 update to 2008-02-23 12:39:10
brazilian_portuguese - 13 fixed, 51 changed by fukumori (64)
bulgarian - 12 fixed by thetitan (12)
catalan - 13 fixed by arnaullv (13)
czech - 13 fixed, 8 changed by Hadez (21)
dutch - 13 fixed by habell (13)
estonian - 13 fixed, 3 changed by kristjans (16)
french - 13 fixed, 20 changed by glx (33)
hungarian - 13 fixed by miham (13)
italian - 13 fixed, 8 changed by lorenzodv (21)
japanese - 13 fixed by ickoonite (13)
korean - 14 fixed by leejaeuk5 (14)
portuguese - 2 fixed by nars (2)
slovak - 13 fixed by lengyel (13)
slovenian - 1 fixed by Necrolyte (1)
spanish - 13 fixed by eusebio (13)
swedish - 1 fixed by ChrillDeVille (1)
ukrainian - 13 fixed, 1 deleted, 124 changed by mad (138)
3075
fd64f71655eb (svn r3664) Add a function to turn a tile into a void tile
tron
parents:
diff changeset
     1
/* $Id$ */
fd64f71655eb (svn r3664) Add a function to turn a tile into a void tile
tron
parents:
diff changeset
     2
6423
8e10e79e0fd1 (svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that...
belugas
parents: 6332
diff changeset
     3
/** @file void_map.h */
8e10e79e0fd1 (svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that...
belugas
parents: 6332
diff changeset
     4
3145
e833d7a78887 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties
tron
parents: 3144
diff changeset
     5
#ifndef VOID_MAP_H
e833d7a78887 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties
tron
parents: 3144
diff changeset
     6
#define VOID_MAP_H
e833d7a78887 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties
tron
parents: 3144
diff changeset
     7
8108
b42a0e5c67ef (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
rubidium
parents: 6489
diff changeset
     8
#include "tile_map.h"
b42a0e5c67ef (svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
rubidium
parents: 6489
diff changeset
     9
6489
511474c82dd3 (svn r9670) -Documentation: add documentation to some the _map files.
rubidium
parents: 6423
diff changeset
    10
/**
511474c82dd3 (svn r9670) -Documentation: add documentation to some the _map files.
rubidium
parents: 6423
diff changeset
    11
 * Make a nice void tile ;)
511474c82dd3 (svn r9670) -Documentation: add documentation to some the _map files.
rubidium
parents: 6423
diff changeset
    12
 * @param t the tile to make void
511474c82dd3 (svn r9670) -Documentation: add documentation to some the _map files.
rubidium
parents: 6423
diff changeset
    13
 */
3075
fd64f71655eb (svn r3664) Add a function to turn a tile into a void tile
tron
parents:
diff changeset
    14
static inline void MakeVoid(TileIndex t)
fd64f71655eb (svn r3664) Add a function to turn a tile into a void tile
tron
parents:
diff changeset
    15
{
fd64f71655eb (svn r3664) Add a function to turn a tile into a void tile
tron
parents:
diff changeset
    16
	SetTileType(t, MP_VOID);
3080
ab1fdf87033b (svn r3669) Really wipe all data when making a void tile
tron
parents: 3075
diff changeset
    17
	SetTileHeight(t, 0);
ab1fdf87033b (svn r3669) Really wipe all data when making a void tile
tron
parents: 3075
diff changeset
    18
	_m[t].m1 = 0;
ab1fdf87033b (svn r3669) Really wipe all data when making a void tile
tron
parents: 3075
diff changeset
    19
	_m[t].m2 = 0;
ab1fdf87033b (svn r3669) Really wipe all data when making a void tile
tron
parents: 3075
diff changeset
    20
	_m[t].m3 = 0;
ab1fdf87033b (svn r3669) Really wipe all data when making a void tile
tron
parents: 3075
diff changeset
    21
	_m[t].m4 = 0;
ab1fdf87033b (svn r3669) Really wipe all data when making a void tile
tron
parents: 3075
diff changeset
    22
	_m[t].m5 = 0;
5596
5bf7128140a0 (svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
belugas
parents: 5475
diff changeset
    23
	_m[t].m6 = 0;
6332
f3f436dcd7d0 (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
maedhros
parents: 5596
diff changeset
    24
	_me[t].m7 = 0;
3075
fd64f71655eb (svn r3664) Add a function to turn a tile into a void tile
tron
parents:
diff changeset
    25
}
3145
e833d7a78887 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties
tron
parents: 3144
diff changeset
    26
4666
172a0cdf28a6 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch]
peter1138
parents: 3145
diff changeset
    27
#endif /* VOID_MAP_H */