Remove some old debug code

Which also happened to cause compilation failure on FreeBSD + gcc
master
Rogier 2016-06-29 22:29:24 +02:00
parent 9a9b83e638
commit 5629ac22df
2 changed files with 0 additions and 11 deletions

View File

@ -55,16 +55,6 @@ std::string BlockPos::databasePosStrFmt(StrFormat format) const
return os.str();
}
void BlockPosIterator::printState(const char *message, FILE *file)
{
fprintf(file, "[%s] Value: %d,%d,%d; Range: %d,%d,%d .. %d,%d,%d; State: %d\n",
message,
m_value.x(), m_value.y(), m_value.z(),
m_start.x(), m_start.y(), m_start.z(),
m_end.x(), m_end.y(), m_end.z(),
m_state);
}
void BlockPosIterator::breakDim(int i, int step)
{
if (!step) return;

View File

@ -104,7 +104,6 @@ private:
BlockPos m_start;
BlockPos m_end;
State m_state;
void printState(const char *message, FILE *file);
void stepForward(void);
void stepReverse(void);
bool stepDim(int i, int step);