Tweaks in preparation for the 0.3.6-pre1 release.
This commit is contained in:
parent
66996711ae
commit
129e3c6326
2
Doxyfile
2
Doxyfile
@ -22,7 +22,7 @@ PROJECT_NAME = SimGear
|
|||||||
# This could be handy for archiving the generated documentation or
|
# This could be handy for archiving the generated documentation or
|
||||||
# if some version control system is used.
|
# if some version control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 0.3.5
|
PROJECT_NUMBER = 0.3.6
|
||||||
|
|
||||||
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
||||||
# base path where the generated documentation will be put.
|
# base path where the generated documentation will be put.
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
acinclude.m4 \
|
acinclude.m4 \
|
||||||
autogen.sh \
|
autogen.sh \
|
||||||
DoxygenMain.cxx
|
DoxygenMain.cxx \
|
||||||
README.MSVC \
|
README.MSVC \
|
||||||
README.metakit \
|
|
||||||
README.zlib \
|
README.zlib \
|
||||||
SimGear.dsp \
|
SimGear.dsp \
|
||||||
SimGear.dsw
|
SimGear.dsw
|
||||||
|
9
NEWS
9
NEWS
@ -1,3 +1,12 @@
|
|||||||
|
New in 0.3.6-pre1
|
||||||
|
* Better MinGW support
|
||||||
|
* Switched audio system from plib's "sl/sm" to OpenAL.
|
||||||
|
* Add support for scaling an object based on distance. The scaling
|
||||||
|
factor is determined by a lookup table based on distance.
|
||||||
|
* Add a "flash" animation type.
|
||||||
|
* Fix cloud positioning/animation bugs.
|
||||||
|
|
||||||
|
|
||||||
New in 0.3.5
|
New in 0.3.5
|
||||||
* March 26, 2004
|
* March 26, 2004
|
||||||
|
|
||||||
|
49
SimGear.dsp
49
SimGear.dsp
@ -1094,6 +1094,21 @@ SOURCE=.\simgear\scene\model\animation.cxx
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\simgear\scene\model\custtrans.cxx
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
|
|
||||||
|
# PROP Intermediate_Dir "Release\Lib_sgmodel"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP Intermediate_Dir "Debug\Lib_sgmodel"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\simgear\scene\model\location.cxx
|
SOURCE=.\simgear\scene\model\location.cxx
|
||||||
|
|
||||||
!IF "$(CFG)" == "SimGear - Win32 Release"
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
@ -1139,6 +1154,21 @@ SOURCE=.\simgear\scene\model\modellib.cxx
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\simgear\scene\model\personality.cxx
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
|
|
||||||
|
# PROP Intermediate_Dir "Release\Lib_sgmodel"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP Intermediate_Dir "Debug\Lib_sgmodel"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\simgear\scene\model\placement.cxx
|
SOURCE=.\simgear\scene\model\placement.cxx
|
||||||
|
|
||||||
!IF "$(CFG)" == "SimGear - Win32 Release"
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
@ -2363,7 +2393,7 @@ SOURCE=.\simgear\serial\serial.cxx
|
|||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\simgear\sound\sound.cxx
|
SOURCE=.\simgear\sound\sample_openal.cxx
|
||||||
|
|
||||||
!IF "$(CFG)" == "SimGear - Win32 Release"
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
|
|
||||||
@ -2378,7 +2408,22 @@ SOURCE=.\simgear\sound\sound.cxx
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\simgear\sound\soundmgr.cxx
|
SOURCE=.\simgear\sound\soundmgr_openal.cxx
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
|
|
||||||
|
# PROP Intermediate_Dir "Release\Lib_sgsound"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"
|
||||||
|
|
||||||
|
# PROP Intermediate_Dir "Debug\Lib_sgsound"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\simgear\sound\xmlsound.cxx
|
||||||
|
|
||||||
!IF "$(CFG)" == "SimGear - Win32 Release"
|
!IF "$(CFG)" == "SimGear - Win32 Release"
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ dnl Require at least automake 2.52
|
|||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
dnl Initialize the automake stuff
|
dnl Initialize the automake stuff
|
||||||
AM_INIT_AUTOMAKE(SimGear, 0.3.5)
|
AM_INIT_AUTOMAKE(SimGear, 0.3.6-pre1)
|
||||||
|
|
||||||
dnl Specify KAI C++ compiler and flags.
|
dnl Specify KAI C++ compiler and flags.
|
||||||
dnl Borrowed with slight modification from blitz distribution.
|
dnl Borrowed with slight modification from blitz distribution.
|
||||||
|
@ -116,7 +116,7 @@ public:
|
|||||||
|
|
||||||
// calculate the center of a list of points, by taking the halfway
|
// calculate the center of a list of points, by taking the halfway
|
||||||
// point between the min and max points.
|
// point between the min and max points.
|
||||||
static Point3D calc_center( point_list& wgs84_nodes ) {
|
Point3D sgCalcCenter( point_list& wgs84_nodes ) {
|
||||||
Point3D p, min, max;
|
Point3D p, min, max;
|
||||||
|
|
||||||
if ( wgs84_nodes.size() ) {
|
if ( wgs84_nodes.size() ) {
|
||||||
@ -1145,7 +1145,7 @@ bool SGBinObject::write_ascii( const string& base, const string& name,
|
|||||||
for ( i = start; i < end; ++i ) {
|
for ( i = start; i < end; ++i ) {
|
||||||
for ( j = 0; j < (int)tris_v[i].size(); ++j ) {
|
for ( j = 0; j < (int)tris_v[i].size(); ++j ) {
|
||||||
group_nodes.push_back( wgs84_nodes[ tris_v[i][j] ] );
|
group_nodes.push_back( wgs84_nodes[ tris_v[i][j] ] );
|
||||||
bs_center = calc_center( group_nodes );
|
bs_center = sgCalcCenter( group_nodes );
|
||||||
bs_radius = sgCalcBoundingRadius( bs_center, group_nodes );
|
bs_radius = sgCalcBoundingRadius( bs_center, group_nodes );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1196,7 +1196,7 @@ bool SGBinObject::write_ascii( const string& base, const string& name,
|
|||||||
for ( i = start; i < end; ++i ) {
|
for ( i = start; i < end; ++i ) {
|
||||||
for ( j = 0; j < (int)strips_v[i].size(); ++j ) {
|
for ( j = 0; j < (int)strips_v[i].size(); ++j ) {
|
||||||
group_nodes.push_back( wgs84_nodes[ strips_v[i][j] ] );
|
group_nodes.push_back( wgs84_nodes[ strips_v[i][j] ] );
|
||||||
bs_center = calc_center( group_nodes );
|
bs_center = sgCalcCenter( group_nodes );
|
||||||
bs_radius = sgCalcBoundingRadius( bs_center, group_nodes );
|
bs_radius = sgCalcBoundingRadius( bs_center, group_nodes );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -221,6 +221,16 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \relates SGBinObject
|
||||||
|
* Calculate the center of a list of points, by taking the halfway
|
||||||
|
* point between the min and max points.
|
||||||
|
* @param wgs84_nodes list of points in wgs84 coordinates
|
||||||
|
* @return center point
|
||||||
|
*/
|
||||||
|
Point3D sgCalcCenter( point_list& wgs84_nodes );
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \relates SGBinObject
|
* \relates SGBinObject
|
||||||
* Calculate the bounding sphere of a set of nodes.
|
* Calculate the bounding sphere of a set of nodes.
|
||||||
|
Loading…
Reference in New Issue
Block a user