JubeatPlus 3.9.11
Loading...
Searching...
No Matches
NteTitleCoreController.h
Go to the documentation of this file.
1
19
20#import <UIKit/UIKit.h>
21
22#import "EditorIDManager.h"
27
28@class EAGLView;
29@class UpperBGKnit;
30@class Texture2D;
32@class SePlayer;
33@class CMMotionManager;
34
35NS_ASSUME_NONNULL_BEGIN
36
47
54- (void)setUnsealHeight:(int)unsealHeight_;
55
63- (instancetype)initWithNameArray:(nullable NSArray<NSString *> *)nameArray bounds:(CGRect)bounds;
64
71- (nullable UIImage *)getBgImage:(int)index;
72
78- (void)viewDidAppear:(BOOL)animated;
79
85- (void)loadView;
86
92- (void)start;
93
98- (void)startRunCar;
99
106- (void)loop:(nullable CADisplayLink *)sender;
107
112- (void)blinkPrompt;
113
118- (void)startMarkerCheck;
119
125- (void)startBlinkPrompt;
126
131- (void)showLogo;
132
138- (CGRect)getConciergeRect;
139
145- (CGRect)getOptViewRect;
146
152- (void)addOptionDrop:(CGPoint)point;
153
160- (void)handleTap:(nullable UITapGestureRecognizer *)recognizer;
161
167- (void)handleSwipe:(nullable UISwipeGestureRecognizer *)recognizer;
168
175- (void)changeTitleBg:(int)index completed:(BOOL)completed;
176
181- (void)needReverseEnd;
182
187- (void)curlAnimEnd;
188
194- (void)suspend:(nullable NSNotification *)notification;
195
201- (void)resume:(nullable NSNotification *)notification;
202
207- (void)stopAnimation;
208
213- (void)viewDidUnload;
214
220- (void)dropAnimEnd:(nullable NteTitleOptionDropView *)dropView;
221
226- (void)markerCheckEnd;
227
234- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
235 duration:(NSTimeInterval)duration;
236
243- (void)viewWillTransitionToSize:(CGSize)size
244 withTransitionCoordinator:(nullable id<UIViewControllerTransitionCoordinator>)coordinator;
245
252- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
253
259- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
260
266- (BOOL)shouldAutorotate;
267
273- (void)dealloc;
274
280- (void)nextScene;
281
286- (void)createPolicyView;
287
295- (void)agreementError:(nullable id)manager msgStr:(nullable NSString *)msgStr;
296
302- (void)agreementSuccess:(nullable id)sender;
303
309- (void)agreementFailed:(nullable id)sender;
310
317- (void)errorIDDownload:(nullable id)manager msgStr:(nullable NSString *)msgStr;
318
325- (void)successIDDownload:(nullable id)manager;
326
333- (BOOL)checkShakeEvent:(nullable UIEvent *)event;
334
341
348- (void)motionBegan:(UIEventSubtype)motion withEvent:(nullable UIEvent *)event;
349
356- (void)motionCancelled:(UIEventSubtype)motion withEvent:(nullable UIEvent *)event;
357
364- (void)motionEnded:(UIEventSubtype)motion withEvent:(nullable UIEvent *)event;
365
366@end
367
368NS_ASSUME_NONNULL_END
369
370// code: language=Objective-C
371// kate: hl Objective-C;
372// vim: set ft=objc :
The editor identifier store, backed by the keychain.
Licence agreement overlay shown on the title screen.
The modal that downloads the marker (note-hit graphic) list and each marker.
A title-screen ornament that drops away when the title is dismissed.
Base title controller.
The OpenGL ES 1.1 rendering view backing the game.
Definition EAGLView.h:19
The animated NTE title-screen core: GL wave background, tappable concierge, hidden shake/swipe easter...
Definition NteTitleCoreController.h:46
CGRect getConciergeRect()
The concierge character's hit rect, relative to the logo view.
Definition NteTitleCoreController.m:515
void startRunCar()
Launches the looping "run car" flyby of the option ornament across the screen.
Definition NteTitleCoreController.m:355
void blinkPrompt()
Adds the pulsing opacity animation to the touch-prompt layer.
Definition NteTitleCoreController.m:445
void needReverseEnd()
The reverse-curl animation completion: curls the current page back into view.
Definition NteTitleCoreController.m:723
void startMarkerCheck()
Presents the marker-download check modal over the controller's view.
Definition NteTitleCoreController.m:459
void stopAnimation()
Invalidates the loop, stops device motion, and stops all sound effects.
Definition NteTitleCoreController.m:768
void startBlinkPrompt()
Installs the swipe and tap recognisers, resets the easter-egg state, and starts the blinking prompt.
Definition NteTitleCoreController.m:466
void createPolicyView()
Builds and reveals the licence-agreement sheet over the dimming cover.
Definition NteTitleCoreController.m:905
void dealloc()
Removes observers, stops the option view and device motion, terminates the SE player,...
Definition NteTitleCoreController.m:851
void viewDidUnload()
Tears down the option, background, prompt, recogniser, and texture references.
Definition NteTitleCoreController.m:780
BOOL canBecomeFirstResponder()
Whether the controller can become first responder: always YES.
Definition NteTitleCoreController.m:1009
UIInterfaceOrientationMask supportedInterfaceOrientations()
The supported interface orientations.
Definition NteTitleCoreController.m:839
void curlAnimEnd()
The curl-animation completion: re-enables interaction events.
Definition NteTitleCoreController.m:734
void start()
Starts the title: hides the logo and prompt, loads and plays the BGM and welcome SE,...
Definition NteTitleCoreController.m:335
BOOL shouldAutorotate()
Whether the controller autorotates: always YES.
Definition NteTitleCoreController.m:844
void showLogo()
Fades the jubeat logo up to full opacity, then begins the marker check on completion.
Definition NteTitleCoreController.m:497
CGRect getOptViewRect()
The option ornament's current presentation-layer frame (its live animated position).
Definition NteTitleCoreController.m:526
void loadView()
Builds the view hierarchy: the GL view, the background image view, the option ornament,...
Definition NteTitleCoreController.m:261
void markerCheckEnd()
The marker check completed: starts the blinking prompt.
Definition NteTitleCoreController.m:807
void nextScene()
Transitions off the title: removes gestures, plays the confirm SE, fades the BGM, blinks the prompt f...
Definition NteTitleCoreController.m:875
One of three randomly chosen title ornaments, which rotates and falls.
Definition NteTitleOptionDropView.h:35
A title-screen ornament made of a tiltable background, a looping car, and a smog puff.
Definition NteTitleOptionView.h:23
Loads one audio file into an OpenAL buffer and plays it on demand.
Definition SePlayer.h:26
A texture that can draw any of the sprites packed into it.
Definition Texture2D.h:40
Base class for the four themed title screens.
Definition TitleViewController.h:33
A four-line knit wave drawn across the upper background.
Definition UpperBGKnit.h:26
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22
What a MarkerDownloadView tells its owner.
Definition MarkerDownloadView.h:33
What a NteTitleOptionDropView tells its owner.
Definition NteTitleOptionDropView.h:22