clear_cmd.c
changeset 1093 4fdc46eaf423
parent 1059 fe97d81a1b4f
child 1095 b59632d9df1b
equal deleted inserted replaced
1092:e3b4a131db7c 1093:4fdc46eaf423
   727 
   727 
   728 	_map5[tile] = m5;
   728 	_map5[tile] = m5;
   729 	MarkTileDirtyByTile(tile);
   729 	MarkTileDirtyByTile(tile);
   730 }
   730 }
   731 
   731 
   732 void GenerateClearTile()
   732 void GenerateClearTile(void)
   733 {
   733 {
   734 	int i,j;
   734 	int i,j;
   735 	uint tile,tile_new;
   735 	uint tile,tile_new;
   736 	uint32 r;
   736 	uint32 r;
   737 
   737 
   799 static void ChangeTileOwner_Clear(uint tile, byte old_player, byte new_player)
   799 static void ChangeTileOwner_Clear(uint tile, byte old_player, byte new_player)
   800 {
   800 {
   801 	return;
   801 	return;
   802 }
   802 }
   803 
   803 
   804 void InitializeClearLand() {
   804 void InitializeClearLand(void)
       
   805 {
   805 	_opt.snow_line = _patches.snow_line_height * 8;
   806 	_opt.snow_line = _patches.snow_line_height * 8;
   806 }
   807 }
   807 
   808 
   808 const TileTypeProcs _tile_type_clear_procs = {
   809 const TileTypeProcs _tile_type_clear_procs = {
   809 	DrawTile_Clear,						/* draw_tile_proc */
   810 	DrawTile_Clear,						/* draw_tile_proc */