pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to continue


From: Ingo Ruhnke
Subject: Re: How to continue
Date: 11 Jun 2002 17:36:10 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Philippi <address@hidden> writes:

>> A manager class shouldn't be needed since we don't have seperate
>> gameplay and garbage lists.
> 
> OK, but what do you want to change at the world then?

Add a "for(...iterator i = ..begin..end) delete *i" in the destructor
and get rid of all the shared_ptr<WorldObj>, thats basically all. One
should also take care that we don't remove any objects from the
world_obj list, since I am not 100% sure that we don't do that.

-- 
Advent:     http://www.freesoftware.fsf.org/advent/
Feuerkraft: http://www.freesoftware.fsf.org/feuerkraft/
Pingus:     http://pingus.seul.org/           || ICQ:      59461927
Home:       http://pingus.seul.org/~grumbel/  || JabberID: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]