add: basic amxx module api (actual module pending).
This commit is contained in:
parent
fc080e1a4e
commit
f23d031d2c
8 changed files with 160 additions and 2 deletions
|
|
@ -16,6 +16,7 @@
|
|||
using namespace cr;
|
||||
|
||||
#include <product.h>
|
||||
#include <module.h>
|
||||
|
||||
// forwards
|
||||
class Bot;
|
||||
|
|
@ -1062,6 +1063,7 @@ public:
|
|||
void kick ();
|
||||
void resetDoubleJump ();
|
||||
void startDoubleJump (edict_t *ent);
|
||||
void sendBotToOrigin (const Vector &origin);
|
||||
|
||||
bool hasHostage ();
|
||||
bool usesRifle ();
|
||||
|
|
@ -1120,6 +1122,11 @@ public:
|
|||
return m_index + 1;
|
||||
}
|
||||
|
||||
// get the current node index
|
||||
int getCurrentNodeIndex () const {
|
||||
return m_currentNodeIndex;
|
||||
}
|
||||
|
||||
// set the last bot trace result
|
||||
void setLastTraceResult (TraceChannel channel, TraceResult *traceResult) {
|
||||
m_lastTrace[channel] = *traceResult;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue