[CF-Devel] Patch: new sound proposal

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Mon May 24 02:25:30 CDT 2004


>
     
       But I'm thinking of things like generators.  Generators have other_arch 
     
     >
     
      set. When that monster is created from a generator, the calls that are 
     
     >
     
      used to create it will not free the sound information.
     
     >
     
     
     >
     
       Same would actually be true for the treasure code for that matter.  So 
     
     >
     
      the only sound info that is getting cleared is that that is in the map 
     
     >
     
      file.  All items generated after the fact, unless copies from the map 
     
     >
     
      (eg, black puddings perhaps) will have the full sound info, because it 
     
     >
     
      won't get freed, so it will get saved out to disk.
     
     >
     
     
     >
     
       A better approach than this is really needed.  As said previously, it 
     
     >
     
      should be pretty easy to add a flag saying 'this sound is unmodified 
     
     >
     
      from the archetype, and just points at that sound data' vs a 'this sound 
     
     >
     
      is customized'.
     
     
Didn't think of generators - my mistake.
Guess i'll hafta go back to design board :p


_______________________________________________
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