musictypes.h

来自「游戏编程精粹2第六章源码」· C头文件 代码 · 共 24 行

H
24
字号
/* Copyright (C) Scott Patterson, 2001. 
 * All rights reserved worldwide.
 *
 * This software is provided "as is" without express or implied
 * warranties. You may freely copy and compile this source into
 * applications you distribute provided that the copyright text
 * below is included in the resulting source code, for example:
 * "Portions Copyright (C) Scott Patterson, 2001"
 */

// MusicTypes.h

#ifndef MUSICTYPES_H
#define MUSICTYPES_H

typedef int Tempo_t;
typedef int Volume_t;
typedef int PitchBend_t;
typedef int Pan_t;
typedef int Effect_t;
typedef unsigned long TimeFrac_t; // 16.16 fixed point
typedef unsigned long TimeInt_t;  // 32 bit integer

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?