summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2EventItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2EventItem.cpp')
-rw-r--r--src/T2DLL/T2EventItem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/T2DLL/T2EventItem.cpp b/src/T2DLL/T2EventItem.cpp
index 302752f..bcd6f52 100644
--- a/src/T2DLL/T2EventItem.cpp
+++ b/src/T2DLL/T2EventItem.cpp
@@ -27,7 +27,7 @@ T2EventItem::T2EventItem(T2TowerEvent* inTowerEvent, CResFile* inResFile, int in
*inResFile >> mEndTime;
mOriginalDef = this;
- _4 = 0;
+ mForceStart = false;
}
T2EventItem::T2EventItem(T2TowerEvent* inTowerEvent, int inSubID, int inLevelBit, BOOL inExclusive, int inCycleDay, int inBeginTime, int inEndTime) {
@@ -41,7 +41,7 @@ T2EventItem::T2EventItem(T2TowerEvent* inTowerEvent, int inSubID, int inLevelBit
mStatus = 0;
mOriginalDef = NULL;
- _4 = 0;
+ mForceStart = false;
}
T2EventItem::T2EventItem(T2EventItem* inItem, int inSubID) {
@@ -56,7 +56,7 @@ T2EventItem::T2EventItem(T2EventItem* inItem, int inSubID) {
mStatus = 0;
mOriginalDef = inItem;
- _4 = 0;
+ mForceStart = false;
}
/*virtual*/ T2EventItem::~T2EventItem() {
@@ -134,7 +134,7 @@ T2EventItem* T2EventItem::GetOriginalDef() {
/*virtual*/ unsigned int T2EventItem::DoDialog(T2TowerDoc* inDoc, int inDlgResID, int inAnimResID, int inAnimUnk, const char* inText) {
T2WorldDef *theWorldDef = GetWorldDef();
- inDoc->GetTowerMainView()->tmv_vf154();
+ inDoc->GetMainView()->HideToolSprite();
inDoc->towerDoc_vf290(true);
unsigned int result = 0;
@@ -160,13 +160,13 @@ T2EventItem* T2EventItem::GetOriginalDef() {
}
inDoc->towerDoc_vf290(false);
- inDoc->GetTowerMainView()->tmv_vf150();
+ inDoc->GetMainView()->UnhideToolSprite();
return result;
}
/*virtual*/ void T2EventItem::DoAlert(T2TowerDoc* inDoc, CString& inText, int inSoundID) {
T2WorldDef *theWorldDef = GetWorldDef();
- inDoc->GetTowerMainView()->tmv_vf154();
+ inDoc->GetMainView()->HideToolSprite();
inDoc->towerDoc_vf290(true);
T2EventDialog *theDialog = T2EventDialog::Show(this, inDoc, theWorldDef->mModuleHandle, 8000);
@@ -195,7 +195,7 @@ T2EventItem* T2EventItem::GetOriginalDef() {
}
inDoc->towerDoc_vf294();
- inDoc->GetTowerMainView()->tmv_vf150();
+ inDoc->GetMainView()->UnhideToolSprite();
}
/*virtual*/ void T2EventItem::Write(T2Archive& inArchive) {