00001 // Filename: config_gobj.h 00002 // Created by: drose (01Oct99) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #ifndef CONFIG_GOBJ_H 00020 #define CONFIG_GOBJ_H 00021 00022 #include "pandabase.h" 00023 #include "notifyCategoryProxy.h" 00024 00025 NotifyCategoryDecl(gobj, EXPCL_PANDA, EXPTP_PANDA); 00026 00027 // Configure variables for gobj package. 00028 extern EXPCL_PANDA const int max_texture_dimension; 00029 extern EXPCL_PANDA bool textures_up_power_2; 00030 extern EXPCL_PANDA bool textures_down_power_2; 00031 extern EXPCL_PANDA bool textures_up_square; 00032 extern EXPCL_PANDA bool textures_down_square; 00033 extern EXPCL_PANDA bool keep_texture_ram; 00034 extern EXPCL_PANDA bool keep_geom_ram; 00035 extern EXPCL_PANDA bool retained_mode; 00036 00037 enum BamTextureMode { 00038 BTM_unchanged, 00039 BTM_fullpath, 00040 BTM_relative, 00041 BTM_basename 00042 }; 00043 extern EXPCL_PANDA BamTextureMode bam_texture_mode; 00044 extern EXPCL_PANDA const string fake_texture_image; 00045 00046 extern EXPCL_PANDA const bool debug_number_mode; 00047 extern EXPCL_PANDA const int select_LOD_number; 00048 extern EXPCL_PANDA const int minimum_LOD_number; 00049 extern EXPCL_PANDA const bool debug_LOD_mode; 00050 00051 #endif 00052 00053