#include <cstddef>
#include <list>
#include <memory>
#include <vector>
#include "math/box.h"
#include "math/color.h"
#include "math/plane.h"
#include "math/sphere.h"
#include "math/transform.h"
#include "math/vector2.h"
#include "math/vector3.h"
#include "os/binstream.h"
#include "os/mem.h"
#include "os/prnstream.h"
#include "rnd/rndcollideable.h"
#include "rnd/rnddrawable.h"
#include "rnd/rndmat.h"
#include "rnd/rndtransformable.h"
Go to the source code of this file.
|
| PrnStream & | operator<< (PrnStream &stream, const RndMesh::Vert &vert) |
| | Write a vertex.
|
| PrnStream & | operator<< (PrnStream &stream, const RndMesh::Face &face) |
| | Write a triangle.
|
| PrnStream & | operator<< (PrnStream &stream, const RndMesh::Edge &edge) |
| | Write an edge.
|
| PrnStream & | operator<< (PrnStream &stream, RndMesh::ZMode eMode) |
| | Write the name of a depth mode.
|
| PrnStream & | operator<< (PrnStream &stream, RndMesh::ZFunc eFunc) |
| | Write the name of a depth comparison.
|
| BinStream & | operator<< (BinStream &stream, const RndMesh::Vert &vert) |
| | Write a vertex as its position, weights, normal, colour, and texture coordinates.
|
| BinStream & | operator>> (BinStream &stream, RndMesh::Vert &vert) |
| | Read a vertex the vertex writer wrote, or an earlier version of it.
|
| BinStream & | operator<< (BinStream &stream, const RndMesh::Face &face) |
| | Write a triangle as its three indices.
|
| BinStream & | operator>> (BinStream &stream, RndMesh::Face &face) |
| | Read a triangle the triangle writer wrote, or an earlier version of it.
|
| BinStream & | operator<< (BinStream &stream, const RndMesh::Edge &edge) |
| | Write an edge as its two indices.
|
| BinStream & | operator>> (BinStream &stream, RndMesh::Edge &edge) |
| | Read an edge the edge writer wrote.
|
◆ operator<<() [1/8]
Write a vertex.
- Parameters
-
| stream | The stream to write to. |
| vert | The vertex. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00232c98
- Ghidra address:
- PAL: 0x0023b860
◆ operator<<() [2/8]
Write a triangle.
- Parameters
-
| stream | The stream to write to. |
| face | The triangle. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x002349e0
- Ghidra address:
- PAL: 0x0023d560
◆ operator<<() [3/8]
Write an edge.
- Parameters
-
| stream | The stream to write to. |
| edge | The edge. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00234b08
- Ghidra address:
- PAL: 0x0023d688
◆ operator<<() [4/8]
Write the name of a depth mode.
An unknown mode writes nothing.
- Parameters
-
| stream | The stream to write to. |
| eMode | The mode. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00234b80
- Ghidra address:
- PAL: 0x0023d700
◆ operator<<() [5/8]
Write the name of a depth comparison.
An unknown comparison writes nothing.
- Parameters
-
| stream | The stream to write to. |
| eFunc | The comparison. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00234c38
- Ghidra address:
- PAL: 0x0023d7b8
◆ operator<<() [6/8]
Write a vertex as its position, weights, normal, colour, and texture coordinates.
The binary expands the writer inline in the vertex vector writer.
- Parameters
-
| stream | The stream to write to. |
| vert | The vertex. |
- Returns
- The stream.
◆ operator>>() [1/3]
Read a vertex the vertex writer wrote, or an earlier version of it.
The version is the one RndMesh::Load() read last.
- Parameters
-
| stream | The stream to read from. |
| vert | Receives the vertex. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00234248
- Ghidra address:
- PAL: 0x0023cdc8
◆ operator<<() [7/8]
Write a triangle as its three indices.
The binary expands the writer inline in the triangle vector writer at 0x003893e0.
- Parameters
-
| stream | The stream to write to. |
| face | The triangle. |
- Returns
- The stream.
◆ operator>>() [2/3]
Read a triangle the triangle writer wrote, or an earlier version of it.
The version is the one RndMesh::Load() read last.
- Parameters
-
| stream | The stream to read from. |
| face | Receives the triangle. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x00234a70
- Ghidra address:
- PAL: 0x0023d5f0
◆ operator<<() [8/8]
Write an edge as its two indices.
The binary expands the writer inline in the edge vector writer at 0x003894b0.
- Parameters
-
| stream | The stream to write to. |
| edge | The edge. |
- Returns
- The stream.
◆ operator>>() [3/3]
Read an edge the edge writer wrote.
The binary expands the reader inline in the edge vector reader at 0x00389768.
- Parameters
-
| stream | The stream to read from. |
| edge | Receives the edge. |
- Returns
- The stream.