removed debugging information
This commit is contained in:
parent
f7ce913917
commit
2e46c9e866
3 changed files with 8 additions and 26 deletions
|
|
@ -1216,9 +1216,8 @@ public:
|
||||||
void DeleteSearchNodes (void);
|
void DeleteSearchNodes (void);
|
||||||
|
|
||||||
void RemoveCertainTask (TaskId_t id);
|
void RemoveCertainTask (TaskId_t id);
|
||||||
void StartTask_ (int, const char *f, TaskId_t id, float desire, int data, float time, bool canContinue);
|
void StartTask (TaskId_t id, float desire, int data, float time, bool canContinue);
|
||||||
|
|
||||||
#define StartTask(i,d,a,t,c) StartTask_(__LINE__, __FUNCTION__,i,d,a,t,c)
|
|
||||||
void ResetTasks (void);
|
void ResetTasks (void);
|
||||||
TaskItem *GetTask (void);
|
TaskItem *GetTask (void);
|
||||||
inline TaskId_t GetTaskId (void) { return GetTask ()->id; };
|
inline TaskId_t GetTaskId (void) { return GetTask ()->id; };
|
||||||
|
|
|
||||||
|
|
@ -12,24 +12,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|x86 = Debug|x86
|
||||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
Release|x86 = Release|x86
|
||||||
Debug|Win32 = Debug|Win32
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
Release|Mixed Platforms = Release|Mixed Platforms
|
|
||||||
Release|Win32 = Release|Win32
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Any CPU.ActiveCfg = Debug|Win32
|
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|x86.ActiveCfg = Debug|Win32
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
|
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|x86.Build.0 = Debug|Win32
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Mixed Platforms.Build.0 = Debug|Win32
|
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|x86.ActiveCfg = Debug|Win32
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Win32.ActiveCfg = Debug|Win32
|
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|x86.Build.0 = Debug|Win32
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Any CPU.ActiveCfg = Release|Win32
|
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Mixed Platforms.ActiveCfg = Release|Win32
|
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Mixed Platforms.Build.0 = Release|Win32
|
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{C232645A-3B99-48F4-A1F3-F20CF0A9568B}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|
|
||||||
|
|
@ -2130,15 +2130,8 @@ void Bot::ResetTasks (void)
|
||||||
m_tasks.RemoveAll ();
|
m_tasks.RemoveAll ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bot::StartTask_ (int l, const char *f, TaskId_t id, float desire, int data, float time, bool resume)
|
void Bot::StartTask (TaskId_t id, float desire, int data, float time, bool resume)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (id == TASK_MOVETOPOSITION && m_team == TEAM_CF)
|
|
||||||
{
|
|
||||||
ServerPrint("%s pushed mtp(des:%.2f,dat:%d,tm:%.2f,res:%s) on %s:%d", STRING(pev->netname), desire, data, time, (resume?"t":"f"), f, l);
|
|
||||||
// __asm int 3
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!m_tasks.IsEmpty ())
|
if (!m_tasks.IsEmpty ())
|
||||||
{
|
{
|
||||||
TaskItem &item = m_tasks.Last ();
|
TaskItem &item = m_tasks.Last ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue