[Mono-list] Porting FreeTrain to Mono
Free Gamer
freegamerblog at gmail.com
Tue Feb 26 01:49:34 EST 2008
Wow! Amazing! I haven't tried it but that's so quick!
I've cc'd the patch to freetrain-devel at lists.sourceforge.net but I
suggest you also join it for further discussion there since so the
rest of the dev team will also be able to see.
Thanks!
- C
---------- Forwarded message ----------
From: Atsushi Eno <atsushi at ximian.com>
Date: Tue, Feb 26, 2008 at 6:39 AM
Subject: Re: [Mono-list] Porting FreeTrain to Mono
To: Free Gamer <freegamerblog at gmail.com>
Cc: mono-list at lists.ximian.com
Hello,
So I've created a patch to make it build with mono (from FreeTrain.sln,
built with MonoDevelop). Though I
could not get it run fine on mono due to some SDL_Image_Load()
behavioral difference that returns null.
atsushi at linux-tx2c:/svn/FreeTrainSDL/bin/Debug> MONO_IOMAP=all mono
--debug FreeTrainSDL.exe
Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: src
at (wrapper managed-to-native)
System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
at SDL.net.Surface..ctor (System.String filename) [0x00052] in
/svn/FreeTrainSDL/lib/SDLGFX.net/Surface.cs:99
at FreeTrainSDL.SDLGUI.initGUI (Int32 width, Int32 height, IntPtr pf)
[0x00067] in /svn/FreeTrainSDL/SDLGUI.cs:61
at FreeTrainSDL.FreeTrainSDL.Go () [0x0011b] in
/svn/FreeTrainSDL/Program.cs:120
at FreeTrainSDL.FreeTrainSDL.Main () [0x00006] in
/svn/FreeTrainSDL/Program.cs:79
It would be nice if someone who is familiar with Tao/SDL could try it.
Atsushi Eno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ft-mono-build.patch
Type: text/x-patch
Size: 16885 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080226/bf906ce6/attachment-0001.bin
More information about the Mono-list
mailing list