Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2019, 11:30:41 PM (5 years ago)
Author:
peterf
Message:

PacmanPink implementation, but lots of SIGSEGV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS19/src/modules/pacman/PacmanGhost.h

    r12318 r12319  
    9999    public: //HACK
    100100
    101     struct graphVertex;
    102     void findNeighboorVertices(Vector3 actuelposition, graphVertex* adjacentVertices[]);
    103     void updateShortestDistanceToStart(graphVertex &vertex, graphVertex &neighboor);
    104     void findNearestNonVisitedNeighboor (graphVertex &vertex);
    105     int graphDistance(Vector3 start, Vector3 goal);
     101    */
    106102
    107     graphVertex* findNextVertexToConsider(graphVertex listOfVerticesP[]);*/
    108 
    109     struct graphVertex;
     103    /*struct graphVertex;
    110104    void findNeighboorVertices(Vector3 actuelposition, graphVertex* adjacentVertices[], graphVertex listOfVerticesP2[]);
    111105    void updateShortestDistanceToStart(graphVertex &vertex, graphVertex &neighboor);
     
    114108
    115109    graphVertex* findNextVertexToConsider(graphVertex listOfVerticesP[]);
    116     Vector3 getShortestPath(Vector3 start, Vector3 goal);
     110    Vector3 getShortestPath(Vector3 start, Vector3 goal);*/
     111
     112    struct graphVertex;
     113    void findNeighboorVertices(Vector3 actuelposition, graphVertex* adjacentVertices[], graphVertex listOfVerticesP2[]);
     114    void updateShortestDistanceToStart(graphVertex &vertex, graphVertex &neighboor);
     115    void findNearestNonVisitedNeighboor (graphVertex &vertex, Vector3 pointToAvoidP3=Vector3(0,0,0));
     116    int graphDistance(Vector3 start, Vector3 goal);
     117
     118    graphVertex* findNextVertexToConsider(graphVertex listOfVerticesP[], Vector3 pointToAvoidP2=Vector3(0,0,0));
     119    Vector3 getShortestPath(Vector3 start, Vector3 goal, Vector3 pointToAvoidP1=Vector3(0,0,0));
     120
    117121
    118122
     
    126130    bool playerFindPos(Vector3 one, Vector3 other);
    127131
     132    bool jeanfindpos(Vector3 one, Vector3 other);
     133
     134    void setNewTargetGhost(Vector3 goalToGo);
     135
    128136
    129137    };
Note: See TracChangeset for help on using the changeset viewer.