#include <spring.h>
Inherits wxEvtHandler.

Public Member Functions | |
| Spring () | |
| ~Spring () | |
| bool | IsRunning () const |
| bool | Run (Battle &battle) |
| bool | Run (SinglePlayerBattle &battle) |
| bool | Run (NoGuiSinglePlayerBattle &battle) |
| bool | Run (OfflineBattle &battle) |
| bool | RunReplay (const wxString &filename) |
| executes spring with replay as parameter | |
| wxString | WriteScriptTxt (IBattle &battle) const |
| void | OnTerminated (wxCommandEvent &event) |
Protected Member Functions | |
| bool | LaunchSpring (const wxString ¶ms) |
Protected Attributes | |
| SpringProcess * | m_process |
| wxSpringProcess * | m_wx_process |
| bool | m_running |
Definition at line 23 of file spring.h.
| Spring::Spring | ( | ) | [explicit] |
Definition at line 66 of file spring.cpp.
| Spring::~Spring | ( | ) |
Definition at line 76 of file spring.cpp.
| bool Spring::IsRunning | ( | ) | const |
Definition at line 82 of file spring.cpp.
| bool Spring::LaunchSpring | ( | const wxString & | params | ) | [protected] |
Definition at line 217 of file spring.cpp.
| void Spring::OnTerminated | ( | wxCommandEvent & | event | ) |
Definition at line 290 of file spring.cpp.
| bool Spring::Run | ( | OfflineBattle & | battle | ) |
Definition at line 208 of file spring.cpp.
| bool Spring::Run | ( | NoGuiSinglePlayerBattle & | battle | ) |
Definition at line 180 of file spring.cpp.
| bool Spring::Run | ( | SinglePlayerBattle & | battle | ) |
Definition at line 148 of file spring.cpp.
| bool Spring::Run | ( | Battle & | battle | ) |
Definition at line 94 of file spring.cpp.
| bool Spring::RunReplay | ( | const wxString & | filename | ) |
executes spring with replay as parameter
| filename | the full path for the replayfile |
Definition at line 87 of file spring.cpp.
this allows to play with broken router by setting SourcePort to some forwarded port.
Definition at line 301 of file spring.cpp.
SpringProcess* Spring::m_process [protected] |
bool Spring::m_running [protected] |
wxSpringProcess* Spring::m_wx_process [protected] |
1.6.3