Files
Client/Engine/Zalla3D Scene Class/Z3DAniKeyPack.h
LGram16 e067522598 Initial commit: ROW Client source code
Game client codebase including:
- CharacterActionControl: Character and creature management
- GlobalScript: Network, items, skills, quests, utilities
- RYLClient: Main client application with GUI and event handlers
- Engine: 3D rendering engine (RYLGL)
- MemoryManager: Custom memory allocation
- Library: Third-party dependencies (DirectX, boost, etc.)
- Tools: Development utilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 16:24:34 +09:00

51 lines
1.2 KiB
C++

// Z3DAniKeyPack.h: interface for the Z3DAniKeyPack class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_Z3DANIKEYPACK_H__93B85D22_B627_11D4_AD2B_0000E8EB4C69__INCLUDED_)
#define AFX_Z3DANIKEYPACK_H__93B85D22_B627_11D4_AD2B_0000E8EB4C69__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Z3DAnimationController.h"
#include "misc.h"
struct Z3DAniKeyPack
{
public:
Z3DAniKeyPack()
{
m_pAniControllers = NULL;
}
~Z3DAniKeyPack()
{
SAFE_DELETEA( m_pAniControllers );
}
int GetId()
{
return m_wId;
}
bool Load( char* szFilename );
bool Save( char* szFileName );
Z3DAnimationController* GetData(int n) { return &(m_pAniControllers[n]); }
short GetAniLength() const { return m_sAniLength; }
short GetControllerCount() const { return m_sAniControllerCount; }
bool GetDisplacement( vector3 &v_disp, long lControllerIndex = 0 );
protected:
WORD m_wId;
short m_sAniControllerCount;
Z3DAnimationController* m_pAniControllers;
short m_sAniLength; // length(in frames) of animation set(pack)
};
#endif // !defined(AFX_Z3DANIKEYPACK_H__93B85D22_B627_11D4_AD2B_0000E8EB4C69__INCLUDED_)