00001 /* 00002 * This file is part of the "Archon" framework. 00003 * (http://files3d.sourceforge.net) 00004 * 00005 * Copyright © 2002 by Kristian Spangsege and Brian Kristiansen. 00006 * 00007 * Permission to use, copy, modify, and distribute this software and 00008 * its documentation under the terms of the GNU General Public License is 00009 * hereby granted. No representations are made about the suitability of 00010 * this software for any purpose. It is provided "as is" without express 00011 * or implied warranty. See the GNU General Public License 00012 * (http://www.gnu.org/copyleft/gpl.html) for more details. 00013 * 00014 * The characters in this file are ISO8859-1 encoded. 00015 * 00016 * The documentation in this file is in "Doxygen" style 00017 * (http://www.doxygen.org). 00018 */ 00019 00020 #ifndef ARCHON_CONSOLE3D_OPTIONS_H 00021 #define ARCHON_CONSOLE3D_OPTIONS_H 00022 00023 #include <string> 00024 00025 #include <archon/math/vector.H> 00026 #include <archon/util/color.H> 00027 #include <archon/util/options.H> 00028 00029 namespace Archon 00030 { 00031 namespace Console3d 00032 { 00033 using namespace std; 00034 using namespace Math; 00035 using namespace Utilities; 00036 00037 extern bool opt_help; 00038 extern string opt_configFile; 00039 extern bool opt_saveConfig; 00040 extern bool opt_dumpNodeDefs; 00041 extern bool opt_fullScreen; 00042 extern Options::IntByInt opt_resolution; 00043 extern ColorRGBA opt_backgroundColor; 00044 extern Vector3 opt_eyepoint; 00045 extern Vector3 opt_lookat; 00046 extern double opt_fieldOfView; 00047 extern bool opt_headLight; 00048 extern bool opt_showLightSources; 00049 extern bool opt_wireframe; 00050 extern bool opt_texture; 00051 extern bool opt_mipmap; 00052 extern bool opt_showNormals; 00053 extern bool opt_textAsQuadsMode; 00054 extern double opt_frameRate; 00055 extern Options::IntByInt opt_subdivision; 00056 extern double opt_applicationHeartbeat; 00057 extern int opt_corbaEndpointPort; 00058 extern bool opt_acceptClients; 00059 extern string opt_consoleName; 00060 extern bool opt_dumpScene; 00061 extern bool opt_progressiveLoad; 00062 extern string opt_fontPath; 00063 } 00064 } 00065 00066 #endif // ARCHON_CONSOLE3D_OPTIONS_H