OpenGL MahJongg Solitaire 3DAn implementation of the classical MahJongg Solitaire board game with OpenGL graphics.
Features:
License: free
Requirements:
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| no | yes | no | no | no | yes | yes |
Submitted by Reto on 2004-05-07.

Here's a suggestion for sounds and/or background music:
How about adding an option that lets mahjongg3d use the data of Pyrogon's NingPo Mahjongg? It's all there in /usr/local/games/ningpo/Resources/ningpo.pyz, which is a simple ZIP file that could be read, for example, by Icculus' PhysFS. The demo version of NingPo, which also contains the full sounds and background music, is available for free, so you don't even have to buy the game (although you're encouraged to do so, of course - I did, and it's a really nice little time killer ;-).
* If you like the other game so much, buy it.
* If you like the graphics so much that you want them included in this game, why not make them yourself or go to other programs that are free/open/... and use the graphics from _them_.
As far as "stealing" is concerned, that's quite a hard word, no? It's more like borrowing, and it can be used as a temporary solution until mahjongg3d has its own background music and sounds. If I download the demo (and even more so if I already bought the game), who's gonna stop me if I unpack the resource file, put the background.ogg in my XMMS playlist, and use the sounds as, say, ICQ sounds? There's nothing wrong with that, IMHO - distributing the sounds and music together with mahjongg3d, OTOH, is a whole different thing, granted, and a clear no-no.
Here's a good (at least I hope so :-) compromise suggestion: make (the paths to) background music and sounds configurable, and let the user decide.
When you play Solitare with real tiles, it becomes quite a massive structure. When you play with two sets mixed togeather (288 Tiles!) They can become HUGE!
I'll try and see if I can find out the traditional tile dimensions and update the game. But first, I think, I'll do a bit of bugfixing and more tileset drawing...
It would almost make sense to make thickness/shape of the tiles a property of the tileset.
You might get more options if you make them orthogonal, but perhaps the ability to have custom tiles with textures just for them could lead to some interesting designs.
PACKAGES: Since I'm using a Linux from scratch system, It would be difficult for me to make packages for all the many distributions out there, so I am looking for packagers and package testers :-))
Check the homepage for the soon-to-be-online forum!
/usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_PS_Font_Info' /usr/lib/qt-3.2.1/lib/libqt-mt.so: undefined reference to `FT_Stream_GetShort' /usr/lib/qt-3.2.1/lib/libqt-mt.so: undefined reference to `FT_Stream_ExitFrame' /usr/lib/qt-3.2.1/lib/libqt-mt.so: undefined reference to `FT_Stream_GetLong' /usr/lib/qt-3.2.1/lib/libqt-mt.so: undefined reference to `FT_Stream_Seek' /usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Has_PS_Glyph_Names' /usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_Next_Char' /usr/lib/qt-3.2.1/lib/libqt-mt.so: undefined reference to `FT_Stream_EnterFrame' /usr/X11R6/lib/libfontconfig.so.1: undefined reference to `FT_Get_BDF_Property'
But I solved that with adding -lfreetype to the linking options, perhaps this sould be done in the next release?
Well done!
This creates a Makefile custom tailored to your specific system, including all necessary CFLAGS, LDFLAGS and LIBS.
Is it possible that there's a problem with your system? I've encountered some compilation problems with other programs when using RedHat (8.0 release, I think) because it installed buggy or beta-versions of some libs. Just a suggestion :-)
It looks like this
Maybe the problem is solved if you try turning off the shadows (View/Toggle shadows). Another possibility is that, in some rare cases, the board generation fails and no tiles are set up, so simly try again some times. Please tell me if it works then :-)
Thanks for your help though, it was worth a try. If I find out something about it, I'll tell you.
Requiring a relatively new version QT, not using a 'configure' script - requiring QTDIR to be set...all of that is going to prevent it from working 'out of the box' for most users and is very off-putting.
PACKAGERS WANTED! :-)
P.S. Try the new version 0.95
--Andrew
The game returns the data path when invoking "mahjongg3d --data-prefix". I hope this will work for creating a package.
--Andrew
The "correct" version is online, so if you download it again, the problem should be solved :-)
make -f Makefile.doit PREFIX=/usr/games GAMEDATA_PREFIX=/usr/games make[1]: Entering directory `/home/ericsp/mahjongg3d.release' make[1]: *** No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop. make[1]: Leaving directory `/home/ericsp/mahjongg3d.release' make: *** [all] Error 2
Any suggestion???
EriK
export QTDIR=/path/to/your/qt
while replacing /path/to/your/qt with the path where your qt library is installed before invoking ./configure. This should resolve the problem :-)
A lot of Packages for SuSE, Debian, Xandros, Gentoo and Slackware packages have been submitted to the site.
Also, there are a lot of new tilesets, backgrounds and layouts available. Tell me what you think of them :-D