DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
dataset.hpp File Reference

Go to the source code of this file.

Functions

void InitializeDataBuffer ()
 
void SetPacketReadBuffer (int packet_quads, int read_quads)
 
void BufferAllClear ()
 
void SetFrameAttr (CFrame *frame, int recurse)
 

Variables

u_int * read_buffer
 
CDataAlloc2< 1 > * WorkBuffer
 
CDataAlloc2< 1 > * ActiveData
 

Detailed Description

Declares the calls that build a model out of the data that was read.

Definition in file dataset.hpp.

Function Documentation

◆ InitializeDataBuffer()

void InitializeDataBuffer ( )

Clears the global data arena and prepares its persistent scene banks.

Mangled name:
InitializeDataBuffer__Fv
Address:
0x125990
Size:
0xF4

Definition at line 44 of file dataset.cpp.

◆ SetPacketReadBuffer()

void SetPacketReadBuffer ( int  packet_quads,
int  read_quads 
)

Reserves the read, packet, and scratch buffers from the global data arena.

Mangled name:
SetPacketReadBuffer__Fii
Address:
0x125AE0
Size:
0xD8

Sets where packet reads land, and how much room they have.

Mangled name:
SetPacketReadBuffer__Fii
Address:
0x125AE0
Size:
0xD8

Definition at line 82 of file dataset.cpp.

◆ BufferAllClear()

void BufferAllClear ( )

Gives every data buffer back, so the next area starts from an empty one.

Mangled name:
BufferAllClear__Fv
Address:
0x125BC0
Size:
0x254

Definition at line 97 of file dataset.cpp.

◆ SetFrameAttr()

void SetFrameAttr ( CFrame *  frame,
int  recurse 
)

Gives a frame the attributes that it draws with.

Mangled name:
SetFrameAttr__FP6CFramei
Address:
0x125EF0
Size:
0x3BC
Return type:
Not recovered.

Definition at line 198 of file dataset.cpp.

Variable Documentation

◆ read_buffer

u_int* read_buffer
extern

Receives the files that synchronous game-data reads load.

Shared buffer used for synchronous game-data reads.

Definition at line 30 of file dataset.cpp.

◆ WorkBuffer

CDataAlloc2<1>* WorkBuffer
extern

Points at the shared scratch allocator used while loading and transforming data.

Definition at line 31 of file dataset.cpp.

◆ ActiveData

CDataAlloc2<1>* ActiveData
extern

Points at whichever per-frame VU data arena the current frame builds into.

Definition at line 32 of file dataset.cpp.