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

📄 ttrapp.h

📁 TTR的一个经典游戏
💻 H
字号:
/*****************Main Menu	Play		TTR Tracks			New Tracks (downloadable)			Downloaded Tracks				Artist					Track						Info on track (high scores, author, difficulty)		iPod Library			Downloads list of songs from server, compares to local database		Random Song	Create		Artist			Album				Song					Instructions						Record							Create username / unique ID								Save to Internet									Back to Main Menu*****************/enum {  msNoMenu,  msMainMenu,  msPlayMenu,  msCreateMenu,  msSongFinished,  msSongRecorded,  msDownloading};@interface TtrApp : UIApplication {        AVController * avc;        AVQueue * avq;        AVItem * avi;                UIBox       *mainView;        UIView      *menuView;        UIView      *gameView;        UIView      *effectsView;        NSString    *path;        NSError     *error;        UITextLabel * scoreLabel;        NSTimer * timer;        BOOL songStarted, songFinished, recording;        double lastplayingtime;        int tapindex, badindex;        NSMutableArray * sparkles;        NSMutableArray * glows;        NSMutableArray * animatables;        NSMutableArray * buttons;        float glowlevels[4];        int score;        NSString * recordFile;        UIImage * wrongImage,            * goodImage,            * perfectImage;        Downloader * songDownload, * tapDownload;        int mstate;}- (void) applicationDidFinishLaunching: (id) unused;- (void) mouseClickAtX: (float) x Y: (float) y;- (int) columnForX: (float) x;- (int) xForColumn: (int) x;- (void) loadTapsFromFile: (NSString *) filename;- (void) prepareForAnotherTap;- (void) recordTapAtX: (float) x Y: (float) y;- (void) fireWorksBurstAtX: (float)x Y: (float) y;- (void) mouseClickAtX: (float) x Y: (float) y;- (void) scoreChange: (int) ds X: (float) x Y: (float) y;- (void) rewardWithImage: (UIImage *)img atX: (float)x Y: (float)y;- (void) applicationWillSuspend;- (void)fireTimer:(NSTimer*)theTimer;- (void) animationTickAtTime: (double) d;- (void)songHasFinished;- (void)triggerButton: (NSString *) triggerWord;@end

⌨️ 快捷键说明

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