[Kde-games-devel] [PATCH] Individual Settings for kpat game-types

Mathias Soeken usenet at pprojekt.de
Wed Mar 23 13:23:56 CET 2005


Hello,

i have extended the ui and the dealer - class, so that all game-types can
handle individual settings. If you want individual settings for a game type
you have to override 

bool hasGameSettings();

and return true;

then you have to override

void showGameSettingsDialog();

and execute a dialog or something else to change game specific options.

As a demonstration of this extension I have integrate a vegas option to
Klondike (you cannot redeal in vegas mode)

Another idea was to put together Klondike easyGame and Klondike (draw 3).

One thing I haven't fixed yet is the gameislost confirmation in Klondike
when vegas mode is on.

Please let me know whether this patch is useful for kpat. So I would develop
more on this topic.

(I'm not a native speaker so forgive my mistakes!)

Best regards
Mathias Soeken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpat-patch.tar.gz
Type: application/x-gzip
Size: 2579 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20050323/ea50cea1/kpat-patch.tar.gz


More information about the kde-games-devel mailing list