struct MAP_MUSIC_RULE
A rule choosing a scene's field music (SceneMusicRules, music_rules.s), ended by id -1.
Declared in field_engine_internal.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | id | a scene, or an area |
Sint16 | entrance : 15 | -1 for any entrance |
Uint16 | idIsMap : 1 | 1 when id is a scene, 0 when it is an area |
Sint16 | flags | -1, or a flag that must be set |
Sint16 | music | sounds.h's MUS_ numbers |
Description
A rule choosing a scene's field music (SceneMusicRules, music_rules.s), ended
by id -1.
struct MAP_MUSIC_RULE
Referenced by fdChooseMusic() and SceneMusicRules.
Definition at line 74 of file field_engine_internal.h.
Fields in detail
id
Sint16 id
a scene, or an area
entrance
Sint16 entrance : 15
-1 for any entrance
idIsMap
Uint16 idIsMap : 1
1 when id is a scene, 0 when it is an area
flags
Sint16 flags
-1, or a flag that must be set
music
Sint16 music
sounds.h's MUS_ numbers