open_toontown_panda3d/panda/src/builder/config_builder.cxx

45 lines
1.4 KiB
C++

// Filename: config_builder.cxx
// Created by: drose (29Feb00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3d
// Software license. You should have received a copy of this license
// along with this source code; you will also find a current copy of
// the license at http://www.panda3d.org/license.txt .
//
// To contact the maintainers of this program write to
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#include "config_builder.h"
#include <dconfig.h>
Configure(config_builder);
NotifyCategoryDef(builder, "");
ConfigureFn(config_builder) {
init_libbuilder();
}
////////////////////////////////////////////////////////////////////
// Function: init_libbuilder
// Description: Initializes the library. This must be called at
// least once before any of the functions or classes in
// this library can be used. Normally it will be
// called by the static initializers and need not be
// called explicitly, but special cases exist.
////////////////////////////////////////////////////////////////////
void
init_libbuilder() {
static bool initialized = false;
if (initialized) {
return;
}
initialized = true;
}