diff options
Diffstat (limited to 'engines/cruise/object.h')
-rw-r--r-- | engines/cruise/object.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/engines/cruise/object.h b/engines/cruise/object.h index ca736143a2..24b8461851 100644 --- a/engines/cruise/object.h +++ b/engines/cruise/object.h @@ -22,41 +22,41 @@ * */ -#ifndef _OBJECT_H_ -#define _OBJECT_H_ +#ifndef CRUISE_OBJECT_H +#define CRUISE_OBJECT_H namespace Cruise { -struct gfxEntryStruct -{ - uint8* imagePtr; - int imageSize; - int fontIndex; - int height; - int width; // for font: max right border; for sprite: just width +struct gfxEntryStruct { + uint8 *imagePtr; + int imageSize; + int fontIndex; + int height; + int width; // for font: max right border; for sprite: just width }; typedef struct gfxEntryStruct gfxEntryStruct; #define OBJ_SPRITE 4 -struct objectParamsQuery -{ +struct objectParamsQuery { int16 X; int16 Y; int16 baseFileIdx; int16 fileIdx; int16 scale; int16 var5; - int16 var6; - int16 var7; + int16 var6; + int16 var7; }; typedef struct objectParamsQuery objectParamsQuery; -objDataStruct* getObjectDataFromOverlay(int ovlIdx,int objIdx); -int16 getSingleObjectParam(int16 overlayIdx,int16 param2,int16 param3,int16* returnParam); -int16 getMultipleObjectParam(int16 overlayIdx,int16 objectIdx,objectParamsQuery* returnParam); +objDataStruct *getObjectDataFromOverlay(int ovlIdx, int objIdx); +int16 getSingleObjectParam(int16 overlayIdx, int16 param2, int16 param3, + int16 * returnParam); +int16 getMultipleObjectParam(int16 overlayIdx, int16 objectIdx, + objectParamsQuery * returnParam); } // End of namespace Cruise |