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
unit_xml.h
Go to the documentation of this file.
1
#ifndef _UNIT_XML_H
2
#define _UNIT_XML_H
3
4
#include "
unit_generic.h
"
5
6
void
addShieldMesh
(
Unit::XML
*xml,
const
char
*filename,
const
float
scale,
int
faction
,
class
Flightgroup
*fg );
7
void
addRapidMesh
(
Unit::XML
*xml,
const
char
*filename,
const
float
scale,
int
faction
,
class
Flightgroup
*fg );
8
void
pushMesh
(
Unit::XML
*xml,
9
const
char
*filename,
10
const
float
scale,
11
int
faction
,
12
class
Flightgroup
*fg,
13
int
startframe
/*-1 is random frame*/
,
14
double
texturestarttime );
15
16
Mount
*
createMount
(
const
std::string &name,
int
ammo,
int
volume
,
float
xyscale = 0,
float
zscale = 0 );
//short fix
17
VSSprite
*
createVSSprite
(
const
char
*
file
);
18
bool
isVSSpriteLoaded
(
const
VSSprite
* );
19
void
deleteVSSprite
(
VSSprite
* );
20
21
void
cache_ani
(
string
s );
22
23
/* ADDED FOR extensible use of unit pretty print and unit loading */
24
25
enum
UNITLOADTYPE
{
DEFAULT
,
NO_MESH
};
26
27
extern
UNITLOADTYPE
current_unit_load_mode
;
28
29
#endif
30
src
cmd
unit_xml.h
Generated on Fri May 29 2015 23:07:20 for Vegastrike 0.5.1 rc1 by
1.8.4