summaryrefslogtreecommitdiff
path: root/src/T2TowerDoc.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-11 17:52:00 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-11 17:52:00 +0100
commit024306ccab5f6d51f3fce269fb1984fd02f3bb02 (patch)
tree8d359495d72bf4e7295c7eab4cb220edc2d4b60c /src/T2TowerDoc.cpp
parent0f3cba6fcea0ffd511dfe3275d57a5b9e69be5be (diff)
downloadt2win-024306ccab5f6d51f3fce269fb1984fd02f3bb02.tar.gz
t2win-024306ccab5f6d51f3fce269fb1984fd02f3bb02.zip
add Floor, add DefaultToolPalettemain
Diffstat (limited to 'src/T2TowerDoc.cpp')
-rw-r--r--src/T2TowerDoc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/T2TowerDoc.cpp b/src/T2TowerDoc.cpp
index 0bbb0f7..ab16b26 100644
--- a/src/T2TowerDoc.cpp
+++ b/src/T2TowerDoc.cpp
@@ -2529,9 +2529,9 @@ void T2TowerDoc::CalcCraneUpdateRect(RECT &ioRect) {
this,
rect2,
valiation |
- (!m1A0->IsFloor() ? 0x10000 : 0) |
- ((inMode == 1) ? 0x1000 : 0) |
- ((inMode == 2) ? 0x100 : 0),
+ (!m1A0->IsFloor() ? kAreaCheckFlag10000 : 0) |
+ ((inMode == 1) ? kAreaCheckFlag1000 : 0) |
+ ((inMode == 2) ? kAreaCheckFlag100 : 0),
inShowError
) == AreaCheckCode_1;
}
@@ -4191,7 +4191,7 @@ void T2TowerDoc::OnUpdateHideToolWindow(CCmdUI *pCmdUI) {
return NULL;
}
-/*virtual*/ void T2TowerDoc::toolCallback_vf00(int unkParam1, T2ToolIconItem *inItem) {
+/*virtual*/ void T2TowerDoc::toolCallback_vf00(T2ToolWindow *inToolWindow, T2ToolIconItem *inItem) {
if (inItem->mName == "ToolRoot") {
if (inItem->m24)
towerDoc_vf194();