\r
# End Source File\r
# End Group\r
-# Begin Group "Lib_sgtiming"\r
+# Begin Group "Lib_sgthreads"\r
\r
# PROP Default_Filter ""\r
# Begin Source File\r
\r
-SOURCE=.\simgear\timing\geocoord.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\lowleveltime.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\sg_time.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\timezone.cxx\r
+SOURCE=.\simgear\threads\SGThread.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
+# PROP Intermediate_Dir "Release\Lib_sgthreads"\r
\r
!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\#\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\event.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\event.hxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\#\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\fg_timer.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
+# PROP Intermediate_Dir "Debug\Lib_sgthreads"\r
\r
!ENDIF \r
\r
# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\fg_timer.hxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\#\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\light.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\light.hxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\#\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\moonpos.cxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\moonpos.hxx\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\simgear\timing\#\r
-\r
-!IF "$(CFG)" == "SimGear - Win32 Release"\r
-\r
-# PROP Intermediate_Dir "Release\Lib_sgtiming"\r
-\r
-!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
-\r
-# PROP Intermediate_Dir "Debug\Lib_sgtiming"\r
-\r
-!ENDIF \r
+# End Group\r
+# Begin Group "Lib_sgtiming"\r
\r
-# End Source File\r
+# PROP Default_Filter ""\r
# Begin Source File\r
\r
-SOURCE=.\simgear\timing\sunpos.cxx\r
+SOURCE=.\simgear\timing\geocoord.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\simgear\timing\sunpos.hxx\r
+SOURCE=.\simgear\timing\lowleveltime.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\simgear\timing\#\r
+SOURCE=.\simgear\timing\sg_time.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\simgear\timing\timestamp.hxx\r
+SOURCE=.\simgear\timing\timezone.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
}
-void sgReadVec2 ( gzFile fd, sgVec2 var ) { sgReadFloat ( fd, 2, var ) ; }
-void sgWriteVec2 ( gzFile fd, const sgVec2 var ) {
- sgWriteFloat ( fd, 2, var ) ;
-}
-
-void sgReadVec3 ( gzFile fd, sgVec3 var ) { sgReadFloat ( fd, 3, var ) ; }
-void sgWriteVec3 ( gzFile fd, const sgVec3 var ) {
- sgWriteFloat ( fd, 3, var ) ;
-}
-
-void sgReaddVec3 ( gzFile fd, sgdVec3 var ) { sgReadDouble ( fd, 3, var ) ; }
-void sgWritedVec3 ( gzFile fd, const sgdVec3 var ) {
- sgWriteDouble ( fd, 3, var ) ;
-}
-
-void sgReadVec4 ( gzFile fd, sgVec4 var ) { sgReadFloat ( fd, 4, var ) ; }
-void sgWriteVec4 ( gzFile fd, const sgVec4 var ) {
- sgWriteFloat ( fd, 4, var ) ;
-}
-
-void sgReadMat4 ( gzFile fd, sgMat4 var ) {
- sgReadFloat ( fd, 16, (float *)var ) ;
-}
-void sgWriteMat4 ( gzFile fd, const sgMat4 var ) {
- sgWriteFloat ( fd, 16, (float *)var ) ;
-}
void sgReadString ( gzFile fd, char **var ) ;
void sgWriteString ( gzFile fd, const char *var ) ;
-void sgReadVec2 ( gzFile fd, sgVec2 var ) ;
-void sgWriteVec2 ( gzFile fd, const sgVec2 var ) ;
-void sgReadVec3 ( gzFile fd, sgVec3 var ) ;
-void sgWriteVec3 ( gzFile fd, const sgVec3 var ) ;
-void sgReaddVec3 ( gzFile fd, sgdVec3 var ) ;
-void sgWritedVec3 ( gzFile fd, const sgdVec3 var ) ;
-void sgReadVec4 ( gzFile fd, sgVec4 var ) ;
-void sgWriteVec4 ( gzFile fd, const sgVec4 var ) ;
-
-void sgReadMat4 ( gzFile fd, sgMat4 var ) ;
-void sgWriteMat4 ( gzFile fd, const sgMat4 var ) ;
+inline void sgReadVec2 ( gzFile fd, sgVec2 var ) {
+ sgReadFloat ( fd, 2, var ) ;
+}
+inline void sgWriteVec2 ( gzFile fd, const sgVec2 var ) {
+ sgWriteFloat ( fd, 2, var ) ;
+}
+
+inline void sgReadVec3 ( gzFile fd, sgVec3 var ) {
+ sgReadFloat ( fd, 3, var ) ;
+}
+inline void sgWriteVec3 ( gzFile fd, const sgVec3 var ) {
+ sgWriteFloat ( fd, 3, var ) ;
+}
+
+inline void sgReaddVec3 ( gzFile fd, sgdVec3 var ) {
+ sgReadDouble ( fd, 3, var ) ;
+}
+inline void sgWritedVec3 ( gzFile fd, const sgdVec3 var ) {
+ sgWriteDouble ( fd, 3, var ) ;
+}
+
+inline void sgReadVec4 ( gzFile fd, sgVec4 var ) {
+ sgReadFloat ( fd, 4, var ) ;
+}
+inline void sgWriteVec4 ( gzFile fd, const sgVec4 var ) {
+ sgWriteFloat ( fd, 4, var ) ;
+}
+
+inline void sgReadMat4 ( gzFile fd, sgMat4 var ) {
+ sgReadFloat ( fd, 16, (float *)var ) ;
+}
+inline void sgWriteMat4 ( gzFile fd, const sgMat4 var ) {
+ sgWriteFloat ( fd, 16, (float *)var ) ;
+}
void sgClearReadError();
void sgClearWriteError();