kgoldrunner
Go to the documentation of this file.
   42 class KRandomSequence;
 
   50              const QString & theSystemDir, 
const QString & theUserDir);
 
   73     void kbControl          (
const int dirn, 
const bool pressed = 
true);
 
   78     void playSound          (
const int n, 
const bool onOff = 
true);
 
   81     void quickStartDialog();
 
   83     bool modeSwitch (
const int action,
 
   84                      int & selectedGame, 
int & selectedLevel);
 
   86                      int & selectedGame, 
int & selectedLevel);
 
   88     void toggleSoundsOnOff (
const int action);  
 
   91     void setControlMode (
const int mode);
 
   92     void setHoldKeyOption (
const int option);
 
   93     void setTimeScale (
const int action);
 
   95     void newGame   (
const int lev, 
const int gameIndex);
 
   96     void runReplay (
const int action,
 
   97                     const int selectedGame, 
const int selectedLevel);
 
   98     bool startDemo (
const Owner demoOwner, 
const QString & pPrefix,
 
  100     void runNextDemoLevel();
 
  104     void interruptDemo();
 
  107     void startInstantReplay();
 
  108     void replayLastLevel();
 
  114     void showHighScores();      
 
  116     void freeze (
const bool userAction, 
const bool on_off);
 
  118     QString getDirectory (
Owner o);
 
  121     void levelCompleted();      
 
  127     bool selectSavedGame (
int & selectedGame, 
int & selectedLevel);
 
  130     void loadGame (
const int index, 
const int lev);
 
  135     void endLevel (
const int result);   
 
  155     void setToggle (
const char * actionName, 
const bool onOff);
 
  156     void setAvail  (
const char * actionName, 
const bool onOff);
 
  160     QString initialThemeFilepath;
 
  163     void quickStartPlay();
 
  164     void quickStartNewGame();
 
  165     void quickStartUseMenu();
 
  166     void quickStartQuit();
 
  169     bool playLevel (
const Owner fileOwner, 
const QString & prefix,
 
  170                     const int levelNo, 
const bool newLevel);
 
  171     void setupLevelPlayer();
 
  172     void showTutorialMessages (
int levelNo);
 
  173     void setPlayback (
const bool onOff);
 
  175     void checkHighScore();      
 
  183     KRandomSequence *           randomGen;  
 
  191     QString         systemDataDir;  
 
  195     QList<KGrGameData *>        gameList;   
 
  205     QString                     mainDemoName;   
 
  210     QString                     playbackPrefix; 
 
  246     bool loadGameData      (
Owner);
 
  247     bool initRecordingData (
const Owner fileOwner, 
const QString & prefix,
 
  249     void saveRecording();
 
  250     bool loadRecording     (
const QString & dir,   
const QString & prefix,
 
  258     void myMessage (QWidget * parent, 
const QString &title, 
const QString &contents);
 
void setToggle(const char *actionName, const bool onOff)
 
void setInitialTheme(const QString &themeFilepath)
 
Class to play, record and play back a level of a game. 
 
void playSound(const int n, const bool onOff=true)
 
KGrRecording structure: contains a record of play in a KGoldrunner level. 
 
void dbgControl(const int code)
 
void kbControl(const int dirn, const bool pressed=true)
 
void setAvail(const char *actionName, const bool onOff)
 
This class is the game-editor for KGoldrunner. 
 
void gameActions(const int action)
 
void editToolbarActions(const int action)
 
KGrGame(KGrView *theView, const QString &theSystemDir, const QString &theUserDir)
 
void editActions(const int action)
 
The QGraphicsScene that represents KGoldrunner on the screen. 
 
void settings(const int action)
 
void incScore(const int n)
 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:12 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.