From: <sv...@ww...> - 2004-06-21 06:59:05
|
Author: mkrose Date: 2004-06-20 23:58:58 -0700 (Sun, 20 Jun 2004) New Revision: 1057 Modified: trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Include/CSPSim.h trunk/CSP/CSPSim/Include/DynamicObject.h Log: Changed some print statements to use logging instead. Added a mainpage comment for the doxygen docs. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1057 Modified: trunk/CSP/CSPSim/CHANGES.current =================================================================== --- trunk/CSP/CSPSim/CHANGES.current 2004-06-21 06:56:34 UTC (rev 1056) +++ trunk/CSP/CSPSim/CHANGES.current 2004-06-21 06:58:58 UTC (rev 1057) @@ -5,6 +5,10 @@ * Changed doxygen control file to recurse into the variou subdirectories (Systems, Theater, etc). + * Changed some print statements to use logging instead. + + * Added a mainpage comment for the doxygen docs. + 2004-06-14: onsight * Added doxygen directory, control file, and make targets. Modified: trunk/CSP/CSPSim/Include/CSPSim.h =================================================================== --- trunk/CSP/CSPSim/Include/CSPSim.h 2004-06-21 06:56:34 UTC (rev 1056) +++ trunk/CSP/CSPSim/Include/CSPSim.h 2004-06-21 06:58:58 UTC (rev 1057) @@ -24,6 +24,26 @@ * */ +/** + * @mainpage CSPSim - Combat Simulator Project + * + * @section overview Overview + * + * The Combat Simulator Project is an open-source community united by a + * common interest in combat simulator development. We are developing + * standards, technologies, code libraries, tools and artwork that can be + * used to build a wide variety of real-time combat simulators. Our + * ultimate goal is to realize concurrent and networked cross-platform + * simulation of large-scale multi-vehicle combat scenarios. + * + * CSPSim is a simulator testbed used to develop the infrastructure of + * CSP. It is currently a functional flight simulator, using OpenGL + * rendering under both Microsoft Windows and GNU/Linux environments. + * For more details about current development efforts, please visit + * the <a href='csp.sourceforge.net/forum'>CSP Forums</a>. + * + */ + #ifndef __CSPSIM_H__ #define __CSPSIM_H__ Modified: trunk/CSP/CSPSim/Include/DynamicObject.h =================================================================== --- trunk/CSP/CSPSim/Include/DynamicObject.h 2004-06-21 06:56:34 UTC (rev 1056) +++ trunk/CSP/CSPSim/Include/DynamicObject.h 2004-06-21 06:58:58 UTC (rev 1057) @@ -151,10 +151,12 @@ void updateGroundPosition(); void updateOrientation(); - virtual void aggregate() { std::cout << "aggregate " << int(this) << std::endl; } - virtual void deaggregate() { std::cout << "deaggregate " << int(this) << std::endl; } - virtual void setVisible(bool visible) { std::cout << int(this) << ": visible = " << visible << std::endl; } - + virtual void aggregate() { CSP_LOG(APP, INFO, "aggregate @ " << int(this)); } + virtual void deaggregate() { CSP_LOG(APP, INFO, "deaggregate @ " << int(this)); } + virtual void setVisible(bool visible) { + CSP_LOG(APP, INFO, "object @ " << int(this) << ": visible = " << visible); + } + bool isNearGround(); // The object name holds an identifier string for in-game display. It is not |