Initial MSVC 2008 projects workspace

This commit is contained in:
alexey.min
2012-02-01 05:25:08 +00:00
commit 03de3bdc95
1446 changed files with 476853 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
#pragma once
#include "UserAI_QuickTargetSetup.h"
class UserAI_QuickTargetManager
{
public:
struct PLAYER_PRI_INFO
{
L2Player *player_ptr;
double distance;
int class_pri;
int total_pri;
};
typedef std::list<UserAI_QuickTargetManager::PLAYER_PRI_INFO> PlayerPriorityList;
public:
UserAI_QuickTargetManager();
~UserAI_QuickTargetManager();
void clear();
public:
void refrestCurrentTargetsList( const UserAI_QuickTargetSetup *cfg );
const PlayerPriorityList& getListAll() const;
const PlayerPriorityList& getListEnemy() const;
protected:
void createInitialList( const UserAI_QuickTargetSetup *cfg );
//void createTargetListByDistance( const UserAI_QuickTargetSetup *cfg );
//void createTargetListByPriority( const UserAI_QuickTargetSetup *cfg );
void createTargetListUseBoth( const UserAI_QuickTargetSetup *cfg );
protected:
PlayerPriorityList m_list_all;
PlayerPriorityList m_list_enemy;
};