# Define the display types that have been compiled in.  Panda will
# pick one of these by going through the list in this order until one
# is found that works, unless the user specifically requests a
# particular display type with the load-display directive.
aux-display pandagl
aux-display pandadx8

# The egg loader is handy to have available by default.  This allows
# clients to load egg files.  (The bam loader is built-in so bam files
# are always loadable).

# By qualifying with the extension "egg", we indicate the egg loader
# should be made available only if you explicitly name a file with an
# .egg extension.

# Also see ptloader, which is built as part of pandatool; it allows
# files of more exotic types (like .flt, .mb, .lwo, and .dxf) to be
# loaded directly into Panda.
load-file-type egg pandaegg

# The following lines define some handy object types to use within the
# egg syntax.  This remaps <ObjectType> { name } into whatever egg
# syntax is given by egg-object-type-name, which makes a handy
# abbreviation for modeling packages (like Maya) to insert
# sophisticated egg syntax into the generated egg file, using a single
# object type string.
egg-object-type-portal          <Scalar> portal { 1 }
egg-object-type-polylight       <Scalar> polylight { 1 }
egg-object-type-seq24           <Switch> { 1 } <Scalar> fps { 24 }
egg-object-type-seq12           <Switch> { 1 } <Scalar> fps { 12 }
egg-object-type-indexed         <Scalar> indexed { 1 }

# These are just shortcuts to define the Model and DCS flags, which
# indicate nodes that should not be flattened out of the hierarchy
# during the conversion process.  DCS goes one step further and
# indicates that the node's transform is important and should be
# preserved (DCS stands for Dynamic Coordinate System).
egg-object-type-model           <Model> { 1 }
egg-object-type-dcs             <DCS> { 1 }

# The following define various kinds of collision geometry.  These
# mark the geometry at this level and below as invisible collision
# polygons, which can be used by Panda's collision system to detect
# collisions more optimally than regular visible polygons.
egg-object-type-barrier         <Collide> { Polyset descend }
egg-object-type-sphere          <Collide> { Sphere descend }
egg-object-type-invsphere       <Collide> { InvSphere descend }
egg-object-type-tube            <Collide> { Tube descend }

# As above, but these are flagged to be "intangible", so that they
# will trigger an event but not stop an object from passing through.
egg-object-type-trigger         <Collide> { Polyset descend intangible }
egg-object-type-trigger-sphere  <Collide> { Sphere descend intangible }

# "bubble" puts an invisible bubble around an object, but does not
# otherwise remove the geometry.
egg-object-type-bubble          <Collide> { Sphere keep descend }

# "ghost" turns off the normal collide bit that is set on visible
# geometry by default, so that if you are using visible geometry for
# collisions, this particular geometry will not be part of those
# collisions--it is ghostlike.
egg-object-type-ghost           <Scalar> collide-mask { 0 }

# Define a new egg object type.  See the comments in _panda.prc about this.
egg-object-type-direct-widget   <Scalar> collide-mask { 0x80000000 } <Collide> { Polyset descend }

# Define a new cull bin that will render on top of everything else.
cull-bin gui-popup 60 unsorted

# Uncomment one of the following lines to choose 
# rendering API
load-display pandagl
#load-display pandadx8

show-frame-rate-meter false

# These control the placement and size of the default rendering window.
win-origin 100 100
win-size 800 600

# Set to false for windowed mode
fullscreen true

# Windows ships with a software OpenGL driver; if you have not
# installed an OpenGL driver for your graphics card you may be able to
# run OpenGL in software only.  If you don't object to running OpenGL
# in software leave this variable set true.
gl-allow-software-renderer 1

# These control the amount of output Panda gives for some various
# categories.  The severity levels, in order, are "spam", "debug",
# "info", "warning", and "fatal"; the default is "info".
notify-level-audio                       error
notify-level-glgsg                       error
notify-level-pgraph						 error
notify-level-loader                      error
notify-level-egg2pg                      error
notify-level-gobj                        error
notify-level-pnmimage                    error
notify-level-pnmtext                     error
notify-level-actor						 error
notify-level-chan						 error

# Load paths for models, textures, and sounds
model-path  .
texture-path .
texture-path models
sound-path  .
sound-path  models

# Load the FMOD audio driver
audio-library-name fmod_audio

# General Audio Settings
audio-cache-limit 1024
audio-output-rate 44100
audio-output-bits 16
audio-volume 1.0

# 3D Audio Settings
audio-doppler-factor 1.0
audio-drop-off-factor 1.0
audio-distance-factor 1.0

# This may overwrite the PandaPlayer's language setting.
# Maintain this format for the language entries for the
# automated build process.
text-encoding utf8    # required for certain languages to work
language english
#language japanese
#language spanish
#language brazilian
#language lasp

window-title MermaidPinball
icon-filename MermaidPinball.ico
