Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #218, caused by new libclf versions #221

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/stringizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,9 @@ namespace
+ (com.parameters[2] ? Stringizer::tr("(Wait)") : "");
}

QString stringizeSpriteTransparency(const lcf::rpg::EventCommand& com)
QString stringizePlayerVisibility(const lcf::rpg::EventCommand& com)
{
return Stringizer::tr("Sprite Transparency") + ": "
return Stringizer::tr("Player Visibility") + ": "
+ (com.parameters[0] ? Stringizer::tr("Opaque") : Stringizer::tr("Transparent"));
}

Expand Down Expand Up @@ -956,9 +956,9 @@ namespace
+ (com.parameters[1] ? ", " + Stringizer::tr("Vert Scroll") : "");
}

QString stringizeChangeEncounterRate(const lcf::rpg::EventCommand& com)
QString stringizeChangeEncounterSteps(const lcf::rpg::EventCommand& com)
{
return Stringizer::tr("Change Encounter Rate") + ": " + QString::number(com.parameters[0]);
return Stringizer::tr("Change Encounter Steps") + ": " + QString::number(com.parameters[0]);
}

QString stringizeTileSubstitution(const lcf::rpg::EventCommand& com)
Expand Down Expand Up @@ -1517,7 +1517,7 @@ namespace Stringizer
case C::MovePicture: return stringizeMovePicture(com);
case C::ErasePicture: return stringizeErasePicture(com);
case C::ShowBattleAnimation: return stringizeShowBattleAnimation(com);
case C::SpriteTransparency: return stringizeSpriteTransparency(com);
case C::PlayerVisibility: return stringizePlayerVisibility(com);
case C::FlashSprite: return stringizeFlashSprite(com);
case C::MoveEvent: return stringizeMoveEvent(com);
case C::ProceedWithMovement: return tr("Proceed With Movement");
Expand All @@ -1532,7 +1532,7 @@ namespace Stringizer
case C::KeyInputProc: return stringizeKeyInputProc(com);
case C::ChangeMapTileset: return stringizeChangeMapTileset(com);
case C::ChangePBG: return stringizeChangePBG(com);
case C::ChangeEncounterRate: return stringizeChangeEncounterRate(com);
case C::ChangeEncounterSteps: return stringizeChangeEncounterSteps(com);
case C::TileSubstitution: return stringizeTileSubstitution(com);
case C::TeleportTargets: return stringizeTeleportTargets(com);
case C::ChangeTeleportAccess: return stringizeChangeTeleportAccess(com);
Expand Down
Loading