Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
62 lines
1.7 KiB
C++
62 lines
1.7 KiB
C++
// X3DEffectEditMesh.h: interface for the CX3DEffectEditMesh class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_X3DEFFECTEDITMESH_H__45EB7FF1_B319_4EBA_99A9_E57437B77970__INCLUDED_)
|
|
#define AFX_X3DEFFECTEDITMESH_H__45EB7FF1_B319_4EBA_99A9_E57437B77970__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "X3DEffectMesh.h"
|
|
#include "X3DEditObject.h"
|
|
|
|
class CX3DEffectEditMesh :
|
|
public CX3DEffectMesh,
|
|
public CX3DEditObject
|
|
{
|
|
public:
|
|
BOOL ArrangementMesh(const char *strPathName);
|
|
CX3DEffectEditMesh();
|
|
virtual ~CX3DEffectEditMesh();
|
|
|
|
unsigned char GetObjectRColor(unsigned long dwFrame, unsigned long dwNum)
|
|
{
|
|
m_moMesh[dwNum].m_lstColor.InterpolationC(dwFrame, m_lColor);
|
|
return m_lColor.r;
|
|
}
|
|
unsigned char GetObjectGColor(unsigned long dwFrame, unsigned long dwNum)
|
|
{
|
|
m_moMesh[dwNum].m_lstColor.InterpolationC(dwFrame, m_lColor);
|
|
return m_lColor.g;
|
|
}
|
|
unsigned char GetObjectBColor(unsigned long dwFrame, unsigned long dwNum)
|
|
{
|
|
m_moMesh[dwNum].m_lstColor.InterpolationC(dwFrame, m_lColor);
|
|
return m_lColor.b;
|
|
}
|
|
unsigned char GetObjectAlpha(unsigned long dwFrame, unsigned long dwNum)
|
|
{
|
|
m_moMesh[dwNum].m_lstColor.InterpolationC(dwFrame, m_lColor);
|
|
return m_lColor.a;
|
|
}
|
|
void SetPlay(BOOL bPlay)
|
|
{
|
|
if(bPlay)
|
|
{
|
|
m_GemRender->SetStartTexAni(true);
|
|
|
|
// Mesh->StartTexAni(true);
|
|
} else
|
|
{
|
|
m_GemRender->SetStartTexAni(false);
|
|
// Mesh->StartTexAni(false);
|
|
}
|
|
}
|
|
void RenderNoTexture(unsigned long dwFrame); // ¿¡µðÅÍ ¿ë
|
|
unsigned long GetPick(vector3 &vecStart, vector3 &vecEnd, float &fLength); // ¿¡µðÅÍ ¿ë
|
|
};
|
|
|
|
#endif // !defined(AFX_X3DEFFECTEDITMESH_H__45EB7FF1_B319_4EBA_99A9_E57437B77970__INCLUDED_)
|