1 /*---------------------------------------------------------------------------* 2 Project: Dolphin/Revolution gx demo 3 File: toy-anim.h 4 5 Copyright 1998-2006 Nintendo. 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 14 #ifndef __TOY_ANIM_H__ 15 #define __TOY_ANIM_H__ 16 17 #include <revolution.h> 18 19 #define BALL_SIZEX 5.0F 20 #define BALL_SIZEZ 5.0F 21 #define SLOPE_ZSTART 100.0F 22 #define SLOPE_SLOPE (2.0F / 3.0F) 23 24 25 26 Vec GetCurPos(void); 27 u32 OnSlope(void); 28 u32 DoTeleport(void); 29 void AnimTick(void); 30 31 #endif // __TOY_ANIM_H__ 32