resonance 1.0.1
Loading...
Searching...
No Matches
multimuse.h File Reference
#include <cstddef>
#include <iostream>
#include <vector>
#include "app/attachment.h"
#include "mid/tickobj.h"
#include "msg/musemsg.h"
#include "stream/ibstream.h"
#include "stream/obstream.h"
Include dependency graph for multimuse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MultiMuse
 Sequence of messages, each at a song position. More...

Functions

std::ostream & PrintMuseMsgTickObj (std::ostream &stream, Sch::Tick position, MuseMsg *pMsg)
 Write one scheduled message to a diagnostic stream as [position: message].

Function Documentation

◆ PrintMuseMsgTickObj()

std::ostream & PrintMuseMsgTickObj ( std::ostream & stream,
Sch::Tick position,
MuseMsg * pMsg )

Write one scheduled message to a diagnostic stream as [position: message].

The position arrives by value in a1 and the message in a2, which is how TrackData's bar printer at 0x001d31d8 passes the two halves of one entry. The message is printed through Message::Print(), whose result is discarded.

Parameters
streamThe stream to write to.
positionThe song position.
pMsgThe message.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x001a97e8
Ghidra address:
PAL: 0x001af550