#include <cstddef>
#include <list>
#include <vector>
#include "math/plane.h"
#include "math/vector3.h"
#include "os/binstream.h"
#include "os/mem.h"
#include "os/prnstream.h"
#include "rnd/rndanimatable.h"
#include "rnd/rndcollideable.h"
#include "rnd/rnddrawable.h"
#include "rnd/rndtransformable.h"
#include "rnd/rndview.h"
Go to the source code of this file.
|
| PrnStream & | operator<< (PrnStream &stream, const RndArena::Section §ion) |
| | Write a section's view, frame, loop, window, and flags.
|
| BinStream & | operator<< (BinStream &stream, const RndArena::Section §ion) |
| | Write a section's view name, frame, loop, window, and flags.
|
| BinStream & | operator>> (BinStream &stream, RndArena::Section §ion) |
| | Read a section the section writer wrote, or an earlier version of it.
|
◆ operator<<() [1/2]
Write a section's view, frame, loop, window, and flags.
- Parameters
-
| stream | The stream to write to. |
| section | The section. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x0024a360
- Ghidra address:
- PAL: 0x00252de0
◆ operator<<() [2/2]
Write a section's view name, frame, loop, window, and flags.
The binary expands the routine inline in the vector writer.
- Parameters
-
| stream | The stream to write to. |
| section | The section. |
- Returns
- The stream.
◆ operator>>()
Read a section the section writer wrote, or an earlier version of it.
The version is the one RndArena::Load() read last. Version 1 adds the window, version 3 the teleport flag, and version 4 the sort flag.
- Parameters
-
| stream | The stream to read from. |
| section | Receives the section. |
- Returns
- The stream.
- Ghidra address:
- NTSC-U/C: 0x0024a450
- Ghidra address:
- PAL: 0x00252ed0