The server tree of https://code.moenext.com/nanahira/ygopro.git, branch server, commit 52c868ce071ea0f2fcb0cf39bf2fb4151d12b90c, stock: gframe/, premake5.lua, .ci/, LICENSE, and gframe/ygopro.rc + .ico (upstream keeps them in resource/ and copies them in before building). No game assets, no scripts, no ocgcore submodule: the core is ../core. The third-party sources upstream's Windows CI downloads are vendored here at the positions its premake expects, each with its premake fragment from upstream's premake/ folder inside it: lua 5.4.8, sqlite 3.53.3, libevent 2.1.13-stable (tests, samples and autotools helpers left out; the files its Windows prebuild copies into include/ left out), zlib 1.3.2 (contrib and examples left out), xz 5.8.3 (src/liblzma + src/common only), and irrlicht 1.9 from mycard at 20f86d25: include/ plus the source/Irrlicht headers and the 11 .cpp files the server's zip reader project compiles. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
75 lines
3.0 KiB
C++
75 lines
3.0 KiB
C++
// Copyright (C) 2002-2012 Nikolaus Gebhardt
|
|
// This file is part of the "Irrlicht Engine".
|
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
|
|
|
#ifndef IRR_C_DEFAULT_SCENE_NODE_ANIMATOR_FACTORY_H_INCLUDED
|
|
#define IRR_C_DEFAULT_SCENE_NODE_ANIMATOR_FACTORY_H_INCLUDED
|
|
|
|
#include "ISceneNodeAnimatorFactory.h"
|
|
|
|
namespace irr
|
|
{
|
|
namespace gui
|
|
{
|
|
class ICursorControl;
|
|
}
|
|
namespace scene
|
|
{
|
|
class ISceneNodeAnimator;
|
|
class ISceneManager;
|
|
|
|
//! Interface making it possible to dynamically create scene nodes animators
|
|
class CDefaultSceneNodeAnimatorFactory : public ISceneNodeAnimatorFactory
|
|
{
|
|
public:
|
|
|
|
CDefaultSceneNodeAnimatorFactory(ISceneManager* mgr, gui::ICursorControl* crs);
|
|
|
|
virtual ~CDefaultSceneNodeAnimatorFactory();
|
|
|
|
//! creates a scene node animator based on its type id
|
|
/** \param type: Type of the scene node animator to add.
|
|
\param target: Target scene node of the new animator.
|
|
\return Returns pointer to the new scene node animator or null if not successful. You need to
|
|
drop this pointer after calling this, see IReferenceCounted::drop() for details. */
|
|
virtual ISceneNodeAnimator* createSceneNodeAnimator(ESCENE_NODE_ANIMATOR_TYPE type, ISceneNode* target) IRR_OVERRIDE;
|
|
|
|
//! creates a scene node animator based on its type name
|
|
/** \param typeName: Type of the scene node animator to add.
|
|
\param target: Target scene node of the new animator.
|
|
\return Returns pointer to the new scene node animator or null if not successful. You need to
|
|
drop this pointer after calling this, see IReferenceCounted::drop() for details. */
|
|
virtual ISceneNodeAnimator* createSceneNodeAnimator(const char* typeName, ISceneNode* target) IRR_OVERRIDE;
|
|
|
|
//! returns amount of scene node animator types this factory is able to create
|
|
virtual u32 getCreatableSceneNodeAnimatorTypeCount() const IRR_OVERRIDE;
|
|
|
|
//! returns type of a creatable scene node animator type
|
|
/** \param idx: Index of scene node animator type in this factory. Must be a value between 0 and
|
|
getCreatableSceneNodeTypeCount() */
|
|
virtual ESCENE_NODE_ANIMATOR_TYPE getCreateableSceneNodeAnimatorType(u32 idx) const IRR_OVERRIDE;
|
|
|
|
//! returns type name of a creatable scene node animator type
|
|
/** \param idx: Index of scene node animator type in this factory. Must be a value between 0 and
|
|
getCreatableSceneNodeAnimatorTypeCount() */
|
|
virtual const c8* getCreateableSceneNodeAnimatorTypeName(u32 idx) const IRR_OVERRIDE;
|
|
|
|
//! returns type name of a creatable scene node animator type
|
|
/** \param type: Type of scene node animator.
|
|
\return: Returns name of scene node animator type if this factory can create the type, otherwise 0. */
|
|
virtual const c8* getCreateableSceneNodeAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type) const IRR_OVERRIDE;
|
|
|
|
private:
|
|
|
|
ESCENE_NODE_ANIMATOR_TYPE getTypeFromName(const c8* name) const;
|
|
|
|
ISceneManager* Manager;
|
|
gui::ICursorControl* CursorControl;
|
|
};
|
|
|
|
|
|
} // end namespace scene
|
|
} // end namespace irr
|
|
|
|
#endif
|