mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
SAGA2: Fix warnings
This commit is contained in:
parent
78d8cf362e
commit
46f062d54a
@ -315,7 +315,7 @@ void termMapFeatures(void) {
|
||||
|
||||
|
||||
|
||||
CMapFeature::CMapFeature(TilePoint where, int16 inWorld, char *desc) {
|
||||
CMapFeature::CMapFeature(TilePoint where, int16 inWorld, const char *desc) {
|
||||
visible = FALSE;
|
||||
featureCoords = where;
|
||||
world = inWorld;
|
||||
@ -398,7 +398,7 @@ bool CMapFeature::hitCheck(TileRegion viewRegion,
|
||||
CStaticMapFeatute class implementation
|
||||
* ===================================================================== */
|
||||
|
||||
CStaticMapFeature::CStaticMapFeature(TilePoint where, int16 inWorld, char *desc, int16 bColor)
|
||||
CStaticMapFeature::CStaticMapFeature(TilePoint where, int16 inWorld, const char *desc, int16 bColor)
|
||||
: CMapFeature(where, inWorld, desc) {
|
||||
color = bColor;
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ class CMapFeature {
|
||||
|
||||
|
||||
public:
|
||||
CMapFeature(TilePoint where, int16 inWorld, char *desc);
|
||||
CMapFeature(TilePoint where, int16 inWorld, const char *desc);
|
||||
virtual ~CMapFeature() {}
|
||||
|
||||
void expose(bool canSee = TRUE) {
|
||||
@ -89,7 +89,7 @@ class CStaticMapFeature : public CMapFeature {
|
||||
int16 color;
|
||||
|
||||
public:
|
||||
CStaticMapFeature(TilePoint where, int16 inWorld, char *desc, int16 bColor);
|
||||
CStaticMapFeature(TilePoint where, int16 inWorld, const char *desc, int16 bColor);
|
||||
virtual void blit(gPort &tp, int32 x, int32 y);
|
||||
virtual void update(void) {}
|
||||
virtual bool isHit(TilePoint disp, TilePoint mouse);
|
||||
|
Loading…
Reference in New Issue
Block a user