[Kde-games-devel] Re: REKO cardsets forKDE cardgames?

Neil Stevens neil at qualityassistant.com
Sat Jun 7 11:58:39 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday June 07, 2003 08:28, Bernd Lachner wrote:
> O.K. First, I don't want replace the current card format (png) by the
> REKO format, but I want make this card format usable by KDE card games
> too.
>
> I have already some Java classes for reading and showing the REKO
> cardsets. It is not a great problem to rewrite this classes in C++ for
> Qt/KDE.
>
> The problem is, how can I make this cardsets usable for the KDE card
> games too. As far I can see many (all?) KDE card games uses the
> kcarddialog for loading the cards. But this dialog gives not the images,
> for example as a QImage, back to the games but it gives file and
> directory names back.
>
> But this is not possible with the REKO format, because there are no
> separate files for a card.
>
> Maybe the solution could be a kioslave as proposed from Rob Kaper. I
> think a KIO slave for the reko card format can offer the cards inside a
> REKO file as png files. The kcarddialog than can give file and directory
> names of this "virtual" png files back to the games. In this way the
> REKO files must not be converted and the card games must not be changed.
>
> I have some experience with Qt and KDE programming but not with kio. But
> I will read the kio tutorial. As I said before, the REKO format is not
> the problem, because I can rewrite my Java classes easy in C++. And I
> think learn something about kio slaves would be nice.
>
> What do you think? Is a kio slave a good solution?

Not if you want KDE card games to be able to load your card decks.

If you want all the KDE card games, both in and out of KDE CVS, to be able 
to load the new decks, you have to have the decks in the same PNG format 
and file layout the existing decks are in.

Unless the new decks are in the same format and file layout, we can't ship 
them with KDE.

- -- 
Neil Stevens - neil at qualityassistant.com
"The shepherd drives the wolf from the sheep's throat, for which the
sheep thanks the shepherd as a liberator, while the wolf denounces him
for the same act as the destroyer of liberty." -- Abraham Lincoln
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+4ifdf7mnligQOmERAj8cAJ4tpQluDnuPArkoa45XYmTam6EXHQCdGbD+
57RNG3ukOH/t6pppxuebV0w=
=ubdq
-----END PGP SIGNATURE-----



More information about the kde-games-devel mailing list