Version 0.53
EGCS optimizations notes Thanks Test for gameglut.
This commit is contained in:
parent
1c7cf373ac
commit
41be678abf
4 changed files with 33 additions and 3 deletions
4
NEWS
4
NEWS
|
@ -1,3 +1,7 @@
|
||||||
|
New in 0.53
|
||||||
|
* Some initial "GameGLUT" support contributed by Gary R. Van Sickle
|
||||||
|
(tiberius@braemarinc.com)
|
||||||
|
|
||||||
New in 0.52
|
New in 0.52
|
||||||
* Stars added in 8 stages as sky gets darker for a smoother more realistic
|
* Stars added in 8 stages as sky gets darker for a smoother more realistic
|
||||||
transition.
|
transition.
|
||||||
|
|
|
@ -32,3 +32,11 @@ For debuging purposes you might want to try something like:
|
||||||
|
|
||||||
CFLAGS=-Wall CXXFLAGS=-Wall ./configure; make; make install
|
CFLAGS=-Wall CXXFLAGS=-Wall ./configure; make; make install
|
||||||
|
|
||||||
|
For full optimization using the EGCS compiler on an Intel processor you
|
||||||
|
could try something like:
|
||||||
|
|
||||||
|
MACH="-mpentiumpro"
|
||||||
|
CFLAGS = -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH
|
||||||
|
CXXFLAGS = -O5 -fomit-frame-pointer -ffast-math -funroll-loops $MACH
|
||||||
|
./configure
|
||||||
|
|
||||||
|
|
4
Thanks
4
Thanks
|
@ -154,6 +154,10 @@ Durk Talsma <pn_talsma@macmail.psy.uva.nl>
|
||||||
sky. Planets are correctly positioned and have proper magnitude.
|
sky. Planets are correctly positioned and have proper magnitude.
|
||||||
|
|
||||||
|
|
||||||
|
Gary R. Van Sickle <tiberius@braemarinc.com>
|
||||||
|
Contributed some initial GameGLUT support and other fixes.
|
||||||
|
|
||||||
|
|
||||||
Carmelo Volpe <carmelo.volpe@csb.ki.se>
|
Carmelo Volpe <carmelo.volpe@csb.ki.se>
|
||||||
Porting Flight Gear to the Metro Works development environment (PC/Mac)
|
Porting Flight Gear to the Metro Works development environment (PC/Mac)
|
||||||
|
|
||||||
|
|
20
configure.in
20
configure.in
|
@ -6,7 +6,7 @@ dnl
|
||||||
AC_INIT(Simulator/Aircraft/aircraft.c)
|
AC_INIT(Simulator/Aircraft/aircraft.c)
|
||||||
|
|
||||||
dnl specify the compiled flight model
|
dnl specify the compiled flight model
|
||||||
AC_ARG_WITH(flight-model, [ --with-flight-model Specify the compiled in flight model (navion, cherokee)])
|
AC_ARG_WITH(flight-model, [ --with-flight-model=xxx Specify the flight model (navion, cherokee)])
|
||||||
|
|
||||||
if test "x$with_flight_model" = "xcherokee" ; then
|
if test "x$with_flight_model" = "xcherokee" ; then
|
||||||
echo "Building with cherokee flight model"
|
echo "Building with cherokee flight model"
|
||||||
|
@ -17,10 +17,10 @@ AM_CONDITIONAL(ENABLE_CHEROKEE, test "x$with_flight_model" = "xcherokee")
|
||||||
|
|
||||||
dnl Let the Win32 user specify if they want to build with the SGI
|
dnl Let the Win32 user specify if they want to build with the SGI
|
||||||
dnl opengl.dll as opposed to the more standard openg32.dll
|
dnl opengl.dll as opposed to the more standard openg32.dll
|
||||||
AC_ARG_WITH(sgiopengl, [ --with-sgiopengl Build against opengl.dll glu.dll and glut.dll])
|
AC_ARG_WITH(sgi-opengl, [ --with-sgi-opengl Build against SGI's opengl.dll glu.dll and glut.dll])
|
||||||
|
|
||||||
dnl Initialize the automake stuff
|
dnl Initialize the automake stuff
|
||||||
AM_INIT_AUTOMAKE(FlightGear, 0.52)
|
AM_INIT_AUTOMAKE(FlightGear, 0.53)
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
@ -130,7 +130,11 @@ if test "x$ac_cv_header_windows_h" != "xyes" ; then
|
||||||
AC_CHECK_LIB(MesaGLU, gluLookAt)
|
AC_CHECK_LIB(MesaGLU, gluLookAt)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl check for glut
|
||||||
AC_CHECK_LIB(glut, glutGetModifiers)
|
AC_CHECK_LIB(glut, glutGetModifiers)
|
||||||
|
|
||||||
|
dnl test for glutGameModeString
|
||||||
|
AC_CHECK_LIB(glut, glutGameModeString)
|
||||||
else
|
else
|
||||||
dnl Win32 is a little wierd because it has to try to handle the various
|
dnl Win32 is a little wierd because it has to try to handle the various
|
||||||
dnl winbloze-isms. We'll just do this manually for now.
|
dnl winbloze-isms. We'll just do this manually for now.
|
||||||
|
@ -180,6 +184,7 @@ else
|
||||||
echo " adding -luser32 -lgdi32"
|
echo " adding -luser32 -lgdi32"
|
||||||
LIBS="$LIBS -luser32 -lgdi32"
|
LIBS="$LIBS -luser32 -lgdi32"
|
||||||
ac_cv_lib_glut_glutGetModifiers="yes"
|
ac_cv_lib_glut_glutGetModifiers="yes"
|
||||||
|
ac_cv_lib_glut_glutGameModeString="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
|
@ -207,6 +212,15 @@ if test "x$ac_cv_lib_glut_glutGetModifiers" = "xno"; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$ac_cv_lib_glut_glutGameModeString" = "xno"; then
|
||||||
|
echo
|
||||||
|
echo "Your version of glut doesn't support game mode."
|
||||||
|
echo "You need to fetch and install the latest version of glut from:"
|
||||||
|
echo
|
||||||
|
echo " http://reality.sgi.com/opengl/glut3/glut3.html"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
AM_CONFIG_HEADER(Include/config.h)
|
AM_CONFIG_HEADER(Include/config.h)
|
||||||
|
|
||||||
AC_OUTPUT( \
|
AC_OUTPUT( \
|
||||||
|
|
Loading…
Reference in a new issue