JubeatPlus 3.9.11
Loading...
Searching...
No Matches
MainGameRendererPhoneRpl.h File Reference

The iPhone Ripples-theme in-game renderer: the concrete MainGameRenderer subclass that draws a play session with the "Ripples" (rpl) theme skin on the phone idiom. More...

import <CoreGraphics/CoreGraphics.h>
import <Foundation/Foundation.h>
import <UIKit/UIKit.h>
import "MainGameRenderer.h"
Include dependency graph for MainGameRendererPhoneRpl.h:

Go to the source code of this file.

Classes

class  MainGameRendererPhoneRpl
 The phone Ripples-theme in-game renderer. More...

Detailed Description

The iPhone Ripples-theme in-game renderer: the concrete MainGameRenderer subclass that draws a play session with the "Ripples" (rpl) theme skin on the phone idiom.

Reconstructed from Ghidra program Jubeat (class MainGameRendererPhoneRpl, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

"Rpl" abbreviates "Ripples" (the ripple visual theme), not "replay". The superclass is MainGameRenderer (not MainGameRendererPhone ): -init chains to [MainGameRenderer init] , and this class declares its own frame , subStateChangeFrame , startMarkFrame , and markerDir ivars, which would collide with MainGameRendererPhone were it a subclass of it. It fills in every drawing and layout override point that MainGameRenderer leaves empty for the Ripples theme: it loads the theme's atlas textures (game_front_rpl_tex_pn2 , game_combo_rpl_tex_pn2 , game_marker_tex_pn2 , game_hold_marker_tex , game_ready_rpl_0_tex , game_ready_rpl_1_tex , and the debug-font glyph sheet), draws the rippling background of drifting sprites, the 4x4 marker grid and hold markers, the combo counter, the running score and bonus, the tune-info panel, the music bar, the on-screen button grid, the ready/go countdown, the start and finish marks, the full-combo and excellent flourishes, and the cleared/failed result screen. Its layout constants are the phone's; the pad Ripples sibling is MainGameRendererPadRpl , and the non-theme phone sibling is MainGameRendererPhone .

It branches on two cached device flags, isRetina (2x sprites) and is4Inch (the taller four-inch phone, whose game area is pushed down by buttonMarginForScreen40 / upperBgHeight40 ).