forked from 0ad/0ad
Matei
277ed33da6
- Networking no longer tries to use IPV6, ignoring the family type of CSocketAddr. This address will be replaced when we switch to ENet anyway. - The name of the Atlas semaphore now also includes a timestamp, since the RNG generated the same sequence of names for multiple runs of the game, causing problems if the games crashed and leaked semaphores, and making debugging painful. - get_executable_name now also works if the game is within an app bundle (useful for packaging it more nicely later on, and since wxWidgets expects us to be in an app bundle). This was SVN commit r5407.
19 lines
368 B
C++
19 lines
368 B
C++
#ifndef INCLUDED_TRASTARENGINE
|
|
#define INCLUDED_TRASTARENGINE
|
|
|
|
#include "AStarEngine.h"
|
|
|
|
class CTRAStarEngine :
|
|
public CAStarEngine
|
|
{
|
|
public:
|
|
CTRAStarEngine(void);
|
|
~CTRAStarEngine(void);
|
|
|
|
SeDcdt dcdtPathfinder;;
|
|
|
|
bool FindPath( const CVector2D& src, const CVector2D& dest, HEntity entity, SeDcdt& dcdtPathfinder,float radius=0.0f );
|
|
};
|
|
|
|
|
|
#endif |