C# Class NewSF64Toolkit.OpenGL.F3DEX.F3DEXParser

Show file Open project: mib-f8sm9c/NewSF64Toolkit Class Usage Examples

Public Properties

Property Type Description
BlankPalette sfPalette
BlankTexture sfTexture
BlankTextureCache sfTextureCache
BlankVertex sfVertex
BlendColor sfRGBA
ChangedModes uint
Combiner0 uint
CurrentTexture int
DLStack uint[]
DLStackPos int
DrawingMode DrawingModeType
EnvColor sfRGBA
FillColor sfFillColor
FogColor sfRGBA
GLTextureCount int
GLTextureID uint[]
GeometryMode uint
InvalidBox int[]
IsMultiTexture bool
OpenGlSettings OpenGLSetting
OtherModeH uint
OtherModeL uint
Palettes sfPalette[]
PrimColor sfPrimColor
Store_RDPHalf1 uint
TextureCache sfTextureCache[]
TextureCachePosition uint
Textures sfTexture[]
Vertices sfVertex[]

Public Methods

Method Description
F3DEXParser ( ) : System
InitInvalidModels ( ) : void
ReadGameObject ( DMAFile dma, byte bytes, uint fullOffset ) : int[]
ReadGameObject ( DMAFile dma, uint fullOffset ) : int[]
UcodeCmd ( byte line ) : void
UpdateStates ( ) : void
gl_ClearRenderer ( bool Full ) : void
sv_ClearStructures ( bool Full ) : void

Private Methods

Method Description
CalcTextureSize ( int TextureID ) : void
ChangeTileSize ( uint Tile, uint ULS, uint ULT, uint LRS, uint LRT ) : void
CheckTextureCache ( uint TexID ) : uint
DrawInvalidModel ( ) : void
DrawTextureRGBA ( byte textureData, int width, int height, string fileName ) : void
DrawTriangle ( int Vtxs ) : void
F3DEX_BRANCH_Z ( ) : void
F3DEX_CLEARGEOMETRYMODE ( ) : void
F3DEX_CULLDL ( ) : void
F3DEX_DL ( ) : void
F3DEX_ENDDL ( ) : void
F3DEX_LOAD_UCODE ( ) : void
F3DEX_MODIFYVTX ( ) : void
F3DEX_MOVEMEM ( ) : void
F3DEX_MOVEWORD ( ) : void
F3DEX_MTX ( ) : void
F3DEX_POPMTX ( ) : void
F3DEX_RDPHALF_1 ( ) : void
F3DEX_RDPHALF_2 ( ) : void
F3DEX_SETGEOMETRYMODE ( ) : void
F3DEX_SETOTHERMODE_H ( ) : void
F3DEX_SETOTHERMODE_L ( ) : void
F3DEX_TEXTURE ( ) : void
F3DEX_TRI1 ( ) : void
F3DEX_TRI2 ( ) : void
F3DEX_VTX ( ) : void
FIXED2FLOAT ( short v, byte b ) : float
FIXED2FLOAT ( uint v, byte b ) : float
G_FILLRECT ( ) : void
G_LOADBLOCK ( ) : void
G_LOADTILE ( ) : void
G_LOADTLUT ( ) : void
G_RDPFULLSYNC ( ) : void
G_RDPLOADSYNC ( ) : void
G_RDPPIPESYNC ( ) : void
G_RDPSETOTHERMODE ( ) : void
G_RDPTILESYNC ( ) : void
G_SETBLENDCOLOR ( ) : void
G_SETCIMG ( ) : void
G_SETCOMBINE ( ) : void
G_SETCONVERT ( ) : void
G_SETENVCOLOR ( ) : void
G_SETFILLCOLOR ( ) : void
G_SETFOGCOLOR ( ) : void
G_SETKEYGB ( ) : void
G_SETKEYR ( ) : void
G_SETPRIMCOLOR ( ) : void
G_SETPRIMDEPTH ( ) : void
G_SETSCISSOR ( ) : void
G_SETTILE ( ) : void
G_SETTILESIZE ( ) : void
G_SETTIMG ( ) : void
G_SETZIMG ( ) : void
G_TEXRECT ( ) : void
G_TEXRECTFLIP ( ) : void
InitLoadTexture ( ) : void
LoadTexture ( int TextureID ) : uint
ParseDisplayList ( uint Address ) : void
Pow2 ( uint dim ) : uint
PowOf ( uint dim ) : uint
ReadF3DEX ( byte bytes, uint offset ) : void
SetRenderMode ( uint Mode1, uint Mode2 ) : void
SplitAddress ( uint address, char &segment, uint &offset ) : void
UnemulatedCmd ( ) : void
Write32 ( byte array, uint position, uint value ) : void
_SHIFTL ( uint a, int b, int c ) : uint
_SHIFTR ( uint a, int b, int c ) : uint

