Changeset - r17139:89cc9da47954
[Not reviewed]
master
0 3 0
rubidium - 13 years ago 2011-01-22 10:10:03
rubidium@openttd.org
(svn r21887) -Fix-ish: some headers weren't including the headers they depend on
3 files changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/network/core/tcp_admin.h
Show inline comments
 
@@ -381,19 +381,19 @@ protected:
 
	 */
 
	DECLARE_ADMIN_RECEIVE_COMMAND(ADMIN_PACKET_SERVER_CMD_LOGGING);
 

	
 
	NetworkRecvStatus HandlePacket(Packet *p);
 
public:
 
	NetworkRecvStatus CloseConnection(bool error = true);
 

	
 
	NetworkAdminSocketHandler(SOCKET s);
 
	~NetworkAdminSocketHandler();
 

	
 
	NetworkRecvStatus ReceivePackets();
 

	
 
	const char *ReceiveCommand(Packet *p, CommandPacket *cp);
 
	void SendCommand(Packet *p, const CommandPacket *cp);
 
	const char *ReceiveCommand(Packet *p, struct CommandPacket *cp);
 
	void SendCommand(Packet *p, const struct CommandPacket *cp);
 
};
 

	
 
#endif /* ENABLE_NETWORK */
 

	
 
#endif /* NETWORK_CORE_TCP_ADMIN_H */
src/newgrf_industrytiles.h
Show inline comments
 
@@ -7,24 +7,25 @@
 
 * 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 newgrf_industrytiles.h NewGRF handling of industry tiles. */
 

	
 
#ifndef NEWGRF_INDUSTRYTILES_H
 
#define NEWGRF_INDUSTRYTILES_H
 

	
 
#include "tile_cmd.h"
 
#include "industry_type.h"
 
#include "newgrf_animation_type.h"
 
#include "newgrf_callbacks.h"
 
#include "newgrf_industries.h"
 
#include "core/random_func.hpp"
 

	
 
bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);
 
uint16 GetIndustryTileCallback(CallbackID callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile);
 
CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index, uint16 initial_random_bits, Owner founder, IndustryAvailabilityCallType creation_type);
 

	
 
void AnimateNewIndustryTile(TileIndex tile);
 
bool StartStopIndustryTileAnimation(TileIndex tile, IndustryAnimationTrigger iat, uint32 random = Random());
 
bool StartStopIndustryTileAnimation(const Industry *ind, IndustryAnimationTrigger iat);
 

	
 

	
 
/** Available industry tile triggers. */
src/road_gui.h
Show inline comments
 
@@ -4,18 +4,20 @@
 
 * 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 road_gui.h Functions/types related to the road GUIs. */
 

	
 
#ifndef ROAD_GUI_H
 
#define ROAD_GUI_H
 

	
 
#include "road_type.h"
 
#include "tile_type.h"
 
#include "direction_type.h"
 

	
 
struct Window *ShowBuildRoadToolbar(RoadType roadtype);
 
struct Window *ShowBuildRoadScenToolbar();
 
void ConnectRoadToStructure(TileIndex tile, DiagDirection direction);
 

	
 
#endif /* ROAD_GUI_H */
0 comments (0 inline, 0 general)