Deleting dead code

This commit is contained in:
Josh Yelon 2008-08-19 04:18:23 +00:00
parent c035bc7665
commit c9c32af2ab
9 changed files with 1077 additions and 1355 deletions

View File

@ -1 +0,0 @@
char Logger::dummy[65536];

View File

@ -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

View File

@ -73,7 +73,6 @@ from_INode(INode *max_node) {
((c->ClassID() == BIPSLAVE_CONTROL_CLASS_ID) ||
(c->ClassID() == BIPBODY_CONTROL_CLASS_ID) ||
(c->ClassID() == FOOTPRINT_CLASS_ID)))) {
Logger::Log( MTEC, Logger::SAT_MEDIUM_LEVEL, "Found a joint." );
// This node is a joint.
_joint_type = JT_node_joint;

View File

@ -109,9 +109,6 @@ build_complete_hierarchy(INode *root, ULONG *selection_list, int len) {
_root->check_pseudo_joints(false);
}
Logger::Log( MTEC, Logger::SAT_MEDIUM_LEVEL,
"finished building complete hierarchy" );
return all_ok;
}

File diff suppressed because it is too large Load Diff

View File

@ -89,18 +89,18 @@ class MaxToEggConverter {
public:
EggTextureCollection _textures;
enum TransformType {
TT_invalid,
TT_all,
TT_model,
TT_dcs,
TT_none,
};
TransformType _transform_type;
enum TransformType {
TT_invalid,
TT_all,
TT_model,
TT_dcs,
TT_none,
};
TransformType _transform_type;
static TransformType string_transform_type(const string &arg);
static TransformType string_transform_type(const string &arg);
Modifier* FindSkinModifier (INode* node, const Class_ID &type);
Modifier* FindSkinModifier (INode* node, const Class_ID &type);
};

View File

@ -47,14 +47,12 @@
#include "maxNodeDesc.h"
#include "maxNodeTree.h"
#include "maxLogger.h"
#include "maxToEgg.h"
#include "maxEggExpOptions.h"
#include "maxToEggConverter.h"
#include "maxEgg.h"
#include "maxDllEntry.cxx"
#include "maxLogger.cxx"
#include "maxEgg.cxx"
#include "maxEggExpOptions.cxx"
#include "maxNodeDesc.cxx"