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



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:



Reply to this item at:


  Message sent via/by Gna!

Warzone-dev mailing list

Reply via email to