From: Tobias Leich Date: Thu, 12 Nov 2009 18:12:12 +0000 (+0100) Subject: updated layout X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2b546c01d23ba1eeffd21308d640c6c9c1112a1d;p=sdlgit%2FSDL-Site.git updated layout --- diff --git a/pages/blog-0005.html-inc b/pages/blog-0005.html-inc index e295b19..2d4b203 100644 --- a/pages/blog-0005.html-inc +++ b/pages/blog-0005.html-inc @@ -1,6 +1,6 @@ -
-

-Thanks nothingmuch, and updates -

-
+
+

+Thanks nothingmuch, and updates +

+
struggle,
live,
cease,
die

After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic. So I will start moving my ugly XS to Magic Land.

SDL Perl Tutorials

This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone. I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online. Another Lunar Lander tutorial has been submitted by Nelson Ferraz.

If anyone has any really good tutorials for game development (regardless of language) or even request of tutorials. Send it my way I will look into them.

New SDL Perl site

Also we have begin work on a new site. It is still needs work. New Site.

--yapgh


\ No newline at end of file diff --git a/pages/blog-0006.html-inc b/pages/blog-0006.html-inc index c38a1a7..11c394e 100644 --- a/pages/blog-0006.html-inc +++ b/pages/blog-0006.html-inc @@ -1,6 +1,6 @@ -
-

-Design of SDL::Rect -

-
+
+

+Design of SDL::Rect +

+

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 diff --git a/pages/blog-0007.html-inc b/pages/blog-0007.html-inc index 07325bb..38b4434 100644 --- a/pages/blog-0007.html-inc +++ b/pages/blog-0007.html-inc @@ -1,6 +1,6 @@ -
-

-Updates and Design Decisions -

-
+
+

+Updates and Design Decisions +

+

Storm clouds loom,
Thunder cracks,
Lightning blinds,
Farmers rejoice.

Some quick updates:
After someone bugged me to update the Ohloh site for SDL perl, I finally got around to doing it.


Some good news:
v2.2.2.11 seems to be doing a good job considering it has been started to be picked up Debian, Mandriva and other packager maintainers. The stats are currently at [PASS(11) FAIL(6) NA(1) UNKNOWN(35)].

Some OK news:
As you can see we have some fails occurring in the smoke tests. This is occurring due to the test on Mixer.pm. Mixer.pm depends on a sound card being available to the user running the test. This can be fixed by adjusting the test to check for sound cards before it runs but I am at a lost on how to do that.
In regards to the unknowns occurring it is due to the *nixes and macs not having SDL libs installed. The will be fixed when Alien::SDL downloads and compiles sources.

Some not-so-great news:
Currently the XS code simplification work requires redesign and there are several different ways of redesigning. This may break backwards compatibility, hopefully we can work around this. Soon we will present the two arguments for the designs in the mailing list.


Until next time here is  a hint of something coming soon (credits go to garu):


--yapgh
\ No newline at end of file diff --git a/pages/blog-0008.html-inc b/pages/blog-0008.html-inc index c05c322..f2f3d61 100644 --- a/pages/blog-0008.html-inc +++ b/pages/blog-0008.html-inc @@ -1,6 +1,6 @@ -
-

-Why I will be sticking to CPAN -

-
+
+

+Why I will be sticking to CPAN +

+
sculpted in clay,
then fired to glass.


Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.

The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl (kmx, jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.

If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
\ No newline at end of file diff --git a/pages/blog-0009.html-inc b/pages/blog-0009.html-inc index 96823fd..7ce09e8 100644 --- a/pages/blog-0009.html-inc +++ b/pages/blog-0009.html-inc @@ -1,6 +1,6 @@ -
-

-Frozen Bubble coming to CPAN -

-
+
+

+Frozen Bubble coming to CPAN +

+
The frozen wind,
made me shiver,
with excitement.

There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo. Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do 
cpan install FrozenBubble
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
\ No newline at end of file