(svn r14085) -Cleanup (r14083): Remove no longer used functions.

This commit is contained in:
frosch
2008-08-16 14:15:32 +00:00
parent ea2564c420
commit fc8997bcc3
5 changed files with 0 additions and 593 deletions

View File

@@ -675,25 +675,4 @@ Trackdir GetVehicleTrackdir(const Vehicle* v);
void CheckVehicle32Day(Vehicle *v);
struct BackuppedVehicle {
private:
Vehicle *vehicles;
BackuppedOrders *orders;
PlayerMoneyBackup *economy;
CargoPacket *cargo_packets;
void BackupVehicle(Vehicle *v);
Vehicle* RestoreBackupVehicle(Vehicle *v, Player *p);
public:
BackuppedVehicle(bool include_orders) : vehicles(NULL), economy(NULL), cargo_packets(NULL) {
orders = include_orders ? new BackuppedOrders() : NULL;
}
~BackuppedVehicle() { free(vehicles); delete orders; delete economy; free(cargo_packets); }
void Backup(Vehicle *v, Player *p = NULL);
Vehicle *Restore(Vehicle *v, Player *p);
bool ContainsBackup() { return vehicles != NULL; }
};
#endif /* VEHICLE_BASE_H */