14 using namespace NebulaXML;
20 else if (val ==
"exp2")
22 else if (val ==
"linear")
38 AttributeList::const_iterator iter;
48 for (iter = atts.begin(); iter != atts.end(); iter++) {
70 for (iter = atts.begin(); iter != atts.end(); iter++) {
86 for (iter = atts.begin(); iter != atts.end(); iter++) {
103 using namespace VSFileSystem;
109 if (err >
Ok || !usefog) {
117 XML_Parser parser = XML_ParserCreate( NULL );
118 XML_SetUserData( parser,
this );
120 XML_Parse( parser, ( f.
ReadFull() ).c_str(), f.
Size(), 1 );
121 XML_ParserFree( parser );
128 string fullpath( unitfile );
129 fullpath +=
".nebula";
131 LoadXML( fullpath.c_str() );
135 Unit( unitfile, SubU, faction, string(
"" ), fg, fg_snumber )
137 this->
InitNebula( unitfile, SubU, faction, fg, fg_snumber );
144 const Vector &smallnormal,
157 const Vector &CumulativeVelocity,
161 Unit::UpdatePhysics2( trans, old_physical_state, accel, difficulty, transmat, CumulativeVelocity, ResolveLast, uc );