mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
Deleting dead code
This commit is contained in:
parent
c035bc7665
commit
c9c32af2ab
@ -1 +0,0 @@
|
|||||||
char Logger::dummy[65536];
|
|
@ -1,56 +0,0 @@
|
|||||||
#ifndef __maxLogger__H
|
|
||||||
#define __maxLogger__H
|
|
||||||
|
|
||||||
class Logger
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
enum SystemAspectType
|
|
||||||
{
|
|
||||||
SAT_NONE = 0x0000,
|
|
||||||
SAT_NULL_ERROR = 0x0001,
|
|
||||||
SAT_CRITICAL_ERROR = 0x0002,
|
|
||||||
SAT_PARAMETER_INVALID_ERROR = 0x0004,
|
|
||||||
SAT_OTHER_ERROR = 0x0008,
|
|
||||||
SAT_HIGH_LEVEL = 0x0010,
|
|
||||||
SAT_MEDIUM_LEVEL = 0x0020,
|
|
||||||
SAT_LOW_LEVEL = 0x0040,
|
|
||||||
SAT_DEBUG_SPAM_LEVEL = 0x0080,
|
|
||||||
SAT_ALL = 0x00FF
|
|
||||||
};
|
|
||||||
|
|
||||||
enum SystemType
|
|
||||||
{
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM1 = 0x0000,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM2 = 0x0001,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM3 = 0x0002,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM4 = 0x0003,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM5 = 0x0004,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM6 = 0x0005,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM7 = 0x0006,
|
|
||||||
ST_MAP_ME_TO_APP_SPECIFIC_SYSTEM8 = 0x0007
|
|
||||||
};
|
|
||||||
|
|
||||||
enum LoggingPipeType
|
|
||||||
{
|
|
||||||
PIPE_TO_FILE, PIPE_TO_COUT, PIPE_TO_CERR, PIPE_TO_DIALOG_BOX, PIPE_TO_DEV_NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
Logger() {}
|
|
||||||
Logger( LoggingPipeType toWhere, char *additionalStringInfo ) { }
|
|
||||||
~Logger() { }
|
|
||||||
static void FunctionEntry( char *newFunctionName ) { }
|
|
||||||
static void FunctionExit() { }
|
|
||||||
static int GetHierarchyLevel() { }
|
|
||||||
static char * GetLogString() { return dummy; }
|
|
||||||
static void Log( SystemType whichSystem, SystemAspectType whichErrorKind, char *errorDescription ) { }
|
|
||||||
static void SetCurrentFunctionName( char *newFunctionName ) { }
|
|
||||||
static void SetHierarchyLevel( unsigned int newIndentLevel ) { }
|
|
||||||
static void SetOneErrorMask( SystemType whichType, long int whichErrors ) { }
|
|
||||||
static void SetPipe( LoggingPipeType toWhere, char *additionalStringInfo ) { }
|
|
||||||
|
|
||||||
static char dummy[65536];
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
@ -73,7 +73,6 @@ from_INode(INode *max_node) {
|
|||||||
((c->ClassID() == BIPSLAVE_CONTROL_CLASS_ID) ||
|
((c->ClassID() == BIPSLAVE_CONTROL_CLASS_ID) ||
|
||||||
(c->ClassID() == BIPBODY_CONTROL_CLASS_ID) ||
|
(c->ClassID() == BIPBODY_CONTROL_CLASS_ID) ||
|
||||||
(c->ClassID() == FOOTPRINT_CLASS_ID)))) {
|
(c->ClassID() == FOOTPRINT_CLASS_ID)))) {
|
||||||
Logger::Log( MTEC, Logger::SAT_MEDIUM_LEVEL, "Found a joint." );
|
|
||||||
|
|
||||||
// This node is a joint.
|
// This node is a joint.
|
||||||
_joint_type = JT_node_joint;
|
_joint_type = JT_node_joint;
|
||||||
|
@ -109,9 +109,6 @@ build_complete_hierarchy(INode *root, ULONG *selection_list, int len) {
|
|||||||
_root->check_pseudo_joints(false);
|
_root->check_pseudo_joints(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger::Log( MTEC, Logger::SAT_MEDIUM_LEVEL,
|
|
||||||
"finished building complete hierarchy" );
|
|
||||||
|
|
||||||
return all_ok;
|
return all_ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -47,14 +47,12 @@
|
|||||||
|
|
||||||
#include "maxNodeDesc.h"
|
#include "maxNodeDesc.h"
|
||||||
#include "maxNodeTree.h"
|
#include "maxNodeTree.h"
|
||||||
#include "maxLogger.h"
|
|
||||||
#include "maxToEgg.h"
|
#include "maxToEgg.h"
|
||||||
#include "maxEggExpOptions.h"
|
#include "maxEggExpOptions.h"
|
||||||
#include "maxToEggConverter.h"
|
#include "maxToEggConverter.h"
|
||||||
#include "maxEgg.h"
|
#include "maxEgg.h"
|
||||||
|
|
||||||
#include "maxDllEntry.cxx"
|
#include "maxDllEntry.cxx"
|
||||||
#include "maxLogger.cxx"
|
|
||||||
#include "maxEgg.cxx"
|
#include "maxEgg.cxx"
|
||||||
#include "maxEggExpOptions.cxx"
|
#include "maxEggExpOptions.cxx"
|
||||||
#include "maxNodeDesc.cxx"
|
#include "maxNodeDesc.cxx"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user