FlightGear next
FGFDM.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <simgear/debug/logstream.hxx>
#include <Main/fg_props.hxx>
#include "yasim-common.hpp"
#include "Math.hpp"
#include "Jet.hpp"
#include "SimpleJet.hpp"
#include "Gear.hpp"
#include "Hook.hpp"
#include "Launchbar.hpp"
#include "Atmosphere.hpp"
#include "PropEngine.hpp"
#include "Propeller.hpp"
#include "PistonEngine.hpp"
#include "TurbineEngine.hpp"
#include "ElectricEngine.hpp"
#include "Rotor.hpp"
#include "Rotorpart.hpp"
#include "Hitch.hpp"
#include "Surface.hpp"
#include "FGFDM.hpp"

Go to the source code of this file.

Namespaces

namespace  yasim
 

Macros

#define p(x)
 
#define p2(x, y)
 
#define p(x)
 
#define p2(x, y)
 

Functions

static void yasim::moveprop (SGPropertyNode *node, const std::string &prop, float target, float frac)
 

Macro Definition Documentation

◆ p [1/2]

#define p ( x)
Value:
if (a->hasAttribute(#x)) w->setParameter((char *)#x,attrf(a,#x) );

◆ p [2/2]

#define p ( x)
Value:
if (a->hasAttribute(#x)) r->setParameter((char *)#x,attrf(a,#x) );

◆ p2 [1/2]

#define p2 ( x,
y )
Value:
if (a->hasAttribute(y)) w->setParameter((char *)#x,attrf(a,y) );

◆ p2 [2/2]

#define p2 ( x,
y )
Value:
if (a->hasAttribute(y)) r->setParameter((char *)#x,attrf(a,y) );