no message
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@770 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -254,7 +254,9 @@ public:
|
||||
return Entry;
|
||||
}
|
||||
|
||||
node_s *GetFirst(void) { return pNodeList; };
|
||||
node_s *GetFirst(void) {
|
||||
return pNodeList;
|
||||
};
|
||||
node_s *GetLast(void) { return pLastNode; };
|
||||
|
||||
void EditEntry(C OrigEntry, C NewVal)
|
||||
@@ -287,7 +289,8 @@ public:
|
||||
DeleteAllNodes();
|
||||
};
|
||||
|
||||
private:
|
||||
//fixmebot
|
||||
//private:
|
||||
node_s *pNodeList;
|
||||
node_s *pLastNode;
|
||||
int iNodeCount;
|
||||
|
||||
@@ -79,6 +79,9 @@ void CWaypointClass::Clear()
|
||||
}
|
||||
}
|
||||
|
||||
//fixme
|
||||
TLinkedList<node_s *>::node_s *testx;
|
||||
|
||||
// returns true if waypoints succesfull loaded
|
||||
bool CWaypointClass::LoadWaypoints()
|
||||
{
|
||||
@@ -272,6 +275,9 @@ bool CWaypointClass::LoadWaypoints()
|
||||
ReCalcCosts();
|
||||
|
||||
conoutf("Waypoints for map %s loaded", (m_szMapName));
|
||||
|
||||
testx = m_Waypoints[1][1].pNodeList;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ void CBotManager::Init()
|
||||
CreateSkillData();
|
||||
LoadBotNamesFile();
|
||||
LoadBotTeamsFile();
|
||||
WaypointClass.Init();
|
||||
//WaypointClass.Init();
|
||||
lsrand(time(NULL));
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,8 @@ void equipitem(playerent *d, int i, int &v, int t)
|
||||
ents[i].spawned = false;
|
||||
v += is.add;
|
||||
if(v>is.max) v = is.max;
|
||||
playsound(is.sound, &d->o);
|
||||
if(d==player1) playsoundc(is.sound);
|
||||
else playsound(is.sound, &d->o);
|
||||
};
|
||||
|
||||
void realpickup(int n, playerent *d)
|
||||
|
||||
@@ -305,4 +305,3 @@ extern bool intersect(entity *e, vec &from, vec &to, vec *end=NULL);
|
||||
|
||||
// rndmap
|
||||
extern void perlinarea(block &b, int scale, int seed, int psize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user