PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PocketFrogPlus 0.2.1 released!

Ok, I have released another version of my extensions + pocketfrog 0.6.0.
Changes in this version:

* fixed mixing pause on some ppc (thanks fzammetti for report)
* fixed shutdown delay problem
* added support for mono or stereo output


You can download it at http://digilander.libero.it/funnybits

Enjoy it!
Dave Johnston · 17 Feb 2003, 09:36 UTC
Thanks gersen, just plugged in my code from PF 0.6.0 into this and it was running first time! Now, with some lovely MOD music :)

Awesome stuff.
Wish I could say the same.

Plugged in my latest bunch of code, which was using PocketFrog 0.4.5 because of the sound support, and it told me Blit is not a member of Surface...

*winces*

I think I'll have to look into what the major differences between 0.4.5 and 0.6.0 are. If a Surface can't Blit to another Surface though, it's going to be a painful conversion.
I also plugged it into the Invasion: Trivia code without any trouble. Well, one... the method Sound::GetChannel was changed to Sound::channel. Not a big deal at all, and it was the only thing that bit me. Thanks again Gersen!
Just curious... what's the difference between PFP 0.2.1 and 0.2.2?
Version 0.2.2 and version 0.2.3 are maintenance release... In version 0.2.3 I have fix the Sound::channel() Sound::getChannel() that some have noticed. Sorry... :? .

I have started a new graphics/sound library for pocketpc, for sound I'm using the same code that I use on pfp but there are some difference (mainly name of function and data type) so when I port the sound class to pfp I have to change some function and some other things that sometimes I forgot to do...

My library stay at the middle between gapidraw and pocketfrog. But my question now is, are there someone that need another pocketpc library?
If you could incorporate 3D routines, that'd be WAY cool. I looked at PocketGL, but I wasn't overly impressed with it. The FPS seemed to be so much lower than they needed to be, though I do admit that the demos "looked" pretty good.

I'm still waiting for my "Mathematics for 3D Game Programming and Computer Graphics" book to arrive from Amazon. (UPS says it should arrive today. Woohoo!)

Anyway, you asked for opinions. =)

-John
My personal preference, for whatever it is or is not worth, would not be for another library. I find PocketFrog to be fantastic and I'd prefer to see people continue to develop it. Myself and others have released some other primitive functions lately, you of course do great with Plus... if it could all be combined properly that would be great.

My only fear is that if anyone other than Thierry does it, then when he releases a new version, we'll have to go through the trouble of incorporating all the extension stuff with the new version.

Two solutions come to mind...

One is to ask Thierry to add all this stuff. I know he's busy with other things, and I'm not sure PF is at the top of his list any more anyway, so I'm not sure aboout this.

The other option is to add extensions in such a way that they can EASILY be moved into a newer version. Now, in the case of my extensions that would be very easy, just add the header to PF and an include and we're done. That's because my stuff doesn't actually modify any PF classes right now, although they should, just to add methods to existing classes, but again, a simple header file takes care of that. In the case of your sound extensions though, your modifying existing classes, right? Not just adding to them? That's where I think the problem arises.

Just like they say in business: God forbid you get hit by a bus... I mean, if a new version of PF comes out and your... not around... :) ... then I wouldn't be able to use the newer PF version and still have your sound stuff in it unless I went through the trouble of figuring out how you added it to PF.

In other words, and I should have just said this BEFORE I started babbling... I think we all need to make sure our extensions are very loosely coupled to PF wherever possible so that new version of PF can be sloted in with the extensions without any trouble. I don't think that's the case today.
Just letting people know... I am following what's going on, mostly out of curiosity.

But I don't intend on releasing any new PocketFrog library (v1.0 and lower, that is). I've sold my Maestro a few days ago to a co-worker (The only reason I bought it was to work on PF, but I stopped that completely). All I have left is my good old E-125.

I have other things going in my life. So you should probably elect someone to become the new "offical releaser" of PF... My only requirement is that my name stays in there as the original author and that the project be converted to LGPL (or GPL).

Thierry
Thank you for letting us know that, it will definitely help me for certain.

One question: what is the real difference between LGPL and GPL? I actually thought it was already GPL, I guess that's incorrect?
Really? This is the current license, to quote:


PocketFrog - The Game Library for Pocket PC Devices
Copyright 2002 Thierry Tremblay

Permission to use, copy, modify, distribute and sell this software
and its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear
in supporting documentation. Thierry Tremblay makes no representations
about the suitability of this software for any purpose.
It is provided "as is" without express or implied warranty.


If PocketFrog becomes GPL'ed, does that mean we won't be able to release any closed-source (including commercial) games made with it?
With GPL you have to provide all the source code of your project if someone want it. With LGPL you have to provide all the source code of every LGPL software that you have used in your project. So if PF became GPL you have to provide the source of your game too. Instead with LGPL only PF (and the modify you have made to it) must be avaible to the user that want it.

LGPL library are also included in microsoft software so anyone can use it on commercial software... :D
It seems to me that LGPL would be nice. If someone modifies PF, then his version must be available somewhere. It doesn't mean you need to ship the source code with your game.

GPL is more restrictive and I never liked it. LGPL is more liberal while protecting the public nature of the source code.
For whatever it's worth, I agree from reading this that LGPL is the way to go.

I have no problem giving out anything I write that extends PF, that only seems fair, but I'm not as excited about giving out the source for my actual projects, at least not until some length of time has expired anyway.
Just to clarify, what it sounds like you guys are saying is that whether it's GPL or LGPL, you don't actually have to ship the source with the product, just make it available if someone asks. Is that correct?
Yes, the idea is that you must make it available somewhere (not only on request), but really available.

Here is an example with LGPL: inside your readme.txt, write something like "This game uses the PocketFrog library available at pocketfrog.droneship.com".

With GPL: The source code for this game can be found at www.whatever.com.
Ah, ok. Subtle difference but it's important to understand. As I thought before, LGPL sounds fine to me.
fzammetti wrote:
In the case of your sound extensions though, your modifying existing classes, right? Not just adding to them? That's where I think the problem arises.


My sound extensions are integrated on PF framework mainly because the sound class must know when the app are minimized or something strange appened so the sound can be shout up without problem. If a new version of PF come then someone have to retouch it (but is a very simple task)... However I have read that Thierry have stop to develop it...

fzammetti wrote:
Just like they say in business: God forbid you get hit by a bus... I mean, if a new version of PF comes out and your... not around... :) ...


Ehm... I hope that I'll be around... :)
I hope so too :)

You see my point though I hope... I'm sure I could go dig around and find what you had to modify to integrate the sound extensions, but it would be nice if that wasn't necassery (or at least if it was documented somewhere). That way, even if a new version of PF came out and it took you a while to retouch it with the extensions, I could do it myself and not be slowed down in my own work.

But, this seems a moot point now given Thierry's comments.