X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2Fblog-0017.html-inc;h=1945937aa5a7d7c8d752ce5a2e560b4c3f8a62d7;hb=a05e5d4499fb58198e463162d0385e8a156e1f03;hp=c9a5692ed28f0d4a049f216379a6a511a35fa5d7;hpb=cf23a5dab86667dca8475ee830e684c9944f115f;p=sdlgit%2FSDL-Site.git diff --git a/pages/blog-0017.html-inc b/pages/blog-0017.html-inc index c9a5692..1945937 100644 --- a/pages/blog-0017.html-inc +++ b/pages/blog-0017.html-inc @@ -1,6 +1,38 @@

-Design of SDL::Rect +New build system! Needs testing!

-

you say things,
I hear,
but don't listen,

you show things,
I see,
but don't understand,

you write things,
I read,
but don't know.

Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.



Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS. So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.





Have at it I am a big boy. You can grab the code like this.
Only If you don't already have a local git repo:

mkdir SDL
cd SDL
git init .

Then do this or skip to this if you already have a local git repo
git pull git://github.com/kthakore/SDL_perl.git experimental
\ No newline at end of file +
+
+
+
+
Rome was not built,
+in one day,
 feature creep,
+existed back then too.
+
+

+
kmx++ recently worked on a brand new Build system for Alien::SDL and SDL_perl. We have managed to test it in Windows and Linux environments. We would still appreciate testing on all environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:

+
Thank you very much!
+
+EDIT: 
+ After some  reports back we have found out that SDL_gfx needs 
+
+

+http://cblfs.cross-lfs.org/index.php/SDL_gfx#64Bit
+
+

+We are working to get this done.
+


+

\ No newline at end of file