URL:
  <http://gna.org/bugs/?10995>

                 Summary: --nosound broken
                 Project: Warzone Resurrection Project
            Submitted by: gerard_
            Submitted on: Tuesday 02/05/2008 at 22:26
                Category: Engine: Sound
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn/trunk
        Operating System: GNU/Linux
         Planned Release: None

    _______________________________________________________

Details:

The --nosound command line option is broken, using it causes an assert:

never   : directory: script/binary
never   : directory: script/data
never   : file: SCRIPTVAL cam1a.vlo
wz      : Loading script data cam1a.vlo
script  : allocated space for 27 events
error   : resGetDataFromHash: Unknown ID: 66d7b27 Type: WAV
error   : Assert in Warzone: frameresource.c:579 : resGetDataFromHash (psRes
!= NULL), last script event: '<none>'
warzone2100: frameresource.c:579: resGetDataFromHash: Assertion `psRes !=
((void *)0)' failed.

The way --nosound is implemented is wrong, it is better to act like
--dry-run, and perform all operations except the actual openall calls. This
makes it that you can start a game with --nosound, save, start with --sound,
and continue (with the sound playing as it would have been).




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?10995>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to