Added helper 'iterate_camp' to go through all camp spots on map.

This commit is contained in:
jeefo 2019-08-30 10:52:31 +03:00
commit 386a251cab
2 changed files with 65 additions and 0 deletions

View file

@ -47,6 +47,7 @@ private:
StringArray m_args;
Array <BotCmd> m_cmds;
Array <BotMenu> m_menus;
IntArray m_campPoints;
edict_t *m_ent;
Bot *m_djump;
@ -54,6 +55,8 @@ private:
bool m_isFromConsole;
bool m_rapidOutput;
bool m_isMenuFillCommand;
int m_campPointsIndex;
int m_menuServerFillTeam;
int m_interMenuData[4] = { 0, };
@ -95,6 +98,7 @@ private:
int cmdNodeAcquireEditor ();
int cmdNodeReleaseEditor ();
int cmdNodeUpload ();
int cmdNodeIterateCamp ();
private:
int menuMain (int item);