Method Details

F3DEXParser() public method

public F3DEXParser ( ) : System
return System

InitInvalidModels() public method

public InitInvalidModels ( ) : void
return void

ReadGameObject() public method

public ReadGameObject ( DMAFile dma, byte bytes, uint fullOffset ) : int[]
dma NewSF64Toolkit.DataStructures.DMA.DMAFile
bytes byte
fullOffset uint
return int[]

ReadGameObject() public method

public ReadGameObject ( DMAFile dma, uint fullOffset ) : int[]
dma NewSF64Toolkit.DataStructures.DMA.DMAFile
fullOffset uint
return int[]

UcodeCmd() public method

public UcodeCmd ( byte line ) : void
line byte
return void

UpdateStates() public method

public UpdateStates ( ) : void
return void

gl_ClearRenderer() public method

public gl_ClearRenderer ( bool Full ) : void
Full bool
return void

sv_ClearStructures() public method

public sv_ClearStructures ( bool Full ) : void
Full bool
return void

Property Details

BlankPalette public property

public sfPalette BlankPalette
return sfPalette

BlankTexture public property

public sfTexture BlankTexture
return sfTexture

BlankTextureCache public property

public sfTextureCache BlankTextureCache
return sfTextureCache

BlankVertex public property

public sfVertex BlankVertex
return sfVertex

BlendColor public property

public sfRGBA BlendColor
return sfRGBA

ChangedModes public property

public uint ChangedModes
return uint

Combiner0 public property

public uint Combiner0
return uint

CurrentTexture public property

public int CurrentTexture
return int

DLStack public property

public uint[] DLStack
return uint[]

DLStackPos public property

public int DLStackPos
return int

DrawingMode public property

public DrawingModeType DrawingMode
return DrawingModeType

EnvColor public property

public sfRGBA EnvColor
return sfRGBA

FillColor public property

public sfFillColor FillColor
return sfFillColor

FogColor public property

public sfRGBA FogColor
return sfRGBA

GLTextureCount public property

public int GLTextureCount
return int

GLTextureID public property

public uint[] GLTextureID
return uint[]

GeometryMode public property

public uint GeometryMode
return uint

InvalidBox public static property

public static int[] InvalidBox
return int[]

IsMultiTexture public property

public bool IsMultiTexture
return bool

OpenGlSettings public property

public OpenGLSetting OpenGlSettings
return OpenGLSetting

OtherModeH public property

public uint OtherModeH
return uint

OtherModeL public property

public uint OtherModeL
return uint

Palettes public property

public sfPalette[] Palettes
return sfPalette[]

PrimColor public property

public sfPrimColor PrimColor
return sfPrimColor

Store_RDPHalf1 public property

public uint Store_RDPHalf1
return uint

TextureCache public property

public sfTextureCache[] TextureCache
return sfTextureCache[]

TextureCachePosition public property

public uint TextureCachePosition
return uint

Textures public property

public sfTexture[] Textures
return sfTexture[]

Vertices public property

public sfVertex[] Vertices
return sfVertex[]