NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
EGG::Screen Class Reference
Inheritance diagram for EGG::Screen:
[legend]

Description

Definition at line 9 of file eggScreen.h.

Classes

struct  DataEfb
 
struct  TVModeInfo
 

Public Types

enum  TVMode {
  TV_MODE_4_3 ,
  TV_MODE_16_9 ,
  TV_MODE_UNK_3 ,
  TV_MODE_MAX
}
 
- Public Types inherited from EGG::Frustum
enum  Flag {
  FLAG_DIRTY = BIT_FLAG(0) ,
  FLAG_0x02 = BIT_FLAG(1) ,
  FLAG_0x04 = BIT_FLAG(2) ,
  FLAG_0x08 = BIT_FLAG(3) ,
  FLAG_0x20 = BIT_FLAG(5) ,
  FLAG_0x40 = BIT_FLAG(6)
}
 
enum  ProjectionType {
  PROJ_ORTHO ,
  PROJ_PERSP
}
 
enum  CanvasMode {
  CANVASMODE_0 ,
  CANVASMODE_1
}
 

Public Member Functions

void SetProjectionGX () const
 
void CopyFromAnother (const Screen &)
 
- Public Member Functions inherited from EGG::Frustum
 Frustum (ProjectionType projType, const nw4r::math::VEC2 &scale, f32 nearZ, f32 farZ, CanvasMode canvasMode)
 
 Frustum (const Frustum &frustum)
 
virtual void CopyToG3D (nw4r::g3d::Camera camera) const
 
void ResetOrthographic (f32 top, f32 bottom, f32 left, f32 right, f32 nearZ, f32 farZ)
 

Static Public Member Functions

static void Initialize (const unsigned short *, const unsigned short *, Screen *)
 
static void SetTVModeDefault ()
 

Public Attributes

const ScreenmParent
 
nw4r::math::VEC2 mPosition
 
nw4r::math::VEC2 field_0x48
 
nw4r::math::VEC2 field_0x50
 
DataEfb mDataEfb
 
- Public Attributes inherited from EGG::Frustum
ProjectionType mProjType
 
CanvasMode mCanvasMode
 
nw4r::math::VEC2 mSize
 
f32 mFovY
 
f32 mTanFovY
 
f32 mNearZ
 
f32 mFarZ
 
nw4r::math::VEC2 mOffset
 
nw4r::math::VEC3 mScale
 
u16 mFlags
 

Static Public Attributes

static TVMode sTVMode
 
static TVModeInfo sTVModeInfo [Screen::TV_MODE_MAX]
 

Member Enumeration Documentation

◆ TVMode

enum EGG::Screen::TVMode

Definition at line 11 of file eggScreen.h.

Member Function Documentation

◆ SetProjectionGX()

void EGG::Screen::SetProjectionGX ( ) const
virtual

Reimplemented from EGG::Frustum.

Member Data Documentation

◆ mParent

const Screen* EGG::Screen::mParent

Definition at line 51 of file eggScreen.h.

◆ mPosition

nw4r::math::VEC2 EGG::Screen::mPosition

Definition at line 52 of file eggScreen.h.

◆ field_0x48

nw4r::math::VEC2 EGG::Screen::field_0x48

Definition at line 53 of file eggScreen.h.

◆ field_0x50

nw4r::math::VEC2 EGG::Screen::field_0x50

Definition at line 54 of file eggScreen.h.

◆ mDataEfb

DataEfb EGG::Screen::mDataEfb
mutable

Definition at line 55 of file eggScreen.h.

◆ sTVMode

TVMode EGG::Screen::sTVMode
static

Definition at line 57 of file eggScreen.h.

◆ sTVModeInfo

TVModeInfo EGG::Screen::sTVModeInfo[Screen::TV_MODE_MAX]
static

Definition at line 58 of file eggScreen.h.