diff options
author | bjarni <bjarni@openttd.org> | 2007-02-10 13:37:32 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2007-02-10 13:37:32 +0000 |
commit | 0c8078ae29c2ac5f03d295aebf273150224cb55e (patch) | |
tree | 59906a996e65dbe3ecf41015b0f876d77b68498a /src/aircraft.h | |
parent | 356e47f1087b56244694a646eb73ee6c9264a229 (diff) | |
download | openttd-0c8078ae29c2ac5f03d295aebf273150224cb55e.tar.xz |
(svn r8661) -Fix: [depot windows] Enlarge the blocks in the depot window if a sprite is too big to fit (ships and aircraft only)
-Codechange: depot windows default now makes a 1x1 matrix and resize the window by block size*number of blocks
This will make less vehicle type specific code and easier to read resizing based on sprite sizes
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index 9a2875f1f..b727b007a 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -45,5 +45,6 @@ uint16 AircraftDefaultCargoCapacity(CargoID cid, EngineID engine_type); void CcBuildAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2); void CcCloneAircraft(bool success, TileIndex tile, uint32 p1, uint32 p2); void HandleAircraftEnterHangar(Vehicle *v); +void GetAircraftSpriteSize(EngineID engine, uint &width, uint &height); #endif /* AIRCRAFT_H */ |