From 7c057de4fe8680bc73e6f9c8086f1c6027c00229 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 23 Sep 2002 19:55:10 +0000 Subject: [PATCH] Started new module and sub-modules for aircraft systems, including an initial simplistic vacuum system that's not yet connected to anything. --- configure.ac | 2 ++ src/Main/Makefile.am | 2 ++ src/Main/fg_init.cxx | 7 +++++ src/Main/globals.cxx | 2 ++ src/Main/globals.hxx | 6 +++++ src/Main/main.cxx | 3 +++ src/Makefile.am | 9 ++++--- src/Systems/Makefile.am | 7 +++++ src/Systems/system_mgr.cxx | 54 ++++++++++++++++++++++++++++++++++++++ src/Systems/system_mgr.hxx | 50 +++++++++++++++++++++++++++++++++++ 10 files changed, 138 insertions(+), 4 deletions(-) create mode 100644 src/Systems/Makefile.am create mode 100644 src/Systems/system_mgr.cxx create mode 100644 src/Systems/system_mgr.hxx diff --git a/configure.ac b/configure.ac index 51166bb33..b17efcbfa 100644 --- a/configure.ac +++ b/configure.ac @@ -591,6 +591,8 @@ AC_CONFIG_FILES([ \ src/Objects/Makefile \ src/Scenery/Makefile \ src/Sound/Makefile \ + src/Systems/Makefile \ + src/Systems/Vacuum/Makefile \ src/Time/Makefile \ src/WeatherCM/Makefile \ tests/Makefile \ diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index 1752e521d..e8c2c3d34 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -66,6 +66,8 @@ fgfs_LDADD = \ $(top_builddir)/src/Airports/libAirports.a \ $(NETWORK_LIBS) \ $(top_builddir)/src/Objects/libObjects.a \ + $(top_builddir)/src/Systems/libSystems.a \ + $(top_builddir)/src/Systems/Vacuum/libVacuum.a \ $(top_builddir)/src/Time/libTime.a \ $(WEATHER_LIBS) \ $(top_builddir)/src/Input/libInput.a \ diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 5138254cf..caf1d0216 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -108,6 +108,7 @@ #include #include #include +#include #include