Fixed implicit function declaration warning.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2832 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2009-12-03 08:31:16 +00:00
parent 1ed6d37364
commit 514f6cb1f4
3 changed files with 14 additions and 12 deletions

View File

@ -197,18 +197,6 @@ typedef enum
#define PASSAGE_UNKNOWN_KEY @"passage_unknown"
typedef enum
{
// Exposed to shaders.
COMPASS_MODE_BASIC,
COMPASS_MODE_PLANET,
COMPASS_MODE_STATION,
COMPASS_MODE_SUN,
COMPASS_MODE_TARGET,
COMPASS_MODE_BEACONS
} OOCompassMode;
#define SCANNER_ZOOM_RATE_UP 2.0
#define SCANNER_ZOOM_RATE_DOWN -8.0

View File

@ -86,6 +86,8 @@ NSString *DisplayStringForMassUnitForCommodity(OOCargoType commodity);
OOGalacticHyperspaceBehaviour StringToGalacticHyperspaceBehaviour(NSString *string) PURE_FUNC;
NSString *GalacticHyperspaceBehaviourToString(OOGalacticHyperspaceBehaviour behaviour) CONST_FUNC;
NSString *CompassModeToString(OOCompassMode mode);
#if DOCKING_CLEARANCE_ENABLED
NSString *DockingClearanceStatusToString(OODockingClearanceStatus dockingClearanceStatus) PURE_FUNC;
#endif

View File

@ -344,6 +344,18 @@ typedef enum
} OOEnergyUnitType;
typedef enum
{
// Exposed to shaders.
COMPASS_MODE_BASIC,
COMPASS_MODE_PLANET,
COMPASS_MODE_STATION,
COMPASS_MODE_SUN,
COMPASS_MODE_TARGET,
COMPASS_MODE_BEACONS
} OOCompassMode;
#if DOCKING_CLEARANCE_ENABLED
typedef enum
{