Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
DLL.cpp File Reference
#include "precompiled.h"
#include "CommonConvert.h"
#include "PMDConvert.h"
#include "PSAConvert.h"
#include "StdSkeletons.h"
#include <cstdarg>
#include <cassert>
Include dependency graph for DLL.cpp:

Classes

struct  BufferedOutputCallback
 

Functions

void default_logger (void *, int severity, const char *message)
 
EXPORT void set_logger (LogFn logger, void *cb_data)
 
void Log (int severity, const char *msg,...)
 
int convert_dae_to_whatever (const char *dae, OutputFn writer, void *cb_data, void(*conv)(const char *, OutputCB &, std::string &))
 
EXPORT int convert_dae_to_pmd (const char *dae, OutputFn pmd_writer, void *cb_data)
 
EXPORT int convert_dae_to_psa (const char *dae, OutputFn psa_writer, void *cb_data)
 
EXPORT int set_skeleton_definitions (const char *xml, int length)
 

Variables

static LogFn g_Logger = &default_logger
 
static void * g_LoggerCBData = NULL
 

Function Documentation

◆ convert_dae_to_pmd()

EXPORT int convert_dae_to_pmd ( const char *  dae,
OutputFn  pmd_writer,
void *  cb_data 
)

◆ convert_dae_to_psa()

EXPORT int convert_dae_to_psa ( const char *  dae,
OutputFn  psa_writer,
void *  cb_data 
)

◆ convert_dae_to_whatever()

int convert_dae_to_whatever ( const char *  dae,
OutputFn  writer,
void *  cb_data,
void(*)(const char *, OutputCB &, std::string &)  conv 
)

◆ default_logger()

void default_logger ( void *  ,
int  severity,
const char *  message 
)

◆ Log()

void Log ( int  severity,
const char *  msg,
  ... 
)

◆ set_logger()

EXPORT void set_logger ( LogFn  logger,
void *  cb_data 
)

◆ set_skeleton_definitions()

EXPORT int set_skeleton_definitions ( const char *  xml,
int  length 
)

Variable Documentation

◆ g_Logger

LogFn g_Logger = &default_logger
static

◆ g_LoggerCBData

void* g_LoggerCBData = NULL
static