# HG changeset patch # User belugas # Date 1160015187 0 # Node ID da9d305d1c94e07151303d90160a14549565d52c # Parent 0febcf07eb484c5a54aa7bf0f25f82057ce57aef (svn r6644) -Fix(r6637): remove inline to allow MSVC compilation -Fix(r5124): Add aircraft.h to MSVC projects diff -r 0febcf07eb48 -r da9d305d1c94 aircraft.h --- a/aircraft.h Thu Oct 05 01:43:49 2006 +0000 +++ b/aircraft.h Thu Oct 05 02:26:27 2006 +0000 @@ -21,6 +21,6 @@ uint16 AircraftDefaultCargoCapacity(CargoID cid, EngineID engine_type); void CcCloneAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2); -inline void HandleAircraftEnterHangar(Vehicle *v); +void HandleAircraftEnterHangar(Vehicle *v); #endif /* AIRCRAFT_H */ diff -r 0febcf07eb48 -r da9d305d1c94 aircraft_cmd.c --- a/aircraft_cmd.c Thu Oct 05 01:43:49 2006 +0000 +++ b/aircraft_cmd.c Thu Oct 05 02:26:27 2006 +0000 @@ -834,11 +834,9 @@ } /** Handle Aircraft specific tasks when a an Aircraft enters a hangar - * Made inline because it's only called from one location (VehicleEnterDepot) - * Can't be moved to vehicle.c because it calls static Aircraft specific functions * @param *v Vehicle that enters the hangar */ -inline void HandleAircraftEnterHangar(Vehicle *v) +void HandleAircraftEnterHangar(Vehicle *v) { Vehicle *u; diff -r 0febcf07eb48 -r da9d305d1c94 openttd.vcproj --- a/openttd.vcproj Thu Oct 05 01:43:49 2006 +0000 +++ b/openttd.vcproj Thu Oct 05 02:26:27 2006 +0000 @@ -428,6 +428,9 @@ Name="Header Files" Filter="h;hpp;hxx;hm;inl"> + + + +