Skip to content

Commit

Permalink
ztaskbox: Readd now-matching funcs (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
escape209 authored Aug 3, 2024
1 parent 23978c6 commit 2b7ea7d
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/SB/Game/zTaskBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,32 +156,22 @@ void ztaskbox::initiate()
}
}

#if 0
// Need to figure out how to set up the comparisons.
void ztaskbox::succeed()
{
state_enum state = this->state;
if (state == STATE_BEGIN || state == STATE_DESCRIPTION || state == STATE_REMINDER)
{
set_state(STATE_SUCCESS);
}
}

#endif

#if 0
// Need to figure out how to set up the comparisons. The setup should be identical to the succeed function.
void ztaskbox::fail()
{
state_enum state = this->state;
if (state == STATE_BEGIN || state == STATE_DESCRIPTION || state == STATE_REMINDER)
{
set_state(STATE_FAIL);
set_state(STATE_FAILURE);
}
}

#endif

#if 0
// Why does the compiler add a random compare at the end????
void ztaskbox::complete()
Expand Down Expand Up @@ -238,15 +228,11 @@ void ztaskbox::on_talk_start()

#endif

#if 0
// This one just doesn't feel like working.
void ztaskbox::talk_callback::on_start()
{
this->task->on_talk_start();
}

#endif

void ztaskbox::talk_callback::on_stop()
{
this->task->on_talk_stop(answer);
Expand Down

0 comments on commit 2b7ea7d

Please sign in to comment.