Skip to content

Commit

Permalink
rename CS_BEGIN_CUTSCENE and CS_END (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
mracsys authored Dec 1, 2024
1 parent c31c5e9 commit c04562d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZAPD/ZCutscene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ std::string ZCutscene::GetBodySourceCode() const
{
std::string output = "";

output += StringHelper::Sprintf(" CS_BEGIN_CUTSCENE(%i, %i),\n", numCommands, endFrame);
output += StringHelper::Sprintf(" CS_HEADER(%i, %i),\n", numCommands, endFrame);

for (size_t i = 0; i < commands.size(); i++)
{
CutsceneCommand* cmd = commands[i];
output += " " + cmd->GenerateSourceCode();
}

output += StringHelper::Sprintf(" CS_END(),");
output += StringHelper::Sprintf(" CS_END_OF_SCRIPT(),");

return output;
}
Expand Down

0 comments on commit c04562d

Please sign in to comment.