#include <spring.h>
Inherits wxEvtHandler.

Public Member Functions | |
| Spring () | |
| ~Spring () | |
| bool | IsRunning () const |
| bool | Run (Battle &battle) |
| bool | Run (SinglePlayerBattle &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 16 of file spring.h.
| Spring::Spring | ( | ) |
Definition at line 59 of file spring.cpp.
| Spring::~Spring | ( | ) |
Definition at line 66 of file spring.cpp.
| bool Spring::IsRunning | ( | ) | const |
Definition at line 73 of file spring.cpp.
| bool Spring::LaunchSpring | ( | const wxString & | params | ) | [protected] |
Definition at line 189 of file spring.cpp.
| void Spring::OnTerminated | ( | wxCommandEvent & | event | ) |
Definition at line 238 of file spring.cpp.
| bool Spring::Run | ( | OfflineBattle & | battle | ) |
Definition at line 162 of file spring.cpp.
| bool Spring::Run | ( | SinglePlayerBattle & | battle | ) |
Definition at line 136 of file spring.cpp.
| bool Spring::Run | ( | Battle & | battle | ) |
Definition at line 85 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 78 of file spring.cpp.
| wxString Spring::WriteScriptTxt | ( | IBattle & | battle | ) | const |
this allows to play with broken router by setting SourcePort to some forwarded port.
Definition at line 248 of file spring.cpp.
SpringProcess* Spring::m_process [protected] |
bool Spring::m_running [protected] |
wxSpringProcess* Spring::m_wx_process [protected] |
1.5.8