historical/toontown-classic.git/panda/include/config_egg.h
2024-01-16 11:20:27 -06:00

47 lines
1.7 KiB
C

/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file config_egg.h
* @author drose
* @date 2000-03-19
*/
#ifndef CONFIG_EGG_H
#define CONFIG_EGG_H
#include "pandabase.h"
#include "notifyCategoryProxy.h"
#include "configVariableSearchPath.h"
#include "configVariableBool.h"
#include "configVariableEnum.h"
#include "configVariableDouble.h"
#include "configVariableInt.h"
NotifyCategoryDecl(egg, EXPCL_PANDA_EGG, EXPTP_PANDA_EGG);
extern ConfigVariableBool egg_support_old_anims;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_mesh;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_retesselate_coplanar;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_unroll_fans;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_show_tstrips;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_show_qsheets;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_show_quads;
#define egg_false_color (egg_show_tstrips | egg_show_qsheets | egg_show_quads)
extern EXPCL_PANDA_EGG ConfigVariableBool egg_subdivide_polys;
extern EXPCL_PANDA_EGG ConfigVariableBool egg_consider_fans;
extern EXPCL_PANDA_EGG ConfigVariableDouble egg_max_tfan_angle;
extern EXPCL_PANDA_EGG ConfigVariableInt egg_min_tfan_tris;
extern EXPCL_PANDA_EGG ConfigVariableDouble egg_coplanar_threshold;
extern EXPCL_PANDA_EGG ConfigVariableInt egg_test_vref_integrity;
extern EXPCL_PANDA_EGG ConfigVariableInt egg_recursion_limit;
extern EXPCL_PANDA_EGG ConfigVariableInt egg_precision;
extern EXPCL_PANDA_EGG void init_libegg();
#endif