About memory leaks…
Posted by Johannes Stein on Oct 6, 2009 in Games, Libraries | 0 comments
There were a few memory leaks in the Elysion Frameworks. Well, “few” is clearly an understatement. Fortunately I found some code from the (old) ElysionSDL library on some backup DVDs and after a couple of days I was finally able to fix all memory leaks in the classes TelSprite and TelTrueTypeFont (and all derived classes like TelButton).
There a few things which are not working as I hoped, for example the VirtualClone procedure just loads the original image file now, because copying from an existing SDL_Surface gives for some reason unknown to me a null pointer.
I marked the Generate procedure as deprecated, it still works now, but in the near future Generate won’t exist any more and that code will most likely be moved to the Draw procedure. The reason is, ElysionKronos doesn’t need Generate and I’m trying to keep the Elysion Frameworks as much compatible to each other as I can.
If you want to try the Elysion Frameworks (it’s still not stable) check out the SVN repository on http://sourceforge.net/projects/elysionsdl/
On another note:
I’ve updated Cavern Defense to the newest ElysionLegacy version and also included a 64-bit Linux build. The Mac OS application is significantly smaller this time. (I inadvertently included debug SDL libraries in the last release.)
The download links have been updated.
Irrlicht for (Free)Pascal: First preview version
Posted by Johannes Stein on Oct 1, 2009 in Libraries, Linux, Mac OS X, OS-related, Windows | 0 comments
Here is the first preview version of IrrlichtWrapper for Pascal.
You need the Microsoft Visual Studio C++ Redist package, or you can use alternatively the MingW DLLs, but the MingW DLLs don’t have DirectX support. I translated six of the original 78 examples. It’s actually working pretty well, but there are a few issues:
- The wrapper supports only Irrlicht 1.4.2
- The particle system is not working, creates an AV
- Text output isn’t working correctly on Linux
- Mac OS is not supported at the moment (for some unknown reason I cannot create a dynamic IrrlichtWrapper library on Mac OS X)
Download IrrlichtWrapperPas (8,1 MB)
And here is a port of Frank Dodd’s IrrKlangWrapper for Pascal: Download here (1,1 MB)
It just features a few functions at the moment, but works on Windows, Linux and Mac OS X.
Porting Irrlicht to Object Pascal began…
Posted by Johannes Stein on Sep 9, 2009 in Development, Libraries, Windows | 0 comments
A lot of people googling for irrlicht, freepascal and delphi have been redirected here lately. (Just because I link to the Irrlicht page in my blogroll.)
Nevertheless porting Irrlicht to FreePascal and Delphi has always been a big dream to me. So I took a few hours and began to port Frank Dodd’s IrrlichtWrapper to FreePascal.
That went pretty well and I got a hello world example up and running.
I’ll continue to work on that later as I have a few other projects at the moment.
Read MoreElysion Frameworks API changes
Posted by Johannes Stein on Jun 12, 2009 in Development, Libraries, Linux, Mac OS X, Windows | 1 comment
Yesterday I commited some changes to the Elysion Frameworks SVN on how to API looks like now. The two biggest changes:
TelSurface is now a singleton: This is because SDL 1.2 supports only one surface with video information. It seems logical to transform it into a singleton. This has another advantage: The whole Assign(Surface: TelSurface) procedures which kinda annoyed me are gone now.
Objects’ Getter and Setter methods are now private. Access to them is provided through published properties.
There shouldn’t be any other API changes before it’s a stable release, right now I’m cleaning up the code and documenting it.
Mini LD #9: Time Travel Constructor
Posted by Johannes Stein on May 24, 2009 in Development, Games | 0 comments
For those of you who didn’t know there was a Mini LD this weekend. Yes, I participated. Allright, it’s final or as final as it can get. Here’s the short description: You are a constructor who can travel through time with the only goal to make as much money as possible.
Download here: Stoney_MiniLD9_TimeTravelConstructor.zip (15,7 MB; Windows Binary + Source)

