27 #ifndef DM_OBJECTMAN_H 28 #define DM_OBJECTMAN_H 31 #include "dm/champion.h" 35 #define kDMObjectNameMaximumLength 14 // @ C014_OBJECT_NAME_MAXIMUM_LENGTH 36 #define kDMObjectNameCount 199 // @ C199_OBJECT_NAME_COUNT 37 #define kDMObjectNamesGraphicIndice 556 // @ C556_GRAPHIC_OBJECT_NAMES 44 SlotBox(int16 x, int16 y, int16 iconIndex): _x(x), _y(y), _iconIndex(iconIndex) {}
45 SlotBox(): _x(-1), _y(-1), _iconIndex(-1) {}
54 void loadObjectNames();
57 char *_objectNames[kDMObjectNameCount];
58 byte *_objectIconForMousePointer;
60 IconIndice getObjectType(
Thing thing);
61 IconIndice getIconIndex(
Thing thing);
62 void extractIconFromBitmap(uint16 iconIndex, byte *destBitmap);
63 void drawIconInSlotBox(uint16 slotBoxIndex, int16 iconIndex);
64 void drawLeaderObjectName(
Thing thing);
65 IconIndice getIconIndexInSlotBox(uint16 slotBoxIndex);
66 void clearLeaderObjectName();
67 void drawIconToScreen(int16 iconIndex, int16 posX, int16 posY);
69 int16 _iconGraphicHeight[7];
70 int16 _iconGraphicFirstIndex[7];
Definition: champion.h:35
Definition: objectman.h:39
Definition: objectman.h:48