daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. game.cpp: In function ‘Position getNextPosition(Direction, Position)’:
  3. game.cpp:2335:8: error: ‘DIRECTION_NORTH’ was not declared in this scope
  4.    case DIRECTION_NORTH:
  5.         ^~~~~~~~~~~~~~~
  6. game.cpp:2339:8: error: ‘DIRECTION_SOUTH’ was not declared in this scope
  7.    case DIRECTION_SOUTH:
  8.         ^~~~~~~~~~~~~~~
  9. game.cpp:2343:8: error: ‘DIRECTION_WEST’ was not declared in this scope
  10.    case DIRECTION_WEST:
  11.         ^~~~~~~~~~~~~~
  12. game.cpp:2347:8: error: ‘DIRECTION_EAST’ was not declared in this scope
  13.    case DIRECTION_EAST:
  14.         ^~~~~~~~~~~~~~
  15. game.cpp:2351:8: error: ‘DIRECTION_SOUTHWEST’ was not declared in this scope
  16.    case DIRECTION_SOUTHWEST:
  17.         ^~~~~~~~~~~~~~~~~~~
  18. game.cpp:2356:8: error: ‘DIRECTION_NORTHWEST’ was not declared in this scope
  19.    case DIRECTION_NORTHWEST:
  20.         ^~~~~~~~~~~~~~~~~~~
  21. game.cpp:2361:8: error: ‘DIRECTION_NORTHEAST’ was not declared in this scope
  22.    case DIRECTION_NORTHEAST:
  23.         ^~~~~~~~~~~~~~~~~~~
  24. game.cpp:2366:8: error: ‘DIRECTION_SOUTHEAST’ was not declared in this scope
  25.    case DIRECTION_SOUTHEAST:
  26.         ^~~~~~~~~~~~~~~~~~~
  27. game.cpp: In member function ‘void Game::playerNewWalk(uint32_t, uint32_t, Position, std::__cxx11::list<Direction>, bool)’:
  28. game.cpp:2399:20: error: ‘class Player’ has no member named ‘getPathTo’; did you mean ‘getParty’?
  29.          if(player->getPathTo(pos, dirList, 0, 0, false, true)) {
  30.                     ^~~~~~~~~
  31. game.cpp:2408:17: error: request for member ‘canWalkTo’ in ‘((Game*)this)->Game::map’, which is of pointer type ‘Map*’ (maybe you meant to use ‘->’ ?)
  32.          if(!map.canWalkTo(*player, getNextPosition(listDir.front(), player->getPosition()))) {
  33.                  ^~~~~~~~~
  34. game.cpp:2409:39: error: ‘RETURNVALUE_NOTPOSSIBLE’ was not declared in this scope
  35.              player->sendCancelMessage(RETURNVALUE_NOTPOSSIBLE);
  36.                                        ^~~~~~~~~~~~~~~~~~~~~~~
  37. game.cpp:2414:10: error: ‘class Player’ has no member named ‘resetIdleTime’; did you mean ‘setIdleTime’?
  38.   player->resetIdleTime();
  39.           ^~~~~~~~~~~~~
  40. game.cpp:2415:10: error: ‘class Player’ has no member named ‘setNextWalkTask’; did you mean ‘setNextWalkActionTask’?
  41.   player->setNextWalkTask(nullptr);
  42.           ^~~~~~~~~~~~~~~
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top