1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-14 10:09:11 +00:00

(svn r23397) -Change: remove the AI_ prefix from all AIEvent enums

This commit is contained in:
truebrain
2011-12-02 23:40:16 +00:00
parent c3026bc601
commit 13c3993e86
8 changed files with 140 additions and 69 deletions

View File

@@ -1859,13 +1859,13 @@ function Regression::Start()
print(" GetNextEvent: " + (e == null ? "null" : "instance"));
print(" GetEventType: " + e.GetEventType());
switch (e.GetEventType()) {
case AIEvent.AI_ET_SUBSIDY_OFFER: {
case AIEvent.ET_SUBSIDY_OFFER: {
local c = AIEventSubsidyOffer.Convert(e);
print(" EventName: SubsidyOffer");
PrintSubsidy(c.GetSubsidyID());
} break;
case AIEvent.AI_ET_VEHICLE_WAITING_IN_DEPOT: {
case AIEvent.ET_VEHICLE_WAITING_IN_DEPOT: {
local c = AIEventVehicleWaitingInDepot.Convert(e);
print(" EventName: VehicleWaitingInDepot");
print(" VehicleID: " + c.GetVehicleID());