[CF-Devel] Patch: new sound proposal

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Tue May 18 01:43:02 CDT 2004


Nicolas Weeger wrote:

>
     
     
     >
     
      Note that this also solves the saving issue, since archetype contains 
     
     >
     
      information - thus only 'special' sounds are saved with object.
     
     >
     
      And if the archetype's sound ever changes, objects will be updated 
     
     >
     
      automatically if they don't have their own version.
     
     
  But that actually isn't true.  Since copy_object() copies the sound 
information, and since anything that is generated on the map after loading 
involves copy_object(), all those objects will now have sound information which 
is the same as the archetype, but because sound_info is now set, will get saved 
out.  That isn't terrible, but is a bit odd.

  I also do expect it will be desired to clear sound events from the archetype 
without replacing them (Eg, making a 'quiet' item).



_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list