summaryrefslogtreecommitdiffstats
path: root/pokemod/MapWarp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/MapWarp.cpp')
-rw-r--r--pokemod/MapWarp.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/pokemod/MapWarp.cpp b/pokemod/MapWarp.cpp
index 996dde94..279f7d3f 100644
--- a/pokemod/MapWarp.cpp
+++ b/pokemod/MapWarp.cpp
@@ -112,6 +112,7 @@ QDomElement MapWarp::save() const
void MapWarp::setName(const QString& name)
{
m_name = name;
+ emit(changed());
}
void MapWarp::setCoordinate(const Point& coordinate)
@@ -122,6 +123,7 @@ void MapWarp::setCoordinate(const Point& coordinate)
return;
}
m_coordinate = coordinate;
+ emit(changed());
}
void MapWarp::setFrom(const int direction, const bool can)
@@ -132,6 +134,7 @@ void MapWarp::setFrom(const int direction, const bool can)
return;
}
m_from[direction] = can;
+ emit(changed());
}
void MapWarp::setDirectionOut(const int directionOut)
@@ -142,6 +145,7 @@ void MapWarp::setDirectionOut(const int directionOut)
return;
}
m_directionOut = directionOut;
+ emit(changed());
}
void MapWarp::setType(const int type)
@@ -152,6 +156,7 @@ void MapWarp::setType(const int type)
return;
}
m_type = type;
+ emit(changed());
}
void MapWarp::setIsBiking(const int isBiking)
@@ -162,6 +167,7 @@ void MapWarp::setIsBiking(const int isBiking)
return;
}
m_isBiking = isBiking;
+ emit(changed());
}
void MapWarp::setIsFlash(const int isFlash)
@@ -172,6 +178,7 @@ void MapWarp::setIsFlash(const int isFlash)
return;
}
m_isFlash = isFlash;
+ emit(changed());
}
void MapWarp::setIsFoggy(const int isFoggy)
@@ -182,6 +189,7 @@ void MapWarp::setIsFoggy(const int isFoggy)
return;
}
m_isFoggy = isFoggy;
+ emit(changed());
}
void MapWarp::setToMap(const int toMap)
@@ -193,6 +201,7 @@ void MapWarp::setToMap(const int toMap)
}
m_toMap = toMap;
m_toWarp = INT_MAX;
+ emit(changed());
}
void MapWarp::setToWarp(const int toWarp)
@@ -208,11 +217,13 @@ void MapWarp::setToWarp(const int toWarp)
return;
}
m_toWarp = toWarp;
+ emit(changed());
}
void MapWarp::setWorkingFlag(const Flag& workingFlag)
{
m_workingFlag = workingFlag;
+ emit(changed());
}
void MapWarp::setDialog(const int dialog)
@@ -223,6 +234,7 @@ void MapWarp::setDialog(const int dialog)
return;
}
m_dialog = dialog;
+ emit(changed());
}
QString MapWarp::name() const