#ifndef __KOOPATLAS_PATH_MANAGER_H #define __KOOPATLAS_PATH_MANAGER_H #include "koopatlas/mapdata.h" extern "C" void *SoundRelatedClass; extern "C" void *MapSoundPlayer(void *SoundClass, int soundID, int unk); extern "C" bool SpawnEffect(const char*, int, Vec*, S16Vec*, Vec*); class dWMPathManager_c { public: void setup(); void execute(); bool canUseExit(dKPPath_s *path) { return (path != 0) && (path->isAvailable); } void startMovementTo(dKPPath_s *path); void moveThroughPath(); void activatePoint(); dKPLayer_s *pathLayer; bool isMoving; dKPNode_s *currentNode; HermiteKey keysX[2]; HermiteKey keysY[3]; float timer; bool isJumping; dKPPath_s *currentPath; bool reverseThroughPath; // direction we are going through the path bool mustComplainToMapCreator; }; #endif