Changeset - r18000:a16152e101ed
[Not reviewed]
master
0 4 0
rubidium - 13 years ago 2011-08-24 12:12:36
rubidium@openttd.org
(svn r22819) -Fix: include the header where it should be included
4 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/genworld.cpp
Show inline comments
 
@@ -3,25 +3,24 @@
 
/*
 
 * This file is part of OpenTTD.
 
 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
 
 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file genworld.cpp Functions to generate a map. */
 

	
 
#include "stdafx.h"
 
#include "landscape.h"
 
#include "company_func.h"
 
#include "thread/thread.h"
 
#include "genworld.h"
 
#include "gfxinit.h"
 
#include "window_func.h"
 
#include "network/network.h"
 
#include "heightmap.h"
 
#include "viewport_func.h"
 
#include "gfx_func.h"
 
#include "date_func.h"
 
#include "engine_func.h"
 
#include "newgrf_storage.h"
 
#include "water.h"
 
#include "video/video_driver.hpp"
src/genworld_gui.cpp
Show inline comments
 
@@ -16,25 +16,24 @@
 
#include "network/network.h"
 
#include "strings_func.h"
 
#include "window_func.h"
 
#include "date_func.h"
 
#include "sound_func.h"
 
#include "fios.h"
 
#include "string_func.h"
 
#include "widgets/dropdown_type.h"
 
#include "widgets/dropdown_func.h"
 
#include "landscape_type.h"
 
#include "querystring_gui.h"
 
#include "town.h"
 
#include "thread/thread.h"
 
#include "settings_func.h"
 
#include "core/geometry_func.hpp"
 
#include "core/random_func.hpp"
 
#include "progress.h"
 

	
 
#include "table/strings.h"
 
#include "table/sprites.h"
 

	
 
/**
 
 * In what 'mode' the GenerateLandscapeWindowProc is.
 
 */
 
enum GenenerateLandscapeWindowMode {
src/newgrf_config.cpp
Show inline comments
 
@@ -9,25 +9,24 @@
 

	
 
/** @file newgrf_config.cpp Finding NewGRFs and configuring them. */
 

	
 
#include "stdafx.h"
 
#include "debug.h"
 
#include "3rdparty/md5/md5.h"
 
#include "newgrf.h"
 
#include "network/network_func.h"
 
#include "gfx_func.h"
 
#include "newgrf_text.h"
 
#include "window_func.h"
 
#include "progress.h"
 
#include "thread/thread.h"
 
#include "video/video_driver.hpp"
 

	
 
#include "fileio_func.h"
 
#include "fios.h"
 

	
 
/** Create a new GRFTextWrapper. */
 
GRFTextWrapper::GRFTextWrapper() :
 
	text(NULL)
 
{
 
}
 

	
 
/** Cleanup a GRFTextWrapper object. */
src/progress.h
Show inline comments
 
@@ -3,24 +3,26 @@
 
/*
 
 * This file is part of OpenTTD.
 
 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
 
 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file progress.h Functions related to modal progress. */
 

	
 
#ifndef PROGRESS_H
 
#define PROGRESS_H
 

	
 
#include "thread/thread.h"
 

	
 
static const uint MODAL_PROGRESS_REDRAW_TIMEOUT = 200; ///< Timeout between redraws
 

	
 
/**
 
 * Check if we are currently in a modal progress state.
 
 * @return Are we in the modal state?
 
 */
 
static inline bool HasModalProgress()
 
{
 
	extern bool _in_modal_progress;
 
	return _in_modal_progress;
 
}
 

	
0 comments (0 inline, 0 general)