kgoldrunner
kgreditor.h
Go to the documentation of this file.
void editNameAndHint()
Run a dialog in which the name and hint of a level can be edited.
Definition: kgreditor.cpp:200
The KGrGameIO class handles I/O for text-files containing KGoldrunner games and levels.
Definition: kgrgameio.h:58
KGrGameData structure: contains attributes of a KGoldrunner game.
Definition: kgrglobals.h:88
bool deleteLevelFile(int pGameIndex, int pLevel)
Delete a level from a game.
Definition: kgreditor.cpp:425
void setEditObj(char newEditObj)
Set the next object for the editor to paint, e.g.
Definition: kgreditor.cpp:67
void getMousePos(int &i, int &j)
Get the next grid-position at which to paint an object in the layout.
bool editGame(int pGameIndex)
Create a new game (a collection point for levels) or load the details of an existing game...
Definition: kgreditor.cpp:496
KGrEditor(KGrView *theView, const QString &theSystemDir, const QString &theUserDir, QList< KGrGameData * > &pGameList)
The constructor of KGrEditor.
Definition: kgreditor.cpp:32
bool moveLevelFile(int pGameIndex, int pLevel)
Move a level to another game or level number.
Definition: kgreditor.cpp:326
KGrLevelData structure: contains attributes of a KGoldrunner level.
Definition: kgrglobals.h:103
bool createLevel(int pGameIndex)
Set up a blank level-layout, ready for editing.
Definition: kgreditor.cpp:72
bool saveLevelFile()
Save an edited level in a text file (*.grl) in the user's area.
Definition: kgreditor.cpp:214
Definition: kgrview.h:27
bool updateLevel(int pGameIndex, int pLevel)
Load and display an existing level, ready for editing.
Definition: kgreditor.cpp:120
bool saveOK()
Check if there are any unsaved edits and, if so, ask the user what to do.
Definition: kgreditor.cpp:646
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.