URL:
  <http://gna.org/patch/?786>

                 Summary: Reference counting patch
                 Project: Warzone Resurrection Project
            Submitted by: per
            Submitted on: Friday 08/03/2007 at 12:17
                Category: None
                Priority: 4
                  Status: Wont Do
                 Privacy: Public
             Assigned to: per
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This is just to make a ticket for it. My current idea on reference counting
is this: We should keep the Warzone model of removing dead objects at the end
of the next turn, and requiring all code to check for dead references each
turn. However, we can use reference counting as a safety measure to ensure
that when there is a bug, we can detect it earlier in debug builds and can
work around it in release builds.

Attached is a full debug version of the reference counting patch. It is not
commit-worthy, but can be useful to track reference problems, since it emits
a ton of useful debug information about reference changes during game play.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Friday 08/03/2007 at 12:17  Name: refcount_debug.diff  Size: 23kB   By:
per

<http://gna.org/patch/download.php?file_id=2744>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?786>

_______________________________________________
  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