[Wormux-dev] (no subject)

2008-01-28 Par sujet Bartek Weclewski
Excuse me, can you make a portable (non-install) version of Wormux? ___ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev

Re: [Wormux-dev] Singleton and design patterns

2008-01-28 Par sujet Eddy Petrișor
On 27/01/2008, Kurosu <[EMAIL PROTECTED]> wrote: > Kurosu a écrit : > > I've been introducing a CleanUp() static method in those I found, so as > > to delete the singleton of the considered class. This has so far removed > > about 1MB of leaks on program exit, but a big number of them remains. > >

Re: [Wormux-dev] Singleton and design patterns

2008-01-28 Par sujet Kurosu
Hi, Eddy Petrișor a écrit : > Doing that would mean to do a half assed job. If we rely on the > famework to do the job for us, we'll end up not using the CleanUp > function at all. That would only be in "release mode", where we prefer avoiding any potential bug in the class destructors than expos

Re: [Wormux-dev] Singleton and design patterns

2008-01-28 Par sujet Kurosu
Hi, Julien Puydt a écrit : > Kurosu a écrit : >> This one seems rather nice (at least it confirms my belief it should be >> a template): >> http://www.gamedev.net/reference/programming/features/enginuity2/page5.asp > > I'm not convinced the author wrote and maintained that much C++ code : I have

Re: [Wormux-dev] Singleton and design patterns

2008-01-28 Par sujet Kurosu
Hi, Julien PUYDT a écrit : >>> I've been introducing a CleanUp() static method in those I found, so as >>> to delete the singleton of the considered class. This has so far removed >>> about 1MB of leaks on program exit, but a big number of them remains. [...] > There's another way : a master objec

Re: [Wormux-dev] (no subject)

2008-01-28 Par sujet Kurosu
Eddy Petrișor a écrit : > On 28/01/2008, Bartek Weclewski <[EMAIL PROTECTED]> wrote: > I suspect you refer to the Windows port of the game. > Most likely, yes. The Windows porter (Kurosu, iirc) has to look over this. Yes. There are several OS targets that would need to copy only the proper files:

Re: [Wormux-dev] (no subject)

2008-01-28 Par sujet Eddy Petrișor
On 28/01/2008, Kurosu <[EMAIL PROTECTED]> wrote: > Eddy Petrișor a écrit : > > On 28/01/2008, Bartek Weclewski <[EMAIL PROTECTED]> wrote: > > I suspect you refer to the Windows port of the game. > > Most likely, yes. The Windows porter (Kurosu, iirc) has to look over this. > There already was such

Re: [Wormux-dev] (no subject)

2008-01-28 Par sujet Eddy Petrișor
On 28/01/2008, Bartek Weclewski <[EMAIL PROTECTED]> wrote: > Excuse me, can you make a portable (non-install) version of Wormux? I suspect you refer to the Windows port of the game. Most likely, yes. The Windows porter (Kurosu, iirc) has to look over this. Notes to the person that will implement

Re: [Wormux-dev] Singleton and design patterns

2008-01-28 Par sujet Kurosu
As the ml tends to strip even patches, you can find a mirror of the patch here: http://kurosu.free.fr/wormux/singleton.diff Kurosu a écrit : > For 1), I think there should maybe be a factory or whatever, holding a > list of all the created instances, and providing some method to destroy > all inst