Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.cpp: In function ‘Position getNextPosition(Direction, Position)’:
- game.cpp:2335:8: error: ‘DIRECTION_NORTH’ was not declared in this scope
- case DIRECTION_NORTH:
- ^~~~~~~~~~~~~~~
- game.cpp:2339:8: error: ‘DIRECTION_SOUTH’ was not declared in this scope
- case DIRECTION_SOUTH:
- ^~~~~~~~~~~~~~~
- game.cpp:2343:8: error: ‘DIRECTION_WEST’ was not declared in this scope
- case DIRECTION_WEST:
- ^~~~~~~~~~~~~~
- game.cpp:2347:8: error: ‘DIRECTION_EAST’ was not declared in this scope
- case DIRECTION_EAST:
- ^~~~~~~~~~~~~~
- game.cpp:2351:8: error: ‘DIRECTION_SOUTHWEST’ was not declared in this scope
- case DIRECTION_SOUTHWEST:
- ^~~~~~~~~~~~~~~~~~~
- game.cpp:2356:8: error: ‘DIRECTION_NORTHWEST’ was not declared in this scope
- case DIRECTION_NORTHWEST:
- ^~~~~~~~~~~~~~~~~~~
- game.cpp:2361:8: error: ‘DIRECTION_NORTHEAST’ was not declared in this scope
- case DIRECTION_NORTHEAST:
- ^~~~~~~~~~~~~~~~~~~
- game.cpp:2366:8: error: ‘DIRECTION_SOUTHEAST’ was not declared in this scope
- case DIRECTION_SOUTHEAST:
- ^~~~~~~~~~~~~~~~~~~
- game.cpp: In member function ‘void Game::playerNewWalk(uint32_t, uint32_t, Position, std::__cxx11::list<Direction>, bool)’:
- game.cpp:2399:20: error: ‘class Player’ has no member named ‘getPathTo’; did you mean ‘getParty’?
- if(player->getPathTo(pos, dirList, 0, 0, false, true)) {
- ^~~~~~~~~
- 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 ‘->’ ?)
- if(!map.canWalkTo(*player, getNextPosition(listDir.front(), player->getPosition()))) {
- ^~~~~~~~~
- game.cpp:2409:39: error: ‘RETURNVALUE_NOTPOSSIBLE’ was not declared in this scope
- player->sendCancelMessage(RETURNVALUE_NOTPOSSIBLE);
- ^~~~~~~~~~~~~~~~~~~~~~~
- game.cpp:2414:10: error: ‘class Player’ has no member named ‘resetIdleTime’; did you mean ‘setIdleTime’?
- player->resetIdleTime();
- ^~~~~~~~~~~~~
- game.cpp:2415:10: error: ‘class Player’ has no member named ‘setNextWalkTask’; did you mean ‘setNextWalkActionTask’?
- player->setNextWalkTask(nullptr);
- ^~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement