Skip to main content
GameDev.net gamedev.net
🔒 Locked

card game gui

Started by Roswitha Mar 12, 2007 at 10:57 PM 2 replies 1.5k views
Original Post
Roswitha
Roswitha
I wrote the game engine for a card game using C++. It's currently running on Windows but I would like it to be cross-platform; it's not web-based. On my previous card game, I used SDL for the GUI since it was just a matter of clicking a card to play it. In this game, the player needs to be able to rearrange the cards in his hand. I'm hoping to find something like an open-source card game where I can borrow the code for dealing with the cards on the screen, or maybe an API that's specific for card games. I'm basically trying to avoid coding it in SDL myself. Does anyone have any suggestions? Thanks in advance.
Dunge
Dunge
You might want to check your \WINDOWS\system32\cards.dll file. It contain to function used by Windows card games. Google the file for info how to use it in code.

Of course, this isn't cross-platform :s
TheAdmiral
TheAdmiral
Windows's cards.dll (and cards32.dll) are very unpleasant to use. A good few years back, I had some good experiences with QCard, but it doesn't look like it has been updated in a long time, and it too is Windows-only.

I second the Sourceforge suggestion.

Admiral
Ring3 Circus - Diary of a programmer, journal of a hacker.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.