d_lyt_msg_window_wood OK, d_lyt_common_a_btn OK

This commit is contained in:
robojumper
2025-04-01 23:08:44 +02:00
parent 17fe773653
commit fc89f2b34a
27 changed files with 819 additions and 175 deletions
+4 -4
View File
@@ -811,7 +811,7 @@ bool AnmGroupBase_c::init(
return true;
}
bool AnmGroupBase_c::setDirection(bool b) {
bool AnmGroupBase_c::bind(bool bDisable) {
nw4r::lyt::AnimTransform *anmTransform = mpAnmTransform;
if (anmTransform == nullptr) {
return false;
@@ -823,7 +823,7 @@ bool AnmGroupBase_c::setDirection(bool b) {
nw4r::lyt::BindAnimation(mpGroup, anmTransform, false, b);
mFlags |= ANMGROUP_FLAG_BOUND;
if (b) {
if (bDisable) {
mFlags = (mFlags & ~ANMGROUP_FLAG_ENABLE);
} else {
mFlags |= ANMGROUP_FLAG_ENABLE;
@@ -855,7 +855,7 @@ bool AnmGroupBase_c::unbind() {
return true;
}
bool AnmGroupBase_c::afterUnbind() {
bool AnmGroupBase_c::remove() {
return true;
}
@@ -905,7 +905,7 @@ bool AnmGroups::init(
void AnmGroups::remove() {
for (int i = 0; i < mNumAnmGroups; i++) {
mpAnmGroups[i].afterUnbind();
mpAnmGroups[i].remove();
}
}