/*---------------------------------------------------------------------------* Project: NintendoWare File: snd_Macro.h Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo and/or its licensed developers and are protected by national and international copyright laws. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. The content herein is highly confidential and should be handled accordingly. $Revision: $ *---------------------------------------------------------------------------*/ #ifndef NW_SND_MACRO_H_ #define NW_SND_MACRO_H_ #include // // 内部でだけ呼ばれるマクロ // /* NW_SND_PLATFORM_SUFFIX を決める。 - AX PcSDK (および RVL ?) - DSP DSP - CCT CTR サウンド回路 (- NCT NTR サウンド回路) が入る。*/ #if defined( NW_PLATFORM_CTRWIN ) #define NW_SND_PLATFORM_SUFFIX AX // #elif defined( NW_PLATFORM_CTR ) #else #define NW_SND_PLATFORM_SUFFIX DSP /* #if defined( NW_SND_USE_DSP ) #define NW_SND_PLATFORM_SUFFIX DSP #elif define( NW_SND_USE_CTR_CIRCUIT ) #define NW_SND_PLATFORM_SUFFIX CCT #else #define NW_SND_PLATFORM_SUFFIX NCT #endif */ #endif #define NW_SND_BASE_PATH_PREFIX platform/snd_ #define NW_SND_INCLUDE_PATH_PREFIX NW_MACRO_CAT_( nw/snd/, NW_SND_BASE_PATH_PREFIX ) // // 外部から呼ばれるマクロ // #define NW_SND_ADAPTIVE_HEADER( CLASS_NAME ) \ #define NW_SND_ADAPTIVE_SOURCE( CLASS_NAME ) \ NW_MACRO_STRING_( \ NW_MACRO_CAT_( \ platform/snd_, \ NW_MACRO_CAT_( CLASS_NAME, NW_SND_PLATFORM_SUFFIX ) \ ).cppi \ ) #endif /* NW_SND_MACRO_H_ */