(svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant.

This commit is contained in:
rubidium
2009-05-17 17:17:48 +00:00
parent e3bd95e7b6
commit 9c24e2bb8f
10 changed files with 27 additions and 30 deletions

View File

@@ -62,7 +62,7 @@ struct ShipVehicleInfo {
CargoID cargo_type;
uint16 capacity;
byte running_cost;
SoundFxByte sfx;
SoundID sfx;
bool refittable;
};
@@ -80,7 +80,7 @@ struct AircraftVehicleInfo {
byte cost_factor;
byte running_cost;
byte subtype;
SoundFxByte sfx;
SoundID sfx;
byte acceleration;
uint16 max_speed;
byte mail_capacity;
@@ -92,7 +92,7 @@ struct RoadVehicleInfo {
byte cost_factor;
byte running_cost;
byte running_cost_class;
SoundFxByte sfx;
SoundID sfx;
uint16 max_speed; ///< Maximum speed in mph/3.2 units
byte capacity;
CargoID cargo_type;