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

Neil Stevens neil at qualityassistant.com
Fri Jun 13 01:27:56 CEST 2003


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

On Friday June 13, 2003 12:21, blachner at gmx.de wrote:
> > > Here the REKO data format for all which want to know it. It should
> > > be helpful if you want to support REKO cardsets in your own card
> > > games, which is always a good idea I think.
> > >
> > > A short note:
> > > ULONG is unsigned 32 bit, UWORD is unsigned 16 bit and UBYTE is
> > > unsigned 8 bit data.
> >
> > little endian?
>
> The Amiga Formats are big endian, becaus the come from 68k. The RKP8 and
> RKP16 formats are little endian. But as I said before I have some
> classes to read this formats written in Java. It's not the problem to
> rewrite them in C++

Super.

> > Hm.. note that these REKO sets force a combination of fronts and
> > backs, while KCardDialog lets the user separate them.  I think that's
> > another point for the installer method.
>
> Yes maybe a REKO card installer is the easiest and fastest way.  I think
> about adding a "Install as KDE cards" option in my Java card viewer.
>
> I decided also to write a KIO slave for the REKO cardset. Because I want
> to learn a little about KIO. If there is interessting than to add this
> KIO slave to the KDE CVS, it would be nice, if not, I learned something.
> After the KIO slave is finished it should not be a great problem to
> write a REKO installer which usese this slave if there is interest. And
> it is also possible to make an advanced kcarddialog which uses the KIO
> slave to load the cards, if this is prefered.

Sounds good.  Learning more about KDE is nice in my view. :-)  I for one 
wouldn't pass up such a chance to learn about a system like KIO, so I'm 
not surprised that you don't.

It'd probably be good if you put the file parsing and converting code into 
a common library to be used by both your ioslave and the installer app.

- -- 
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+6Xz8f7mnligQOmERAtsrAJ4npMbSBVqvg0lLcuRQdIPrgfBWGwCfcnOT
6k6lLNBiSUg8FD5OT8Ax01U=
=Iro6
-----END PGP SIGNATURE-----



More information about the kde-games-devel mailing list