Added: #1440 Dummy classes for editable mesh, poly and patch
--HG-- branch : build_pipeline_v3hg/feature/build_pipeline_v3
parent
b6ec41f53d
commit
e5cd5eb497
@ -0,0 +1,111 @@
|
|||||||
|
/**
|
||||||
|
* \file editable_patch.cpp
|
||||||
|
* \brief CEditablePatch
|
||||||
|
* \date 2012-08-26 12:12GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditablePatch
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "editable_patch.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
// using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace BUILTIN {
|
||||||
|
|
||||||
|
CEditablePatch::CEditablePatch(CScene *scene) : CPatchObject(scene)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CEditablePatch::~CEditablePatch()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucstring CEditablePatch::DisplayName = ucstring("EditablePatch");
|
||||||
|
const char *CEditablePatch::InternalName = "EditablePatch";
|
||||||
|
const NLMISC::CClassId CEditablePatch::ClassId = NLMISC::CClassId(0x00001030, 0x00000000);
|
||||||
|
const TSClassId CEditablePatch::SuperClassId = CPatchObject::SuperClassId;
|
||||||
|
const CEditablePatchClassDesc EditablePatchClassDesc(&DllPluginDescBuiltin);
|
||||||
|
|
||||||
|
void CEditablePatch::parse(uint16 version)
|
||||||
|
{
|
||||||
|
CPatchObject::parse(version);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePatch::clean()
|
||||||
|
{
|
||||||
|
CPatchObject::clean();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePatch::build(uint16 version)
|
||||||
|
{
|
||||||
|
CPatchObject::build(version);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePatch::disown()
|
||||||
|
{
|
||||||
|
CPatchObject::disown();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePatch::init()
|
||||||
|
{
|
||||||
|
CPatchObject::init();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CEditablePatch::inherits(const NLMISC::CClassId classId) const
|
||||||
|
{
|
||||||
|
if (classId == classDesc()->classId()) return true;
|
||||||
|
return CPatchObject::inherits(classId);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ISceneClassDesc *CEditablePatch::classDesc() const
|
||||||
|
{
|
||||||
|
return &EditablePatchClassDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePatch::toStringLocal(std::ostream &ostream, const std::string &pad) const
|
||||||
|
{
|
||||||
|
CPatchObject::toStringLocal(ostream, pad);
|
||||||
|
}
|
||||||
|
|
||||||
|
IStorageObject *CEditablePatch::createChunkById(uint16 id, bool container)
|
||||||
|
{
|
||||||
|
return CPatchObject::createChunkById(id, container);
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace BUILTIN */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,86 @@
|
|||||||
|
/**
|
||||||
|
* \file editable_patch.h
|
||||||
|
* \brief CEditablePatch
|
||||||
|
* \date 2012-08-26 12:12GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditablePatch
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_EDITABLE_PATCH_H
|
||||||
|
#define PIPELINE_EDITABLE_PATCH_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "patch_object.h"
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace BUILTIN {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CEditablePatch
|
||||||
|
* \date 2012-08-26 12:12GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditablePatch
|
||||||
|
*/
|
||||||
|
class CEditablePatch : public CPatchObject
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CEditablePatch(CScene *scene);
|
||||||
|
virtual ~CEditablePatch();
|
||||||
|
|
||||||
|
// class desc
|
||||||
|
static const ucstring DisplayName;
|
||||||
|
static const char *InternalName;
|
||||||
|
static const NLMISC::CClassId ClassId;
|
||||||
|
static const TSClassId SuperClassId;
|
||||||
|
|
||||||
|
// inherited
|
||||||
|
virtual void parse(uint16 version);
|
||||||
|
virtual void clean();
|
||||||
|
virtual void build(uint16 version);
|
||||||
|
virtual void disown();
|
||||||
|
virtual void init();
|
||||||
|
virtual bool inherits(const NLMISC::CClassId classId) const;
|
||||||
|
virtual const ISceneClassDesc *classDesc() const;
|
||||||
|
virtual void toStringLocal(std::ostream &ostream, const std::string &pad = "") const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
// inherited
|
||||||
|
virtual IStorageObject *createChunkById(uint16 id, bool container);
|
||||||
|
|
||||||
|
}; /* class CEditablePatch */
|
||||||
|
|
||||||
|
typedef CSceneClassDesc<CEditablePatch> CEditablePatchClassDesc;
|
||||||
|
extern const CEditablePatchClassDesc EditablePatchClassDesc;
|
||||||
|
|
||||||
|
} /* namespace BUILTIN */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_EDITABLE_PATCH_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* \file derived_object.cpp
|
||||||
|
* \brief CDerivedObject
|
||||||
|
* \date 2012-08-26 12:04GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CDerivedObject
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "derived_object.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
CDerivedObject::CDerivedObject()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CDerivedObject::~CDerivedObject()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,63 @@
|
|||||||
|
/**
|
||||||
|
* \file derived_object.h
|
||||||
|
* \brief CDerivedObject
|
||||||
|
* \date 2012-08-26 12:04GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CDerivedObject
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_DERIVED_OBJECT_H
|
||||||
|
#define PIPELINE_DERIVED_OBJECT_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CDerivedObject
|
||||||
|
* \date 2012-08-26 12:04GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CDerivedObject
|
||||||
|
*/
|
||||||
|
class CDerivedObject
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
// pointers
|
||||||
|
// ...
|
||||||
|
|
||||||
|
// instances
|
||||||
|
// ...
|
||||||
|
public:
|
||||||
|
CDerivedObject();
|
||||||
|
virtual ~CDerivedObject();
|
||||||
|
}; /* class CDerivedObject */
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_DERIVED_OBJECT_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,112 @@
|
|||||||
|
/**
|
||||||
|
* \file editable_poly.cpp
|
||||||
|
* \brief CEditablePoly
|
||||||
|
* \date 2012-08-26 12:02GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditablePoly
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "editable_poly.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "epoly.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace EPOLY {
|
||||||
|
|
||||||
|
CEditablePoly::CEditablePoly(CScene *scene) : CPolyObject(scene)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CEditablePoly::~CEditablePoly()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucstring CEditablePoly::DisplayName = ucstring("EditablePoly");
|
||||||
|
const char *CEditablePoly::InternalName = "EditablePoly";
|
||||||
|
const NLMISC::CClassId CEditablePoly::ClassId = NLMISC::CClassId(0x1bf8338d, 0x192f6098);
|
||||||
|
const TSClassId CEditablePoly::SuperClassId = CPolyObject::SuperClassId;
|
||||||
|
const CEditablePolyClassDesc EditablePolyClassDesc(&DllPluginDescEPoly);
|
||||||
|
|
||||||
|
void CEditablePoly::parse(uint16 version)
|
||||||
|
{
|
||||||
|
CPolyObject::parse(version);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePoly::clean()
|
||||||
|
{
|
||||||
|
CPolyObject::clean();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePoly::build(uint16 version)
|
||||||
|
{
|
||||||
|
CPolyObject::build(version);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePoly::disown()
|
||||||
|
{
|
||||||
|
CPolyObject::disown();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePoly::init()
|
||||||
|
{
|
||||||
|
CPolyObject::init();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CEditablePoly::inherits(const NLMISC::CClassId classId) const
|
||||||
|
{
|
||||||
|
if (classId == classDesc()->classId()) return true;
|
||||||
|
return CPolyObject::inherits(classId);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ISceneClassDesc *CEditablePoly::classDesc() const
|
||||||
|
{
|
||||||
|
return &EditablePolyClassDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditablePoly::toStringLocal(std::ostream &ostream, const std::string &pad) const
|
||||||
|
{
|
||||||
|
CPolyObject::toStringLocal(ostream, pad);
|
||||||
|
}
|
||||||
|
|
||||||
|
IStorageObject *CEditablePoly::createChunkById(uint16 id, bool container)
|
||||||
|
{
|
||||||
|
return CPolyObject::createChunkById(id, container);
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace EPOLY */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,86 @@
|
|||||||
|
/**
|
||||||
|
* \file editable_poly.h
|
||||||
|
* \brief CEditablePoly
|
||||||
|
* \date 2012-08-26 12:02GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditablePoly
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_EDITABLE_POLY_H
|
||||||
|
#define PIPELINE_EDITABLE_POLY_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../builtin/poly_object.h"
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace EPOLY {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CEditablePoly
|
||||||
|
* \date 2012-08-26 12:02GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditablePoly
|
||||||
|
*/
|
||||||
|
class CEditablePoly : public PIPELINE::MAX::BUILTIN::CPolyObject
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CEditablePoly(CScene *scene);
|
||||||
|
virtual ~CEditablePoly();
|
||||||
|
|
||||||
|
// class desc
|
||||||
|
static const ucstring DisplayName;
|
||||||
|
static const char *InternalName;
|
||||||
|
static const NLMISC::CClassId ClassId;
|
||||||
|
static const TSClassId SuperClassId;
|
||||||
|
|
||||||
|
// inherited
|
||||||
|
virtual void parse(uint16 version);
|
||||||
|
virtual void clean();
|
||||||
|
virtual void build(uint16 version);
|
||||||
|
virtual void disown();
|
||||||
|
virtual void init();
|
||||||
|
virtual bool inherits(const NLMISC::CClassId classId) const;
|
||||||
|
virtual const ISceneClassDesc *classDesc() const;
|
||||||
|
virtual void toStringLocal(std::ostream &ostream, const std::string &pad = "") const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
// inherited
|
||||||
|
virtual IStorageObject *createChunkById(uint16 id, bool container);
|
||||||
|
|
||||||
|
}; /* class CEditablePoly */
|
||||||
|
|
||||||
|
typedef CSceneClassDesc<CEditablePoly> CEditablePolyClassDesc;
|
||||||
|
extern const CEditablePolyClassDesc EditablePolyClassDesc;
|
||||||
|
|
||||||
|
} /* namespace EPOLY */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_EDITABLE_POLY_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,81 @@
|
|||||||
|
/**
|
||||||
|
* \file epoly.cpp
|
||||||
|
* \brief CEPoly
|
||||||
|
* \date 2012-08-26 12:03GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEPoly
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "epoly.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../scene_class_registry.h"
|
||||||
|
|
||||||
|
#include "editable_poly.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace EPOLY {
|
||||||
|
|
||||||
|
CEPoly::CEPoly()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CEPoly::~CEPoly()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEPoly::registerClasses(CSceneClassRegistry *registry)
|
||||||
|
{
|
||||||
|
registry->add(&EditablePolyClassDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucchar *CDllPluginDescEPoly::displayName() const
|
||||||
|
{
|
||||||
|
static const ucstring value = ucstring("Editable Poly Object (Ryzom Core)");
|
||||||
|
return value.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucchar *CDllPluginDescEPoly::internalName() const
|
||||||
|
{
|
||||||
|
static const ucstring value = ucstring("EPoly.dlo");
|
||||||
|
return value.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
|
const CDllPluginDescEPoly DllPluginDescEPoly;
|
||||||
|
|
||||||
|
} /* namespace EPOLY */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,84 @@
|
|||||||
|
/**
|
||||||
|
* \file epoly.h
|
||||||
|
* \brief CEPoly
|
||||||
|
* \date 2012-08-26 12:03GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEPoly
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_EPOLY_H
|
||||||
|
#define PIPELINE_EPOLY_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../dll_plugin_desc.h"
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
|
||||||
|
class CSceneClassRegistry;
|
||||||
|
|
||||||
|
namespace EPOLY {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CEPoly
|
||||||
|
* \date 2012-08-26 12:03GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEPoly
|
||||||
|
*/
|
||||||
|
class CEPoly
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
static void registerClasses(CSceneClassRegistry *registry);
|
||||||
|
|
||||||
|
public:
|
||||||
|
CEPoly();
|
||||||
|
virtual ~CEPoly();
|
||||||
|
|
||||||
|
}; /* class CEPoly */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CDllPluginDescEPoly
|
||||||
|
* \date 2012-08-26 12:03GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CDllPluginDescEPoly
|
||||||
|
*/
|
||||||
|
class CDllPluginDescEPoly : public IDllPluginDescInternal
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual const ucchar *displayName() const;
|
||||||
|
virtual const ucchar *internalName() const;
|
||||||
|
}; /* class CDllPluginDescScript */
|
||||||
|
|
||||||
|
extern const CDllPluginDescEPoly DllPluginDescEPoly;
|
||||||
|
|
||||||
|
} /* namespace EPOLY */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_EPOLY_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* \file storage_file.cpp
|
||||||
|
* \brief CStorageFile
|
||||||
|
* \date 2012-08-20 13:35GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CStorageFile
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "storage_file.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
CStorageFile::CStorageFile()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CStorageFile::~CStorageFile()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,63 @@
|
|||||||
|
/**
|
||||||
|
* \file storage_file.h
|
||||||
|
* \brief CStorageFile
|
||||||
|
* \date 2012-08-20 13:35GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CStorageFile
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_STORAGE_FILE_H
|
||||||
|
#define PIPELINE_STORAGE_FILE_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CStorageFile
|
||||||
|
* \date 2012-08-20 13:35GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CStorageFile
|
||||||
|
*/
|
||||||
|
class CStorageFile
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
// pointers
|
||||||
|
// ...
|
||||||
|
|
||||||
|
// instances
|
||||||
|
// ...
|
||||||
|
public:
|
||||||
|
CStorageFile();
|
||||||
|
virtual ~CStorageFile();
|
||||||
|
}; /* class CStorageFile */
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_STORAGE_FILE_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,112 @@
|
|||||||
|
/**
|
||||||
|
* \file editable_mesh.cpp
|
||||||
|
* \brief CEditableMesh
|
||||||
|
* \date 2012-08-26 12:11GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditableMesh
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "editable_mesh.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "update1.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace UPDATE1 {
|
||||||
|
|
||||||
|
CEditableMesh::CEditableMesh(CScene *scene) : CTriObject(scene)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CEditableMesh::~CEditableMesh()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucstring CEditableMesh::DisplayName = ucstring("EditableMesh");
|
||||||
|
const char *CEditableMesh::InternalName = "EditableMesh";
|
||||||
|
const NLMISC::CClassId CEditableMesh::ClassId = NLMISC::CClassId(0xe44f10b3, 0x00000000);
|
||||||
|
const TSClassId CEditableMesh::SuperClassId = CTriObject::SuperClassId;
|
||||||
|
const CEditableMeshClassDesc EditableMeshClassDesc(&DllPluginDescUpdate1);
|
||||||
|
|
||||||
|
void CEditableMesh::parse(uint16 version)
|
||||||
|
{
|
||||||
|
CTriObject::parse(version);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditableMesh::clean()
|
||||||
|
{
|
||||||
|
CTriObject::clean();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditableMesh::build(uint16 version)
|
||||||
|
{
|
||||||
|
CTriObject::build(version);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditableMesh::disown()
|
||||||
|
{
|
||||||
|
CTriObject::disown();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditableMesh::init()
|
||||||
|
{
|
||||||
|
CTriObject::init();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CEditableMesh::inherits(const NLMISC::CClassId classId) const
|
||||||
|
{
|
||||||
|
if (classId == classDesc()->classId()) return true;
|
||||||
|
return CTriObject::inherits(classId);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ISceneClassDesc *CEditableMesh::classDesc() const
|
||||||
|
{
|
||||||
|
return &EditableMeshClassDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CEditableMesh::toStringLocal(std::ostream &ostream, const std::string &pad) const
|
||||||
|
{
|
||||||
|
CTriObject::toStringLocal(ostream, pad);
|
||||||
|
}
|
||||||
|
|
||||||
|
IStorageObject *CEditableMesh::createChunkById(uint16 id, bool container)
|
||||||
|
{
|
||||||
|
return CTriObject::createChunkById(id, container);
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace UPDATE1 */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,86 @@
|
|||||||
|
/**
|
||||||
|
* \file editable_mesh.h
|
||||||
|
* \brief CEditableMesh
|
||||||
|
* \date 2012-08-26 12:11GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditableMesh
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_EDITABLE_MESH_H
|
||||||
|
#define PIPELINE_EDITABLE_MESH_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../builtin/tri_object.h"
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace UPDATE1 {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CEditableMesh
|
||||||
|
* \date 2012-08-26 12:11GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CEditableMesh
|
||||||
|
*/
|
||||||
|
class CEditableMesh : public PIPELINE::MAX::BUILTIN::CTriObject
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CEditableMesh(CScene *scene);
|
||||||
|
virtual ~CEditableMesh();
|
||||||
|
|
||||||
|
// class desc
|
||||||
|
static const ucstring DisplayName;
|
||||||
|
static const char *InternalName;
|
||||||
|
static const NLMISC::CClassId ClassId;
|
||||||
|
static const TSClassId SuperClassId;
|
||||||
|
|
||||||
|
// inherited
|
||||||
|
virtual void parse(uint16 version);
|
||||||
|
virtual void clean();
|
||||||
|
virtual void build(uint16 version);
|
||||||
|
virtual void disown();
|
||||||
|
virtual void init();
|
||||||
|
virtual bool inherits(const NLMISC::CClassId classId) const;
|
||||||
|
virtual const ISceneClassDesc *classDesc() const;
|
||||||
|
virtual void toStringLocal(std::ostream &ostream, const std::string &pad = "") const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
// inherited
|
||||||
|
virtual IStorageObject *createChunkById(uint16 id, bool container);
|
||||||
|
|
||||||
|
}; /* class CEditableMesh */
|
||||||
|
|
||||||
|
typedef CSceneClassDesc<CEditableMesh> CEditableMeshClassDesc;
|
||||||
|
extern const CEditableMeshClassDesc EditableMeshClassDesc;
|
||||||
|
|
||||||
|
} /* namespace UPDATE1 */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_EDITABLE_MESH_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,81 @@
|
|||||||
|
/**
|
||||||
|
* \file update1.cpp
|
||||||
|
* \brief CUpdate1
|
||||||
|
* \date 2012-08-26 12:11GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CUpdate1
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "update1.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../scene_class_registry.h"
|
||||||
|
|
||||||
|
#include "editable_mesh.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
namespace UPDATE1 {
|
||||||
|
|
||||||
|
CUpdate1::CUpdate1()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CUpdate1::~CUpdate1()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void CUpdate1::registerClasses(CSceneClassRegistry *registry)
|
||||||
|
{
|
||||||
|
registry->add(&EditableMeshClassDesc);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucchar *CDllPluginDescUpdate1::displayName() const
|
||||||
|
{
|
||||||
|
static const ucstring value = ucstring("Editable Mesh Object (Ryzom Core)");
|
||||||
|
return value.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
|
const ucchar *CDllPluginDescUpdate1::internalName() const
|
||||||
|
{
|
||||||
|
static const ucstring value = ucstring("update1.dlo");
|
||||||
|
return value.c_str();
|
||||||
|
}
|
||||||
|
|
||||||
|
const CDllPluginDescUpdate1 DllPluginDescUpdate1;
|
||||||
|
|
||||||
|
} /* namespace UPDATE1 */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,84 @@
|
|||||||
|
/**
|
||||||
|
* \file update1.h
|
||||||
|
* \brief CUpdate1
|
||||||
|
* \date 2012-08-26 12:11GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CUpdate1
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_UPDATE1_H
|
||||||
|
#define PIPELINE_UPDATE1_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
#include "../dll_plugin_desc.h"
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
namespace MAX {
|
||||||
|
|
||||||
|
class CSceneClassRegistry;
|
||||||
|
|
||||||
|
namespace UPDATE1 {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CUpdate1
|
||||||
|
* \date 2012-08-26 12:11GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CUpdate1
|
||||||
|
*/
|
||||||
|
class CUpdate1
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
static void registerClasses(CSceneClassRegistry *registry);
|
||||||
|
|
||||||
|
public:
|
||||||
|
CUpdate1();
|
||||||
|
virtual ~CUpdate1();
|
||||||
|
|
||||||
|
}; /* class CUpdate1 */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CDllPluginDescUpdate1
|
||||||
|
* \date 2012-08-26 12:03GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CDllPluginDescUpdate1
|
||||||
|
*/
|
||||||
|
class CDllPluginDescUpdate1 : public IDllPluginDescInternal
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual const ucchar *displayName() const;
|
||||||
|
virtual const ucchar *internalName() const;
|
||||||
|
}; /* class CDllPluginDescScript */
|
||||||
|
|
||||||
|
extern const CDllPluginDescUpdate1 DllPluginDescUpdate1;
|
||||||
|
|
||||||
|
} /* namespace UPDATE1 */
|
||||||
|
} /* namespace MAX */
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_UPDATE1_H */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* \file wsm_derived_object.cpp
|
||||||
|
* \brief CWSMDerivedObject
|
||||||
|
* \date 2012-08-26 12:05GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CWSMDerivedObject
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
#include "wsm_derived_object.h"
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
// #include <nel/misc/debug.h>
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
// using namespace NLMISC;
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
CWSMDerivedObject::CWSMDerivedObject()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
CWSMDerivedObject::~CWSMDerivedObject()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
/* end of file */
|
@ -0,0 +1,63 @@
|
|||||||
|
/**
|
||||||
|
* \file wsm_derived_object.h
|
||||||
|
* \brief CWSMDerivedObject
|
||||||
|
* \date 2012-08-26 12:05GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CWSMDerivedObject
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2012 by authors
|
||||||
|
*
|
||||||
|
* This file is part of RYZOM CORE PIPELINE.
|
||||||
|
* RYZOM CORE PIPELINE is free software: you can redistribute it
|
||||||
|
* and/or modify it under the terms of the GNU Affero General Public
|
||||||
|
* License as published by the Free Software Foundation, either
|
||||||
|
* version 3 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* RYZOM CORE PIPELINE is distributed in the hope that it will be
|
||||||
|
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||||
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public
|
||||||
|
* License along with RYZOM CORE PIPELINE. If not, see
|
||||||
|
* <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PIPELINE_WSM_DERIVED_OBJECT_H
|
||||||
|
#define PIPELINE_WSM_DERIVED_OBJECT_H
|
||||||
|
#include <nel/misc/types_nl.h>
|
||||||
|
|
||||||
|
// STL includes
|
||||||
|
|
||||||
|
// NeL includes
|
||||||
|
|
||||||
|
// Project includes
|
||||||
|
|
||||||
|
namespace PIPELINE {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief CWSMDerivedObject
|
||||||
|
* \date 2012-08-26 12:05GMT
|
||||||
|
* \author Jan Boon (Kaetemi)
|
||||||
|
* CWSMDerivedObject
|
||||||
|
*/
|
||||||
|
class CWSMDerivedObject
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
// pointers
|
||||||
|
// ...
|
||||||
|
|
||||||
|
// instances
|
||||||
|
// ...
|
||||||
|
public:
|
||||||
|
CWSMDerivedObject();
|
||||||
|
virtual ~CWSMDerivedObject();
|
||||||
|
}; /* class CWSMDerivedObject */
|
||||||
|
|
||||||
|
} /* namespace PIPELINE */
|
||||||
|
|
||||||
|
#endif /* #ifndef PIPELINE_WSM_DERIVED_OBJECT_H */
|
||||||
|
|
||||||
|
/* end of file */
|
Loading…
Reference in New Issue