private:
SGSocket *fdmsock;
-
+#if 0
// Auxilliary Flight Model parameters, basically for HUD
double aux1; // auxilliary flag
double aux2; // auxilliary flag
int iaux10; // auxilliary flag
int iaux11; // auxilliary flag
int iaux12; // auxilliary flag
-
+#endif
// copy FDM state to FGADA structures
bool copy_to_FGADA();
void d_2_to_3( double array2D[100][100], double array3D[][100][100], int index3D)
{
- for (register int i=0; i<=99; i++)
+ for (int i=0; i<=99; i++)
{
- for (register int j=1; j<=99; j++)
+ for (int j=1; j<=99; j++)
{
array3D[index3D][i][j]=array2D[i][j];
}
void d_1_to_2( double array1D[100], double array2D[][100], int index2D)
{
- for (register int i=0; i<=99; i++)
+ for (int i=0; i<=99; i++)
{
array2D[index2D][i]=array1D[i];
}
void d_1_to_1( double array1[100], double array2[100] )
{
- for (register int i=0; i<=99; i++)
+ for (int i=0; i<=99; i++)
{
array2[i]=array1[i];
}
void i_1_to_2( int array1D[100], int array2D[][100], int index2D)
{
- for (register int i=0; i<=99; i++)
+ for (int i=0; i<=99; i++)
{
array2D[index2D][i]=array1D[i];
}