Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
script_generic.cpp
Go to the documentation of this file.
1
#include "
xml_support.h
"
2
#include "
cmd/unit_generic.h
"
3
#include "
mission.h
"
4
5
void
Mission::call_unit_toxml(
missionNode
*node,
int
mode,
varInst
*ovi )
6
{
7
Unit
*my_object = getUnitObject( node, mode, ovi );
8
if
(my_object) {
9
string
fgid = my_object->
getFgID
();
10
}
11
}
12
13
Unit
* Mission::getUnitObject(
missionNode
*node,
int
mode,
varInst
*ovi )
14
{
15
Unit
*my_object = NULL;
16
if
(mode ==
SCRIPT_RUN
)
17
my_object = (
Unit
*) ovi->
object
;
18
return
my_object;
19
}
20
src
cmd
script
script_generic.cpp
Generated on Fri May 29 2015 23:07:17 for Vegastrike 0.5.1 rc1 by
1.8.4