X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Fbot.qh;h=74f7e0fa944e67d3ef270b0709b2db7548993463;hb=90908cc793110f8c34a83aaf0e4d700ac90e87b2;hp=98b2ae3df78fb4d970ffd60528d65339b834f687;hpb=991de5e6922cd3c283de56c3249624f0f1bfe767;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/default/bot.qh b/qcsrc/server/bot/default/bot.qh index 98b2ae3df..74f7e0fa9 100644 --- a/qcsrc/server/bot/default/bot.qh +++ b/qcsrc/server/bot/default/bot.qh @@ -48,6 +48,8 @@ float bot_distance_close; entity bot_list; .entity nextbot; .string cleanname; +// the *_freeme fields exist only to avoid an engine crash +// when trying to strunzone the original fields .string netname_freeme; .string playermodel_freeme; .string playerskin_freeme; @@ -65,6 +67,7 @@ entity bot_list; .bool bot_pickup_respawning; .float bot_canfire; .float bot_strategytime; +.float bot_jump_time; .float bot_forced_team; .float bot_config_loaded; @@ -75,7 +78,6 @@ entity bot_strategytoken; float botframe_spawnedwaypoints; float botframe_nextthink; float botframe_nextdangertime; -float bot_cvar_nextthink; int _content_type; #define IN_LAVA(pos) (_content_type = pointcontents(pos), (_content_type == CONTENT_LAVA || _content_type == CONTENT_SLIME)) @@ -88,14 +90,13 @@ int _content_type; */ entity bot_spawn(); -bool bot_fixcount(); +bool bot_fixcount(bool multiple_per_frame); void bot_think(entity this); void bot_setnameandstuff(entity this); void bot_custom_weapon_priority_setup(); void bot_endgame(); void bot_relinkplayerlist(); -void bot_clear(entity this); void bot_clientdisconnect(entity this); void bot_clientconnect(entity this); void bot_removefromlargestteam();