You are currently browsing the CodeBot @ Work weblog archives for February, 2008.
- 3D Stuff (6)
- BumpTop (5)
- C/C++ (12)
- GEL (5)
- Open Source (5)
- Seneca (4)
- Stuff (8)
- Uncategorized (14)
- win32 (7)
- July 31, 2008: Work++; // Again!
- June 8, 2008: Patterns And Such.
- June 4, 2008: Work++;
- May 20, 2008: SIMD And Randomness
- April 30, 2008: Coder Burn-Out
- March 26, 2008: Some GameDev Math Resources.
- March 24, 2008: Real-Time Collision Detection
- March 17, 2008: To OSG, or not to OSG.
- March 9, 2008: The Moz Cause
- February 12, 2008: Et Tu Singletone.
Archive for February 2008
Et Tu Singletone.
February 12, 2008 by Mark.
Seems that my favorite pattern is also the bane of my current Game Engine development. Turns out that a singleton pattern doesn’t like to play nice with Dynamically Linked Libraries. The whole notion of being dynamic is counter productive to static members inside functions or classes. Looks like the only way to actually fix this is to wrap it all up in a big handler of some sort and have the calling code manage it. Either that or create a section of shared memory in the DLL and allow it to manage the singletons. Seems like a bit of a pain in the butt just to avoid a global variable. Hmm, unless I can wrap it in another creational pattern, possibly Builder or Abstract Factory…
More research is required. And research requires Tea. Therefore more Tea is required.
Posted in GEL, Open Source, 3D Stuff, C/C++ | No Comments »
At A Crossroads.
February 11, 2008 by Mark.
On my spare time (if there is such a thing), I have been slowly putting together my Game Engine. The foundational stuff is pretty much written and tested and I am just about to start writing the heart of this engine, the renderer. But as I’m thinking about the code structure, I am also debating if I should stick it out on the web as an Open Source project. I read up on a bunch of licenses but none of them were exactly what I needed. The type of license I’m looking for is one that would credit my name whenever it is used or redistributed. Also, it would force people who wants to use it for commercial use to cough up some coin. In other words: free for personal use, not free for commercial use, and my name to be always credited. Anyone know of a license like this?
One of the licenses I found useful was the MAME license. I might ask its author for a copy. On another note, I just set up an SVN server to host my engine. Also, I am slowly putting together a webpage for this project so people can easily find it. I’ll post the link soon.
EDIT: Dave advised me against using some of the lesser known licenses and advocated LGPL. I’m going to give LGPL a thorough read.
Posted in GEL, Open Source, 3D Stuff, C/C++, win32 | 1 Comment »