This commit is contained in:
David Rose 2003-01-27 22:56:37 +00:00
parent 3d63983b5c
commit 465c6aecff
11 changed files with 29 additions and 27 deletions

View File

@ -26,11 +26,11 @@
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : EggBackPointer // Class : EggBackPointer
// Description : This stores a pointer from an EggJointData or // Description : This stores a pointer from an EggJointData or
// EggSlider object back to the referencing data in an // EggSliderData object back to the referencing data in
// egg file. One of these objects corresponds to each // an egg file. One of these objects corresponds to
// model appearing in an egg file, and may reference // each model appearing in an egg file, and may
// either a single node, or a table, or a slew of // reference either a single node, or a table, or a slew
// vertices and primitives, depending on the type of // of vertices and primitives, depending on the type of
// data stored. // data stored.
// //
// This is just an abstract base class. The actual // This is just an abstract base class. The actual

View File

@ -92,6 +92,8 @@ private:
void add_morph_back_pointers(EggAttributes *attrib, EggObject *egg_object, void add_morph_back_pointers(EggAttributes *attrib, EggObject *egg_object,
int model_index, EggCharacterData *char_data); int model_index, EggCharacterData *char_data);
// The _top_egg_nodes member is only used temporarily, when adding
// each pre-existing egg file to the structure for the first time.
typedef pvector<EggNode *> EggNodeList; typedef pvector<EggNode *> EggNodeList;
typedef pmap<EggNode *, EggNodeList> TopEggNodes; typedef pmap<EggNode *, EggNodeList> TopEggNodes;
typedef pmap<string, TopEggNodes> TopEggNodesByName; typedef pmap<string, TopEggNodes> TopEggNodesByName;

View File

@ -21,7 +21,7 @@
#include "eggJointData.h" #include "eggJointData.h"
#include "eggSliderData.h" #include "eggSliderData.h"
#include <indent.h> #include "indent.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Function: EggCharacterData::Constructor // Function: EggCharacterData::Constructor

View File

@ -19,13 +19,13 @@
#ifndef EGGCHARACTERDATA_H #ifndef EGGCHARACTERDATA_H
#define EGGCHARACTERDATA_H #define EGGCHARACTERDATA_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include "eggJointData.h" #include "eggJointData.h"
#include <eggNode.h> #include "eggNode.h"
#include <pointerTo.h> #include "pointerTo.h"
#include <namable.h> #include "namable.h"
#include "pmap.h" #include "pmap.h"

View File

@ -19,7 +19,7 @@
#include "eggComponentData.h" #include "eggComponentData.h"
#include "eggBackPointer.h" #include "eggBackPointer.h"
#include <indent.h> #include "indent.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

View File

@ -19,9 +19,9 @@
#ifndef EGGCOMPONENTDATA_H #ifndef EGGCOMPONENTDATA_H
#define EGGCOMPONENTDATA_H #define EGGCOMPONENTDATA_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include <namable.h> #include "namable.h"
class EggCharacterCollection; class EggCharacterCollection;
class EggCharacterData; class EggCharacterData;

View File

@ -19,11 +19,11 @@
#ifndef EGGJOINTDATA_H #ifndef EGGJOINTDATA_H
#define EGGJOINTDATA_H #define EGGJOINTDATA_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include "eggComponentData.h" #include "eggComponentData.h"
#include <luse.h> #include "luse.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : EggJointData // Class : EggJointData

View File

@ -19,12 +19,12 @@
#ifndef EGGJOINTNODEPOINTER_H #ifndef EGGJOINTNODEPOINTER_H
#define EGGJOINTNODEPOINTER_H #define EGGJOINTNODEPOINTER_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include "eggJointPointer.h" #include "eggJointPointer.h"
#include <eggGroup.h> #include "eggGroup.h"
#include <pointerTo.h> #include "pointerTo.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : EggJointNodePointer // Class : EggJointNodePointer

View File

@ -19,11 +19,11 @@
#ifndef EGGJOINTPOINTER_H #ifndef EGGJOINTPOINTER_H
#define EGGJOINTPOINTER_H #define EGGJOINTPOINTER_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include "eggBackPointer.h" #include "eggBackPointer.h"
#include <luse.h> #include "luse.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : EggJointPointer // Class : EggJointPointer

View File

@ -19,13 +19,13 @@
#ifndef EGGMATRIXTABLEPOINTER_H #ifndef EGGMATRIXTABLEPOINTER_H
#define EGGMATRIXTABLEPOINTER_H #define EGGMATRIXTABLEPOINTER_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include "eggJointPointer.h" #include "eggJointPointer.h"
#include <eggTable.h> #include "eggTable.h"
#include <eggXfmSAnim.h> #include "eggXfmSAnim.h"
#include <pointerTo.h> #include "pointerTo.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : EggMatrixTablePointer // Class : EggMatrixTablePointer

View File

@ -19,12 +19,12 @@
#ifndef EGGVERTEXPOINTER_H #ifndef EGGVERTEXPOINTER_H
#define EGGVERTEXPOINTER_H #define EGGVERTEXPOINTER_H
#include <pandatoolbase.h> #include "pandatoolbase.h"
#include "eggBackPointer.h" #include "eggBackPointer.h"
#include <eggGroup.h> #include "eggGroup.h"
#include <pointerTo.h> #include "pointerTo.h"
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Class : EggVertexPointer // Class : EggVertexPointer