Panda3D
 All Classes Functions Variables Enumerations
panda.cxx
00001 // Filename: panda.cxx
00002 // Created by:  drose (15May00)
00003 // 
00004 ////////////////////////////////////////////////////////////////////
00005 
00006 #include "panda.h"
00007 
00008 #include "config_pnmimagetypes.h"
00009 #include "config_device.h"
00010 #include "config_display.h"
00011 #include "config_pgraph.h"
00012 #ifdef DO_PSTATS
00013 #include "config_pstats.h"
00014 #endif
00015 
00016 // By including checkPandaVersion.h, we guarantee that runtime
00017 // attempts to load libpanda.so/.dll will fail if they inadvertently
00018 // link with the wrong version of libdtool.so/.dll.
00019 
00020 #include "checkPandaVersion.h"
00021 
00022 ////////////////////////////////////////////////////////////////////
00023 //     Function: init_libpanda
00024 //  Description: Initializes the library.  This must be called at
00025 //               least once before any of the functions or classes in
00026 //               this library can be used.  Normally it will be
00027 //               called by the static initializers and need not be
00028 //               called explicitly, but special cases exist.
00029 ////////////////////////////////////////////////////////////////////
00030 void
00031 init_libpanda() {
00032   init_libpnmimagetypes();
00033   init_libdevice();
00034   init_libdisplay();
00035   init_libpgraph();
00036 #ifdef DO_PSTATS
00037   init_libpstatclient();
00038 #endif
00039 }
 All Classes Functions Variables Enumerations