⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mltinyx.h

📁 这是一个混合动画的实例代码
💻 H
字号:
///////////////////////////////////////////////////////////////////////////////
// 
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -