1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: gx.h 4 5 Copyright (C)2009-2012 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 46365 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_SAMPLE_DEMOS_DEMO1_GX_H_ 17 #define NN_SAMPLE_DEMOS_DEMO1_GX_H_ 18 19 #include "device.h" 20 21 const int Graphics_BUFFER_LENGTH = 1024; 22 const int Graphics_BUFFER_SIZE = Graphics_BUFFER_LENGTH * sizeof(s16); 23 const u8 Graphics_GAIN = 43; 24 25 class GraphicsDemo : public Device 26 { 27 public: 28 virtual void Start(void); 29 virtual void End(void); 30 31 virtual void DrawFrame(void); 32 }; 33 34 /* NN_SAMPLE_DEMOS_DEMO1_GX_H_ */ 35 #endif 36 37 /*---------------------------------------------------------------------------* 38 End of file 39 *---------------------------------------------------------------------------*/ 40