1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)

This commit is contained in:
truebrain
2011-11-29 23:15:35 +00:00
parent afdb67a353
commit 98103121d4
175 changed files with 4048 additions and 4034 deletions

View File

@@ -7,7 +7,7 @@
* 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 script_stationlist.cpp Implementation of AIStationList and friends. */
/** @file script_stationlist.cpp Implementation of ScriptStationList and friends. */
#include "../../stdafx.h"
#include "script_stationlist.hpp"
@@ -16,7 +16,7 @@
#include "../../station_base.h"
#include "../../vehicle_base.h"
AIStationList::AIStationList(AIStation::StationType station_type)
ScriptStationList::ScriptStationList(ScriptStation::StationType station_type)
{
Station *st;
FOR_ALL_STATIONS(st) {
@@ -24,9 +24,9 @@ AIStationList::AIStationList(AIStation::StationType station_type)
}
}
AIStationList_Vehicle::AIStationList_Vehicle(VehicleID vehicle_id)
ScriptStationList_Vehicle::ScriptStationList_Vehicle(VehicleID vehicle_id)
{
if (!AIVehicle::IsValidVehicle(vehicle_id)) return;
if (!ScriptVehicle::IsValidVehicle(vehicle_id)) return;
Vehicle *v = ::Vehicle::Get(vehicle_id);