26 #ifndef SAGA2_MAPFEATR_H 27 #define SAGA2_MAPFEATR_H 29 #include "saga2/rect.h" 30 #include "saga2/tcoords.h" 37 #define MAX_MAP_FEATURE_NAME_LENGTH 32 50 char _name[MAX_MAP_FEATURE_NAME_LENGTH];
57 void expose(
bool canSee =
true) {
66 return _featureCoords.u;
69 return _featureCoords.v;
72 return _featureCoords;
79 virtual void blit(
gPort &tp, int32 x, int32 y) = 0;
81 virtual void update() = 0;
95 virtual void blit(
gPort &tp, int32 x, int32 y);
96 virtual void update() {}
109 virtual void blit(
gPort &tp, int32 x, int32 y);
110 virtual void update() {}
121 void initMapFeatures() ;
122 void updateMapFeatures(int16 currentWorld);
127 void termMapFeatures() ;
128 char *getMapFeaturesText(
TileRegion viewRegion,
Definition: tcoords.h:127
Definition: tcoords.h:222
Definition: mapfeatr.h:46
Definition: mapfeatr.h:104
Definition: mapfeatr.h:90