mltinyx.h
来自「这是一个混合动画的实例代码」· C头文件 代码 · 共 42 行
H
42 行
///////////////////////////////////////////////////////////////////////////////
//
// File: mlTinyx.h
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: Athlon 1800+ XP, 512 DDR, Radeon 9500 Pro, Windows XP, MSVC++ 7.0
//
// Desc: Represents the tiny.x character animation.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef __mlTinyxH__
#define __mlTinyxH__
#include "mlSkinnedmesh.h"
// Note that we hardcode these index values and they are specific to tiny.x.
// They were found by actually examining the .x file.
enum ANIMATIONSET_INDEX
{
WAVE_INDEX = 0,
JOG_INDEX = 1,
WALK_INDEX = 2,
LOITER_INDEX = 3
};
class Tiny_X : public SkinnedMesh
{
public:
void playWave();
void playJog();
void playWalk();
void playLoiter();
void playLoiterWaveBlend();
void playLoiterJogBlend();
void playJogWaveBlend();
void playWalkWaveBlend();
};
#endif // __mlTinyxH__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?