|
Data Structures |
| struct | bot_avoidspot_s |
| struct | bot_initmove_s |
| struct | bot_moveresult_s |
Defines |
| #define | MOVE_WALK 1 |
| #define | MOVE_CROUCH 2 |
| #define | MOVE_JUMP 4 |
| #define | MOVE_GRAPPLE 8 |
| #define | MOVE_ROCKETJUMP 16 |
| #define | MOVE_BFGJUMP 32 |
| #define | MFL_BARRIERJUMP 1 |
| #define | MFL_ONGROUND 2 |
| #define | MFL_SWIMMING 4 |
| #define | MFL_AGAINSTLADDER 8 |
| #define | MFL_WATERJUMP 16 |
| #define | MFL_TELEPORTED 32 |
| #define | MFL_GRAPPLEPULL 64 |
| #define | MFL_ACTIVEGRAPPLE 128 |
| #define | MFL_GRAPPLERESET 256 |
| #define | MFL_WALK 512 |
| #define | MOVERESULT_MOVEMENTVIEW 1 |
| #define | MOVERESULT_SWIMVIEW 2 |
| #define | MOVERESULT_WAITING 4 |
| #define | MOVERESULT_MOVEMENTVIEWSET 8 |
| #define | MOVERESULT_MOVEMENTWEAPON 16 |
| #define | MOVERESULT_ONTOPOFOBSTACLE 32 |
| #define | MOVERESULT_ONTOPOF_FUNCBOB 64 |
| #define | MOVERESULT_ONTOPOF_ELEVATOR 128 |
| #define | MOVERESULT_BLOCKEDBYAVOIDSPOT 256 |
| #define | MAX_AVOIDREACH 1 |
| #define | MAX_AVOIDSPOTS 32 |
| #define | AVOID_CLEAR 0 |
| #define | AVOID_ALWAYS 1 |
| #define | AVOID_DONTBLOCK 2 |
| #define | RESULTTYPE_ELEVATORUP 1 |
| #define | RESULTTYPE_WAITFORFUNCBOBBING 2 |
| #define | RESULTTYPE_BADGRAPPLEPATH 4 |
| #define | RESULTTYPE_INSOLIDAREA 8 |
Typedefs |
| typedef bot_initmove_s | bot_initmove_t |
| typedef bot_moveresult_s | bot_moveresult_t |
| typedef bot_avoidspot_s | bot_avoidspot_t |
Functions |
| void | BotResetMoveState (int movestate) |
| void | BotMoveToGoal (bot_moveresult_t *result, int movestate, bot_goal_t *goal, int travelflags) |
| int | BotMoveInDirection (int movestate, vec3_t dir, float speed, int type) |
| void | BotResetAvoidReach (int movestate) |
| void | BotResetLastAvoidReach (int movestate) |
| int | BotReachabilityArea (vec3_t origin, int client) |
| int | BotMovementViewTarget (int movestate, bot_goal_t *goal, int travelflags, float lookahead, vec3_t target) |
| int | BotPredictVisiblePosition (vec3_t origin, int areanum, bot_goal_t *goal, int travelflags, vec3_t target) |
| int | BotAllocMoveState (void) |
| void | BotFreeMoveState (int handle) |
| void | BotInitMoveState (int handle, bot_initmove_t *initmove) |
| void | BotAddAvoidSpot (int movestate, vec3_t origin, float radius, int type) |
| void | BotSetBrushModelTypes (void) |
| int | BotSetupMoveAI (void) |
| void | BotShutdownMoveAI (void) |