-
The beautiful sunset,
-
is no match for,
-
the ugly sunrise
-
-
Results
On Sunday we had a hackfest on #sdl irc.perl.org. This is what we got done.
+
âDo or do not... there is no try.â
+
--yoda
-
-
+
The design before
+The bindings before were all in
one huge XS file. This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
-
- MacOSX build is working again. It's still rough but Tetris works on it now. dngor++
-- SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++
-- SDL Perl docs are a little better now. magnet++
-- Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++
-- Also POGL is working experimentally with SDL.
-
-
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.
+
The design we are aiming for
Simple
one XS per Module. This would also simplify the Build code.
-
Developers
All developers please tell me what to put you guys want to be put down as on the
-in the Docs for the SDL Perl Team section.
+
First Step
+We have began with SDL Rect. It is in github master branch now. We are in the progress of making it back compatible. Originally SDL::Rect took named variables as parameters for new(). Now since the constructor
is in XS we have only unnamed parameters.
---yapgh
-
-