Tweaks for 0.0.11 release.

This commit is contained in:
curt 2000-07-03 17:45:30 +00:00
parent 1c2289dacd
commit 7d251444e6
3 changed files with 13 additions and 11 deletions

View File

@ -6,7 +6,7 @@ dnl $Id$
AC_INIT(simgear/bucket/newbucket.cxx)
dnl Initialize the automake stuff
AM_INIT_AUTOMAKE(SimGear, 0.0.9)
AM_INIT_AUTOMAKE(SimGear, 0.0.11)
dnl Checks for programs.
AC_PROG_MAKE_SET
@ -257,6 +257,7 @@ AC_OUTPUT( \
simgear/misc/Makefile \
simgear/screen/Makefile \
simgear/serial/Makefile \
simgear/sky/Makefile \
simgear/xgl/Makefile \
simgear/zlib/Makefile \
)

View File

@ -33,6 +33,7 @@ SUBDIRS = \
misc \
screen \
$(SERIAL_DIRS) \
sky \
xgl \
$(ZLIB_DIRS)

View File

@ -240,9 +240,9 @@ FGValue::getBoolValue () const
return (getRawDouble() == 0.0 ? false : true);
case STRING:
return (getRawString() == "false" ? false : true);
default:
return false;
}
return false;
}
@ -265,9 +265,9 @@ FGValue::getIntValue () const
return (int)(getRawDouble());
case STRING:
return atoi(getRawString().c_str());
default:
return 0;
}
return 0;
}
@ -290,9 +290,9 @@ FGValue::getFloatValue () const
return (float)(getRawDouble());
case STRING:
return (float)atof(getRawString().c_str());
default:
return 0.0;
}
return 0.0;
}
@ -315,9 +315,9 @@ FGValue::getDoubleValue () const
return getRawDouble();
case STRING:
return atof(getRawString().c_str());
default:
return 0.0;
}
return 0.0;
}
@ -336,9 +336,9 @@ FGValue::getStringValue () const
return empty_string;
case STRING:
return getRawString();
default:
return empty_string;
}
return empty_string;
}