More Info

Revision 784039

(Back to digest)
 

Optimization in Games

Andreas Pakulat committed changes in /trunk/KDE/kdegames:

Add caching support for all kde card games. Ported lskat and kpat to use the new cache instead of each having their own cache.

The new cache is kdegames-global, i.e. any card game that uses libkdegames and the cache will automatically benefit from any decks that were cached by other games.

File Changes

Added 3 files
/trunk/KDE/kdegames/libkdegames
 
/cardcache.cpp
 
/cardcache.h
 
/cardcache_p.h
Modified 16 files
/trunk/KDE/kdegames
 
/kpat/card.cpp
 
/kpat/card.h
 
/kpat/cardmaps.cpp
 
/kpat/cardmaps.h
 
/kpat/dealer.cpp
 
/kpat/fortyeight.cpp
 
/kpat/freecell.cpp
 
/kpat/klondike.cpp
 
/kpat/pile_algorithms.cpp
 
/kpat/pwidget.cpp
 
/libkdegames/CMakeLists.txt
 
/kpat/patsolve/simon.cpp
 
/lskat/src/mainwindow.cpp
 
/lskat/src/mainwindow.h
 
/lskat/src/thememanager.cpp
 
/lskat/src/thememanager.h
19 files changed in total