mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Update comment
This commit is contained in:
parent
df13b9fcfa
commit
59fa615cc8
3 changed files with 6 additions and 6 deletions
|
|
@ -849,7 +849,7 @@ static INT16 K_FindBotController(mobj_t *mo)
|
||||||
player - The bot player this prediction is for.
|
player - The bot player this prediction is for.
|
||||||
|
|
||||||
Return:-
|
Return:-
|
||||||
N/A
|
None
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
static void K_DrawPredictionDebug(botprediction_t *predict, player_t *player)
|
static void K_DrawPredictionDebug(botprediction_t *predict, player_t *player)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -200,14 +200,14 @@ fixed_t K_BotReducePrediction(player_t *player);
|
||||||
/*--------------------------------------------------
|
/*--------------------------------------------------
|
||||||
void K_NudgePredictionTowardsObjects(botprediction_t *predict, player_t *player);
|
void K_NudgePredictionTowardsObjects(botprediction_t *predict, player_t *player);
|
||||||
|
|
||||||
Generates a sum for objects to steer towards/away from.
|
Moves the bot's prediction, based on objects around the bot.
|
||||||
|
|
||||||
Input Arguments:-
|
Input Arguments:-
|
||||||
|
predict - The bot's prediction to nudge.
|
||||||
player - Player to compare.
|
player - Player to compare.
|
||||||
turn - Turn value before object steering.
|
|
||||||
|
|
||||||
Return:-
|
Return:-
|
||||||
Turn amount sum to add to final product.
|
None
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
|
|
||||||
void K_NudgePredictionTowardsObjects(botprediction_t *predict, player_t *player);
|
void K_NudgePredictionTowardsObjects(botprediction_t *predict, player_t *player);
|
||||||
|
|
|
||||||
|
|
@ -433,7 +433,7 @@ fixed_t K_BotReducePrediction(player_t *player)
|
||||||
weight - How important this object is.
|
weight - How important this object is.
|
||||||
|
|
||||||
Return:-
|
Return:-
|
||||||
N/A
|
None
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
static void K_AddAttackObject(mobj_t *thing, UINT8 side, UINT8 weight)
|
static void K_AddAttackObject(mobj_t *thing, UINT8 side, UINT8 weight)
|
||||||
{
|
{
|
||||||
|
|
@ -465,7 +465,7 @@ static void K_AddAttackObject(mobj_t *thing, UINT8 side, UINT8 weight)
|
||||||
weight - How important this object is.
|
weight - How important this object is.
|
||||||
|
|
||||||
Return:-
|
Return:-
|
||||||
N/A
|
None
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
static void K_AddDodgeObject(mobj_t *thing, UINT8 side, UINT8 weight)
|
static void K_AddDodgeObject(mobj_t *thing, UINT8 side, UINT8 weight)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue