[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: none
From: |
David Philippi |
Subject: |
Re: none |
Date: |
Mon, 16 Sep 2002 11:44:15 +0200 |
User-agent: |
KMail/1.4.1 |
On Sunday 15 September 2002 20:42, Ingo Ruhnke wrote:
> The problem was that the CL_Surface's where never initialized. Copying
> CL_Surfaces around is perfectly ok, they are just ref-counted wrappers
> around CL_SurfaceGeneric. What the code did was:
Strange, I thought that the data would be initialized in the XY_Data default
constructor which ought to be called by WorldObjsDataFactory...
Initializing them in the data class is probably not the best idea anyway
since then every Surface of every WorldObj would be initialized. Some day
this could lead to quite a lot of memory usage.
Bye David
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.13,1.14 conveyor_belt.hxx,1.10,1.11 ice_block.cxx,1.13,1.14 ice_block.hxx,1.9,1.10 switch_door.cxx,1.15,1.16 switch_door.hxx,1.12,1.13, David Philippi, 2002/09/15
- Re: none, Ingo Ruhnke, 2002/09/15
- Re: none,
David Philippi <=