Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
trs:sound [2017/11/17 12:19] stohrendorftrs:sound [2021/05/21 23:51] (current) – [Sound Sources] stohrendorf
Line 93: Line 93:
  
 {{anchor:tr_sound_source}} {{anchor:tr_sound_source}}
 +
 <code cpp> <code cpp>
 struct tr_sound_source // 16 bytes struct tr_sound_source // 16 bytes
Line 102: Line 103:
     uint16_t Flags;     // 0x40, 0x80, or 0xC0     uint16_t Flags;     // 0x40, 0x80, or 0xC0
 }; };
 +
 </code> </code>
  
-''%%Flags%%'' field defines sound source behaviour, if it was placed in room which can be flipped to alternate room:+''<nowiki>Flags</nowiki>'' field defines sound source behaviour, if it was placed in room which can be flipped to alternate room: 
 + 
 +   * ''<nowiki>0x40</nowiki>'': Play sound if room is in alternate state. 
 +  * ''<nowiki>0x80</nowiki>'': Play sound if room is in original state. 
 +Note that these flags are not mutually exclusive. 
  
-  * ''%%0x40%%'': Play sound only when room is in alternate state. 
-  * ''%%0x80%%'': Play sound only when room is in original state. 
-  * ''%%0xC0%%'': Always play sound (in both original and alternate rooms). 
 ==== Sound Map ==== ==== Sound Map ====
  
trs/sound.txt · Last modified: 2021/05/21 23:51 by stohrendorf
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0