Skip to Content
The Alchemy Project

struct MAP_MUSIC_RULE

A rule choosing a scene's field music, ended by id -1: a scene or an area (byScene), an entrance (-1 for any), a flag that must be set (-1 for none) and the music.

Declared in field_engine.h.

Fields

NameDescription
Sint16id
Sint16entrance : 15
Uint16byScene : 1
Sint16flags
Sint16music

Description

A rule choosing a scene's field music, ended by id -1: a scene or an area (byScene), an entrance (-1 for any), a flag that must be set (-1 for none) and the music.

struct MAP_MUSIC_RULE

Referenced by fdChooseMusic() and SceneMusicRules.

Definition at line 64 of file field_engine.h.

Fields in detail

id

Sint16 id

entrance

Sint16 entrance : 15

byScene

Uint16 byScene : 1

flags

Sint16 flags

music

Sint16 music