#include <singleplayerbattle.h>
Inherits IBattle.

Public Types | |
| typedef std::map< wxString, User > | UserVec |
| typedef UserVec::const_iterator | UserVecCIter |
| typedef UserVec::iterator | UserVecIter |
| typedef std::map< int, TeamInfoContainer > | TeamVec |
| replay&savegame parsing stuff | |
| typedef TeamVec::const_iterator | TeamVecCIter |
| typedef TeamVec::iterator | TeamVecIter |
| typedef std::map< int, AllyInfoContainer > | AllyVec |
| typedef AllyVec::const_iterator | AllyVecCIter |
| typedef AllyVec::iterator | AllyVecIter |
| typedef std::map< wxString, User * > | user_map_t |
| mapping from nick to user object | |
| typedef user_map_t::iterator | user_iter_t |
| iterator for user map | |
| typedef user_map_t::const_iterator | user_const_iter_t |
Constants | |
| enum | HostInfo { HI_None = 0, HI_Map = 1, HI_Locked = 2, HI_Spectators = 4, HI_StartResources = 8, HI_MaxUnits = 16, HI_StartType = 32, HI_GameType = 64, HI_Options = 128, HI_StartRects = 256, HI_Restrictions = 512, HI_Map_Changed = 1024, HI_Mod_Changed = 2048, HI_User_Positions = 4096, HI_Send_All_opts = 8192 } |
Enums | |
| enum | BalanceType { balance_divide, balance_random } |
| enum | StartType { ST_Fixed = 0, ST_Random = 1, ST_Choose = 2, ST_Pick = 3 } |
| enum | GameType { GT_ComContinue = 0, GT_ComEnds = 1, GT_Lineage = 2 } |
Public Member Functions | |
| SinglePlayerBattle (MainSinglePlayerTab &msptab) | |
| virtual | ~SinglePlayerBattle () |
| bool | IsFounderMe () const |
| User & | GetMe () |
| const User & | GetMe () const |
| void | SendHostInfo (HostInfo update) |
| void | SendHostInfo (const wxString &) |
| void | Update (const wxString &Tag) |
| void | StartSpring () |
| virtual void | SetHostMap (const wxString &mapname, const wxString &hash) |
| virtual void | SetLocalMap (const UnitSyncMap &map) |
| virtual const UnitSyncMap & | LoadMap () |
| virtual wxString | GetHostMapName () const |
| virtual wxString | GetHostMapHash () const |
| virtual void | SetProxy (const wxString &proxyhost) |
| virtual wxString | GetProxy () const |
| virtual bool | IsProxy () const |
| virtual bool | IsSynced () |
| virtual bool | IsFounder (const User &user) const |
| virtual int | GetMyPlayerNum () const |
| virtual int | GetPlayerNum (const User &user) const |
| virtual void | SetHostMod (const wxString &modname, const wxString &hash) |
| virtual void | SetLocalMod (const UnitSyncMod &mod) |
| virtual const UnitSyncMod & | LoadMod () |
| virtual wxString | GetHostModName () const |
| virtual wxString | GetHostModHash () const |
| virtual bool | MapExists () const |
| virtual bool | ModExists () const |
| virtual BattleStartRect | GetStartRect (unsigned int allyno) const |
| User & | OnUserAdded (User &user) |
| void | OnUserBattleStatusUpdated (User &user, UserBattleStatus status) |
| void | OnUserRemoved (User &user) |
| bool | IsEveryoneReady () const |
| void | ForceSide (User &user, int side) |
| void | ForceAlly (User &user, int ally) |
| void | ForceTeam (User &user, int team) |
| void | ForceColour (User &user, const wxColour &col) |
| void | ForceSpectator (User &user, bool spectator) |
| void | SetHandicap (User &user, int handicap) |
| void | KickPlayer (User &user) |
| virtual void | AddStartRect (unsigned int allyno, unsigned int left, unsigned int top, unsigned int right, unsigned int bottom) |
| virtual void | RemoveStartRect (unsigned int allyno) |
| virtual void | ResizeStartRect (unsigned int allyno) |
| virtual void | StartRectRemoved (unsigned int allyno) |
| virtual void | StartRectResized (unsigned int allyno) |
| virtual void | StartRectAdded (unsigned int allyno) |
| virtual void | ClearStartRects () |
| virtual unsigned int | GetNumRects () const |
| virtual unsigned int | GetLastRectIdx () const |
| virtual unsigned int | GetNextFreeRectIdx () const |
| virtual int | GetFreeTeam (bool excludeme=false) const |
| virtual unsigned int | GetNumBots () const |
| virtual User & | OnBotAdded (const wxString &nick, const UserBattleStatus &bs) |
| virtual UserPosition | GetFreePosition () |
| virtual int | GetFreeAlly (bool excludeme=false) const |
| virtual void | RestrictUnit (const wxString &unitname, int count=0) |
| virtual void | UnrestrictUnit (const wxString &unitname) |
| virtual void | UnrestrictAllUnits () |
| virtual std::map< wxString, int > | RestrictedUnits () const |
| virtual void | OnUnitsyncReloaded (GlobalEvents::GlobalEventData) |
| virtual OptionsWrapper & | CustomBattleOptions () |
| virtual const OptionsWrapper & | CustomBattleOptions () const |
| virtual bool | LoadOptionsPreset (const wxString &name) |
| virtual void | SaveOptionsPreset (const wxString &name) |
| virtual wxString | GetCurrentPreset () |
| virtual void | DeletePreset (const wxString &name) |
| virtual wxArrayString | GetPresetList () |
| virtual std::vector< wxColour > & | GetFixColoursPalette (int numteams) const |
| virtual int | GetClosestFixColour (const wxColour &col, const std::vector< int > &excludes, int difference) const |
| virtual wxColour | GetFixColour (int i) const |
| virtual wxColour | GetFreeColour (User &for_whom) const |
| wxColour | GetFreeColour (User *for_whom=NULL) const |
| wxColour | GetNewColour () const |
| int | ColourDifference (const wxColour &a, const wxColour &b) const |
| User & | GetFounder () const |
| bool | IsFull () const |
| virtual unsigned int | GetNumPlayers () const |
| virtual unsigned int | GetNumActivePlayers () const |
| virtual unsigned int | GetNumReadyPlayers () const |
| virtual unsigned int | GetNumSyncedPlayers () const |
| virtual unsigned int | GetNumOkPlayers () const |
| virtual int | GetBattleId () const |
| virtual bool | GetGUIListActiv () const |
| virtual void | SetGUIListActiv (bool Activ) |
| virtual void | SetInGame (bool ingame) |
| virtual bool | GetInGame () const |
| virtual void | SetBattleType (BattleType type) |
| virtual BattleType | GetBattleType () |
| virtual void | SetIsLocked (const bool islocked) |
| virtual bool | IsLocked () const |
| virtual void | SetIsPassworded (const bool ispassworded) |
| virtual bool | IsPassworded () const |
| virtual void | SetNatType (const NatType nattype) |
| virtual NatType | GetNatType () const |
| virtual void | SetHostPort (unsigned int port) |
| virtual void | SetMyExternalUdpSourcePort (unsigned int port) |
| virtual unsigned int | GetMyExternalUdpSourcePort () |
| virtual void | SetMyInternalUdpSourcePort (unsigned int port) |
| virtual unsigned int | GetMyInternalUdpSourcePort () |
| virtual int | GetHostPort () const |
| virtual void | SetFounder (const wxString &nick) |
| virtual void | SetHostIp (const wxString &ip) |
| virtual wxString | GetHostIp () const |
| virtual void | SetMaxPlayers (const int &maxplayers) |
| virtual unsigned int | GetMaxPlayers () const |
| virtual void | SetSpectators (const int &spectators) |
| virtual int | GetSpectators () const |
| virtual void | SetRankNeeded (const int &rankneeded) |
| virtual int | GetRankNeeded () const |
| virtual void | SetDescription (const wxString &desc) |
| virtual wxString | GetDescription () const |
| void | SetBattleOptions (const BattleOptions &options) |
| virtual void | OnSelfLeftBattle () |
| TeamVec | GetParsedTeamsVec () |
| AllyVec | GetParsedAlliesVec () |
| void | SetParsedTeamsVec (const TeamVec &t) |
| void | SetParsedAlliesVec (const AllyVec &a) |
| const BattleOptions & | GetBattleOptions () const |
| bool | Equals (const IBattle &other) const |
| virtual void | DisableHostStatusInProxyMode (bool value) |
| virtual void | UserPositionChanged (const User &usr) |
| virtual void | SetScript (const wxString &script) |
| virtual void | AppendScriptLine (const wxString &line) |
| virtual void | ClearScript () |
| virtual wxString | GetScript () const |
| virtual void | SetPlayBackFilePath (const wxString &path) |
| virtual wxString | GetPlayBackFilePath () const |
| virtual void | AddUserFromDemo (User &user) |
| virtual void | GetBattleFromScript (bool loadmapmod) |
| (koshi) don't delete commented things please, they might be need in the future and i'm lazy | |
| virtual bool | ShouldAutoStart () const |
| virtual std::map< int, int > | GetAllySizes () |
| virtual std::map< int, int > | GetTeamSizes () |
| virtual long | GetBattleRunningTime () const |
| void | AddUser (User &user) |
| void | RemoveUser (wxString const &nick) |
| User & | GetUser (wxString const &nick) const |
| User & | GetUser (user_map_t::size_type index) const |
| bool | UserExists (wxString const &nick) const |
| user_map_t::size_type | GetNumUsers () const |
| void | Nullify () |
Data Fields | |
| std::map< wxString, wxString > | m_script_tags |
Protected Types | |
| typedef UnitsyncReloadedSink < IBattle, GlobalEvents::GlobalEventData > | BaseType |
| typedef EventReceiverFunc < UnitsyncReloadedSink, GlobalEvents::GlobalEventData,&UnitsyncReloadedSink::OnUnitsyncReloaded > | EventReceiverFunction |
Protected Member Functions | |
| void | RemoveUnfittingBots () |
| void | LoadScriptMMOpts (const wxString §ionname, const SL::PDataList &node) |
| void | LoadScriptMMOpts (const SL::PDataList &node) |
| void | PlayerLeftTeam (int team) |
| void | PlayerLeftAlly (int ally) |
| void | PlayerJoinedTeam (int team) |
| void | PlayerJoinedAlly (int ally) |
| IBattle & | asImp () |
| const IBattle & | asImp () const |
Protected Attributes | |
| MainSinglePlayerTab & | m_sptab |
| User | m_me |
| bool | m_map_loaded |
| bool | m_mod_loaded |
| bool | m_map_exists |
| bool | m_mod_exists |
| UnitSyncMap | m_local_map |
| UnitSyncMod | m_local_mod |
| UnitSyncMap | m_host_map |
| UnitSyncMod | m_host_mod |
| wxString | m_previous_local_mod_name |
| std::map< wxString, int > | m_restricted_units |
| OptionsWrapper | m_opt_wrap |
| BattleOptions | m_opts |
| bool | m_ingame |
| bool | m_auto_unspec |
| bool | m_generating_script |
| std::map< unsigned int, BattleStartRect > | m_rects |
| std::map< wxString, time_t > | m_ready_up_map |
| unsigned int | m_players_ready |
| unsigned int | m_players_sync |
| unsigned int | m_players_ok |
| std::map< int, int > | m_teams_sizes |
| std::map< int, int > | m_ally_sizes |
| wxString | m_preset |
| bool | m_is_self_in |
| UserVec | m_internal_bot_list |
| wxString | m_script |
| replay&savegame stuff | |
| wxString | m_playback_file_path |
| TeamVec | m_parsed_teams |
| AllyVec | m_parsed_allies |
| UserVec | m_internal_user_list |
| wxTimer * | m_timer |
| to store users from savegame/replay | |
| long | m_start_time |
| EventReceiverFunction | OnUsync_reload |
Definition at line 14 of file singleplayerbattle.h.
typedef std::map<int, AllyInfoContainer> IBattle::AllyVec [inherited] |
typedef AllyVec::const_iterator IBattle::AllyVecCIter [inherited] |
typedef AllyVec::iterator IBattle::AllyVecIter [inherited] |
typedef UnitsyncReloadedSink<IBattle ,GlobalEvents::GlobalEventData > UnitsyncReloadedSink< IBattle , GlobalEvents::GlobalEventData >::BaseType [protected, inherited] |
typedef EventReceiverFunc<UnitsyncReloadedSink, GlobalEvents::GlobalEventData , &UnitsyncReloadedSink::OnUnitsyncReloaded> UnitsyncReloadedSink< IBattle , GlobalEvents::GlobalEventData >::EventReceiverFunction [protected, inherited] |
typedef std::map<int, TeamInfoContainer> IBattle::TeamVec [inherited] |
typedef TeamVec::const_iterator IBattle::TeamVecCIter [inherited] |
typedef TeamVec::iterator IBattle::TeamVecIter [inherited] |
typedef user_map_t::const_iterator UserList::user_const_iter_t [inherited] |
Definition at line 16 of file userlist.h.
typedef user_map_t::iterator UserList::user_iter_t [inherited] |
iterator for user map
Definition at line 15 of file userlist.h.
typedef std::map<wxString, User*> UserList::user_map_t [inherited] |
mapping from nick to user object
Definition at line 13 of file userlist.h.
typedef std::map<wxString, User> IBattle::UserVec [inherited] |
typedef UserVec::const_iterator IBattle::UserVecCIter [inherited] |
typedef UserVec::iterator IBattle::UserVecIter [inherited] |
enum IBattle::BalanceType [inherited] |
enum IBattle::GameType [inherited] |
enum IBattle::HostInfo [inherited] |
enum IBattle::StartType [inherited] |
| SinglePlayerBattle::SinglePlayerBattle | ( | MainSinglePlayerTab & | msptab | ) |
Definition at line 15 of file singleplayerbattle.cpp.
| SinglePlayerBattle::~SinglePlayerBattle | ( | ) | [virtual] |
Definition at line 26 of file singleplayerbattle.cpp.
| void IBattle::AddStartRect | ( | unsigned int | allyno, | |
| unsigned int | left, | |||
| unsigned int | top, | |||
| unsigned int | right, | |||
| unsigned int | bottom | |||
| ) | [virtual, inherited] |
Definition at line 388 of file ibattle.cpp.
| void UserList::AddUser | ( | User & | user | ) | [inherited] |
Reimplemented in Channel.
Definition at line 16 of file userlist.cpp.
| void IBattle::AddUserFromDemo | ( | User & | user | ) | [virtual, inherited] |
Definition at line 1056 of file ibattle.cpp.
| virtual void IBattle::AppendScriptLine | ( | const wxString & | line | ) | [inline, virtual, inherited] |
Definition at line 10 of file crtpbase.h.
Definition at line 9 of file crtpbase.h.
| virtual void IBattle::ClearScript | ( | ) | [inline, virtual, inherited] |
| void IBattle::ClearStartRects | ( | ) | [virtual, inherited] |
Definition at line 505 of file ibattle.cpp.
| int IBattle::ColourDifference | ( | const wxColour & | a, | |
| const wxColour & | b | |||
| ) | const [inherited] |
Definition at line 151 of file ibattle.cpp.
| virtual const OptionsWrapper& IBattle::CustomBattleOptions | ( | ) | const [inline, virtual, inherited] |
| virtual OptionsWrapper& IBattle::CustomBattleOptions | ( | ) | [inline, virtual, inherited] |
| void IBattle::DeletePreset | ( | const wxString & | name | ) | [virtual, inherited] |
Definition at line 1039 of file ibattle.cpp.
| virtual void IBattle::DisableHostStatusInProxyMode | ( | bool | value | ) | [inline, virtual, inherited] |
| bool IBattle::Equals | ( | const IBattle & | other | ) | const [inline, inherited] |
| void IBattle::ForceAlly | ( | User & | user, | |
| int | ally | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 532 of file ibattle.cpp.
| void IBattle::ForceColour | ( | User & | user, | |
| const wxColour & | col | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 548 of file ibattle.cpp.
| void IBattle::ForceSide | ( | User & | user, | |
| int | side | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 510 of file ibattle.cpp.
| void IBattle::ForceSpectator | ( | User & | user, | |
| bool | spectator | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 597 of file ibattle.cpp.
| void IBattle::ForceTeam | ( | User & | user, | |
| int | team | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 518 of file ibattle.cpp.
| virtual std::map<int, int> IBattle::GetAllySizes | ( | ) | [inline, virtual, inherited] |
| void IBattle::GetBattleFromScript | ( | bool | loadmapmod | ) | [virtual, inherited] |
(koshi) don't delete commented things please, they might be need in the future and i'm lazy
(koshi) changed this from ServerRankContainer to RankContainer
Definition at line 1127 of file ibattle.cpp.
| virtual int IBattle::GetBattleId | ( | ) | const [inline, virtual, inherited] |
| const BattleOptions& IBattle::GetBattleOptions | ( | ) | const [inline, inherited] |
| long IBattle::GetBattleRunningTime | ( | ) | const [virtual, inherited] |
Definition at line 1293 of file ibattle.cpp.
| virtual BattleType IBattle::GetBattleType | ( | ) | [inline, virtual, inherited] |
| int IBattle::GetClosestFixColour | ( | const wxColour & | col, | |
| const std::vector< int > & | excludes, | |||
| int | difference | |||
| ) | const [virtual, inherited] |
Definition at line 179 of file ibattle.cpp.
| wxString IBattle::GetCurrentPreset | ( | ) | [virtual, inherited] |
Definition at line 1033 of file ibattle.cpp.
| virtual wxString IBattle::GetDescription | ( | ) | const [inline, virtual, inherited] |
| wxColour IBattle::GetFixColour | ( | int | i | ) | const [virtual, inherited] |
Definition at line 69 of file ibattle.cpp.
| std::vector< wxColour > & IBattle::GetFixColoursPalette | ( | int | numteams | ) | const [virtual, inherited] |
Definition at line 64 of file ibattle.cpp.
| int IBattle::GetFreeAlly | ( | bool | excludeme = false |
) | const [virtual, inherited] |
Definition at line 653 of file ibattle.cpp.
| wxColour IBattle::GetFreeColour | ( | User * | for_whom = NULL |
) | const [inherited] |
Definition at line 116 of file ibattle.cpp.
| wxColour IBattle::GetFreeColour | ( | User & | for_whom | ) | const [virtual, inherited] |
Definition at line 140 of file ibattle.cpp.
| UserPosition IBattle::GetFreePosition | ( | ) | [virtual, inherited] |
Definition at line 675 of file ibattle.cpp.
| int IBattle::GetFreeTeam | ( | bool | excludeme = false |
) | const [virtual, inherited] |
Definition at line 157 of file ibattle.cpp.
| virtual bool IBattle::GetGUIListActiv | ( | ) | const [inline, virtual, inherited] |
| virtual wxString IBattle::GetHostIp | ( | ) | const [inline, virtual, inherited] |
| wxString IBattle::GetHostMapHash | ( | ) | const [virtual, inherited] |
Definition at line 769 of file ibattle.cpp.
| wxString IBattle::GetHostMapName | ( | ) | const [virtual, inherited] |
Definition at line 763 of file ibattle.cpp.
| wxString IBattle::GetHostModHash | ( | ) | const [virtual, inherited] |
Definition at line 823 of file ibattle.cpp.
| wxString IBattle::GetHostModName | ( | ) | const [virtual, inherited] |
Definition at line 817 of file ibattle.cpp.
| virtual int IBattle::GetHostPort | ( | ) | const [inline, virtual, inherited] |
| virtual bool IBattle::GetInGame | ( | ) | const [inline, virtual, inherited] |
| unsigned int IBattle::GetLastRectIdx | ( | ) | const [virtual, inherited] |
Definition at line 484 of file ibattle.cpp.
| virtual unsigned int IBattle::GetMaxPlayers | ( | ) | const [inline, virtual, inherited] |
| const User& SinglePlayerBattle::GetMe | ( | ) | const [inline, virtual] |
Implements IBattle.
Definition at line 28 of file singleplayerbattle.h.
| User& SinglePlayerBattle::GetMe | ( | ) | [inline, virtual] |
Implements IBattle.
Definition at line 27 of file singleplayerbattle.h.
| virtual unsigned int IBattle::GetMyExternalUdpSourcePort | ( | ) | [inline, virtual, inherited] |
| virtual unsigned int IBattle::GetMyInternalUdpSourcePort | ( | ) | [inline, virtual, inherited] |
| int IBattle::GetMyPlayerNum | ( | ) | const [virtual, inherited] |
Definition at line 1095 of file ibattle.cpp.
| virtual NatType IBattle::GetNatType | ( | ) | const [inline, virtual, inherited] |
| wxColour IBattle::GetNewColour | ( | ) | const [inherited] |
Definition at line 146 of file ibattle.cpp.
| unsigned int IBattle::GetNextFreeRectIdx | ( | ) | const [virtual, inherited] |
Definition at line 494 of file ibattle.cpp.
| unsigned int IBattle::GetNumActivePlayers | ( | ) | const [virtual, inherited] |
Definition at line 266 of file ibattle.cpp.
| unsigned int IBattle::GetNumBots | ( | ) | const [virtual, inherited] |
Definition at line 256 of file ibattle.cpp.
| virtual unsigned int IBattle::GetNumOkPlayers | ( | ) | const [inline, virtual, inherited] |
| unsigned int IBattle::GetNumPlayers | ( | ) | const [virtual, inherited] |
Definition at line 261 of file ibattle.cpp.
| virtual unsigned int IBattle::GetNumReadyPlayers | ( | ) | const [inline, virtual, inherited] |
| unsigned int IBattle::GetNumRects | ( | ) | const [virtual, inherited] |
Definition at line 478 of file ibattle.cpp.
| virtual unsigned int IBattle::GetNumSyncedPlayers | ( | ) | const [inline, virtual, inherited] |
| UserList::user_map_t::size_type UserList::GetNumUsers | ( | ) | const [inherited] |
Definition at line 52 of file userlist.cpp.
| AllyVec IBattle::GetParsedAlliesVec | ( | ) | [inline, inherited] |
| TeamVec IBattle::GetParsedTeamsVec | ( | ) | [inline, inherited] |
| virtual wxString IBattle::GetPlayBackFilePath | ( | ) | const [inline, virtual, inherited] |
| int IBattle::GetPlayerNum | ( | const User & | user | ) | const [virtual, inherited] |
Definition at line 76 of file ibattle.cpp.
| wxArrayString IBattle::GetPresetList | ( | ) | [virtual, inherited] |
Definition at line 1047 of file ibattle.cpp.
| wxString IBattle::GetProxy | ( | ) | const [virtual, inherited] |
Definition at line 1073 of file ibattle.cpp.
| virtual int IBattle::GetRankNeeded | ( | ) | const [inline, virtual, inherited] |
| virtual wxString IBattle::GetScript | ( | ) | const [inline, virtual, inherited] |
| virtual int IBattle::GetSpectators | ( | ) | const [inline, virtual, inherited] |
| BattleStartRect IBattle::GetStartRect | ( | unsigned int | allyno | ) | const [virtual, inherited] |
Definition at line 469 of file ibattle.cpp.
| virtual std::map<int, int> IBattle::GetTeamSizes | ( | ) | [inline, virtual, inherited] |
| User & UserList::GetUser | ( | user_map_t::size_type | index | ) | const [inherited] |
Definition at line 36 of file userlist.cpp.
Definition at line 28 of file userlist.cpp.
| bool IBattle::IsEveryoneReady | ( | ) | const [inherited] |
Definition at line 371 of file ibattle.cpp.
| bool IBattle::IsFounder | ( | const User & | user | ) | const [virtual, inherited] |
Definition at line 1083 of file ibattle.cpp.
| bool SinglePlayerBattle::IsFounderMe | ( | ) | const [inline, virtual] |
Reimplemented from IBattle.
Definition at line 25 of file singleplayerbattle.h.
| virtual bool IBattle::IsLocked | ( | ) | const [inline, virtual, inherited] |
| virtual bool IBattle::IsPassworded | ( | ) | const [inline, virtual, inherited] |
| bool IBattle::IsProxy | ( | ) | const [virtual, inherited] |
Definition at line 1068 of file ibattle.cpp.
| bool IBattle::IsSynced | ( | ) | [virtual, inherited] |
Definition at line 52 of file ibattle.cpp.
| void IBattle::KickPlayer | ( | User & | user | ) | [inherited] |
Reimplemented in Battle.
Definition at line 645 of file ibattle.cpp.
| const UnitSyncMap & IBattle::LoadMap | ( | ) | [virtual, inherited] |
Definition at line 746 of file ibattle.cpp.
| const UnitSyncMod & IBattle::LoadMod | ( | ) | [virtual, inherited] |
Definition at line 801 of file ibattle.cpp.
| bool IBattle::LoadOptionsPreset | ( | const wxString & | name | ) | [virtual, inherited] |
Definition at line 917 of file ibattle.cpp.
| void IBattle::LoadScriptMMOpts | ( | const SL::PDataList & | node | ) | [protected, inherited] |
Definition at line 1114 of file ibattle.cpp.
| void IBattle::LoadScriptMMOpts | ( | const wxString & | sectionname, | |
| const SL::PDataList & | node | |||
| ) | [protected, inherited] |
Definition at line 1101 of file ibattle.cpp.
| bool IBattle::MapExists | ( | ) | const [virtual, inherited] |
Definition at line 829 of file ibattle.cpp.
| bool IBattle::ModExists | ( | ) | const [virtual, inherited] |
Definition at line 836 of file ibattle.cpp.
| void UserList::Nullify | ( | ) | [inherited] |
Definition at line 57 of file userlist.cpp.
| User & IBattle::OnBotAdded | ( | const wxString & | nick, | |
| const UserBattleStatus & | bs | |||
| ) | [virtual, inherited] |
Definition at line 247 of file ibattle.cpp.
| void IBattle::OnSelfLeftBattle | ( | ) | [virtual, inherited] |
Definition at line 869 of file ibattle.cpp.
| void IBattle::OnUnitsyncReloaded | ( | GlobalEvents::GlobalEventData | ) | [virtual, inherited] |
Reimplemented from UnitsyncReloadedSink< IBattle >.
Reimplemented in Battle.
Definition at line 895 of file ibattle.cpp.
Reimplemented in Battle.
Definition at line 212 of file ibattle.cpp.
| void IBattle::OnUserBattleStatusUpdated | ( | User & | user, | |
| UserBattleStatus | status | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 271 of file ibattle.cpp.
| void IBattle::OnUserRemoved | ( | User & | user | ) | [inherited] |
Reimplemented in Battle.
Definition at line 334 of file ibattle.cpp.
| void IBattle::PlayerJoinedAlly | ( | int | ally | ) | [protected, inherited] |
Definition at line 564 of file ibattle.cpp.
| void IBattle::PlayerJoinedTeam | ( | int | team | ) | [protected, inherited] |
Definition at line 557 of file ibattle.cpp.
| void IBattle::PlayerLeftAlly | ( | int | ally | ) | [protected, inherited] |
Definition at line 584 of file ibattle.cpp.
| void IBattle::PlayerLeftTeam | ( | int | team | ) | [protected, inherited] |
Definition at line 571 of file ibattle.cpp.
| void IBattle::RemoveStartRect | ( | unsigned int | allyno | ) | [virtual, inherited] |
Definition at line 407 of file ibattle.cpp.
| void SinglePlayerBattle::RemoveUnfittingBots | ( | ) | [protected] |
Definition at line 68 of file singleplayerbattle.cpp.
| void UserList::RemoveUser | ( | wxString const & | nick | ) | [inherited] |
Reimplemented in Channel.
Definition at line 22 of file userlist.cpp.
| void IBattle::ResizeStartRect | ( | unsigned int | allyno | ) | [virtual, inherited] |
Definition at line 420 of file ibattle.cpp.
| std::map< wxString, int > IBattle::RestrictedUnits | ( | ) | const [virtual, inherited] |
Definition at line 864 of file ibattle.cpp.
| void IBattle::RestrictUnit | ( | const wxString & | unitname, | |
| int | count = 0 | |||
| ) | [virtual, inherited] |
Definition at line 844 of file ibattle.cpp.
| void IBattle::SaveOptionsPreset | ( | const wxString & | name | ) | [virtual, inherited] |
Definition at line 983 of file ibattle.cpp.
| void SinglePlayerBattle::SendHostInfo | ( | const wxString & | ) | [inline, virtual] |
Reimplemented from IBattle.
Definition at line 31 of file singleplayerbattle.h.
| void SinglePlayerBattle::SendHostInfo | ( | HostInfo | update | ) | [virtual] |
Reimplemented from IBattle.
Definition at line 32 of file singleplayerbattle.cpp.
| void IBattle::SetBattleOptions | ( | const BattleOptions & | options | ) | [inline, inherited] |
| virtual void IBattle::SetBattleType | ( | BattleType | type | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetDescription | ( | const wxString & | desc | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetFounder | ( | const wxString & | nick | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetGUIListActiv | ( | bool | Activ | ) | [inline, virtual, inherited] |
| void IBattle::SetHandicap | ( | User & | user, | |
| int | handicap | |||
| ) | [inherited] |
Reimplemented in Battle.
Definition at line 636 of file ibattle.cpp.
| virtual void IBattle::SetHostIp | ( | const wxString & | ip | ) | [inline, virtual, inherited] |
TODO why not on win?
Definition at line 706 of file ibattle.cpp.
Definition at line 775 of file ibattle.cpp.
| virtual void IBattle::SetHostPort | ( | unsigned int | port | ) | [inline, virtual, inherited] |
| void IBattle::SetInGame | ( | bool | ingame | ) | [virtual, inherited] |
Reimplemented in Battle.
Definition at line 1286 of file ibattle.cpp.
| virtual void IBattle::SetIsLocked | ( | const bool | islocked | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetIsPassworded | ( | const bool | ispassworded | ) | [inline, virtual, inherited] |
| void IBattle::SetLocalMap | ( | const UnitSyncMap & | map | ) | [virtual, inherited] |
Reimplemented in Battle.
Definition at line 725 of file ibattle.cpp.
| void IBattle::SetLocalMod | ( | const UnitSyncMod & | mod | ) | [virtual, inherited] |
Definition at line 788 of file ibattle.cpp.
| virtual void IBattle::SetMaxPlayers | ( | const int & | maxplayers | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetMyExternalUdpSourcePort | ( | unsigned int | port | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetMyInternalUdpSourcePort | ( | unsigned int | port | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetNatType | ( | const NatType | nattype | ) | [inline, virtual, inherited] |
| void IBattle::SetParsedAlliesVec | ( | const AllyVec & | a | ) | [inline, inherited] |
| void IBattle::SetParsedTeamsVec | ( | const TeamVec & | t | ) | [inline, inherited] |
| virtual void IBattle::SetPlayBackFilePath | ( | const wxString & | path | ) | [inline, virtual, inherited] |
| void IBattle::SetProxy | ( | const wxString & | proxyhost | ) | [virtual, inherited] |
Definition at line 1063 of file ibattle.cpp.
| virtual void IBattle::SetRankNeeded | ( | const int & | rankneeded | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetScript | ( | const wxString & | script | ) | [inline, virtual, inherited] |
| virtual void IBattle::SetSpectators | ( | const int & | spectators | ) | [inline, virtual, inherited] |
| bool IBattle::ShouldAutoStart | ( | ) | const [virtual, inherited] |
Definition at line 326 of file ibattle.cpp.
| void IBattle::StartRectAdded | ( | unsigned int | allyno | ) | [virtual, inherited] |
Definition at line 456 of file ibattle.cpp.
| void IBattle::StartRectRemoved | ( | unsigned int | allyno | ) | [virtual, inherited] |
Definition at line 433 of file ibattle.cpp.
| void IBattle::StartRectResized | ( | unsigned int | allyno | ) | [virtual, inherited] |
Definition at line 443 of file ibattle.cpp.
| void SinglePlayerBattle::StartSpring | ( | ) | [virtual] |
Implements IBattle.
Definition at line 88 of file singleplayerbattle.cpp.
| void IBattle::UnrestrictAllUnits | ( | ) | [virtual, inherited] |
Definition at line 858 of file ibattle.cpp.
| void IBattle::UnrestrictUnit | ( | const wxString & | unitname | ) | [virtual, inherited] |
Definition at line 850 of file ibattle.cpp.
| void SinglePlayerBattle::Update | ( | const wxString & | Tag | ) | [virtual] |
Reimplemented from IBattle.
Definition at line 83 of file singleplayerbattle.cpp.
| bool UserList::UserExists | ( | wxString const & | nick | ) | const [inherited] |
Definition at line 47 of file userlist.cpp.
| void IBattle::UserPositionChanged | ( | const User & | usr | ) | [virtual, inherited] |
Reimplemented in Battle.
Definition at line 1052 of file ibattle.cpp.
std::map<int, int> IBattle::m_ally_sizes [protected, inherited] |
bool IBattle::m_auto_unspec [protected, inherited] |
bool IBattle::m_generating_script [protected, inherited] |
UnitSyncMap IBattle::m_host_map [protected, inherited] |
UnitSyncMod IBattle::m_host_mod [protected, inherited] |
bool IBattle::m_ingame [protected, inherited] |
UserVec IBattle::m_internal_bot_list [protected, inherited] |
UserVec IBattle::m_internal_user_list [protected, inherited] |
bool IBattle::m_is_self_in [protected, inherited] |
UnitSyncMap IBattle::m_local_map [protected, inherited] |
UnitSyncMod IBattle::m_local_mod [protected, inherited] |
bool IBattle::m_map_exists [protected, inherited] |
bool IBattle::m_map_loaded [protected, inherited] |
User SinglePlayerBattle::m_me [protected] |
Definition at line 42 of file singleplayerbattle.h.
bool IBattle::m_mod_exists [protected, inherited] |
bool IBattle::m_mod_loaded [protected, inherited] |
OptionsWrapper IBattle::m_opt_wrap [protected, inherited] |
BattleOptions IBattle::m_opts [protected, inherited] |
AllyVec IBattle::m_parsed_allies [protected, inherited] |
TeamVec IBattle::m_parsed_teams [protected, inherited] |
wxString IBattle::m_playback_file_path [protected, inherited] |
unsigned int IBattle::m_players_ok [protected, inherited] |
unsigned int IBattle::m_players_ready [protected, inherited] |
unsigned int IBattle::m_players_sync [protected, inherited] |
wxString IBattle::m_preset [protected, inherited] |
wxString IBattle::m_previous_local_mod_name [protected, inherited] |
std::map<wxString, time_t> IBattle::m_ready_up_map [protected, inherited] |
std::map<unsigned int,BattleStartRect> IBattle::m_rects [protected, inherited] |
std::map<wxString, int> IBattle::m_restricted_units [protected, inherited] |
wxString IBattle::m_script [protected, inherited] |
std::map<wxString, wxString> IBattle::m_script_tags [inherited] |
MainSinglePlayerTab& SinglePlayerBattle::m_sptab [protected] |
Definition at line 40 of file singleplayerbattle.h.
long IBattle::m_start_time [protected, inherited] |
std::map<int, int> IBattle::m_teams_sizes [protected, inherited] |
wxTimer* IBattle::m_timer [protected, inherited] |
EventReceiverFunction UnitsyncReloadedSink< IBattle , GlobalEvents::GlobalEventData >::OnUsync_reload [protected, inherited] |
1.6.3