kgoldrunner
#include <QByteArray>
#include <QString>
Go to the source code of this file.
|
enum | {
GoldSound,
StepSound,
ClimbSound,
FallSound,
DigSound,
LadderSound,
DeathSound,
CompletedSound,
VictorySound,
GameOverSound,
NumSounds
} |
|
enum | AnimationType {
RUN_R,
RUN_L,
CLIMB_R,
CLIMB_L,
CLIMB_U,
CLIMB_D,
FALL_R,
FALL_L,
OPEN_BRICK,
CLOSE_BRICK,
nAnimationTypes
} |
|
enum | Axis { X,
Y,
nAxes
} |
|
enum | DebugCodes {
DO_STEP,
BUG_FIX,
LOGGING,
S_POSNS,
S_HERO,
S_OBJ,
ENEMY_0,
ENEMY_1,
ENEMY_2,
ENEMY_3,
ENEMY_4,
ENEMY_5,
ENEMY_6
} |
|
enum | Direction {
STAND,
RIGHT,
LEFT,
UP,
DOWN,
nDirections,
DIG_RIGHT = nDirections,
DIG_LEFT,
NO_DIRECTION,
UP_LEFT,
DOWN_LEFT,
UP_RIGHT,
DOWN_RIGHT,
EndDirection
} |
|
enum | EditAction {
CREATE_LEVEL,
EDIT_ANY,
SAVE_EDITS,
MOVE_LEVEL,
DELETE_LEVEL,
CREATE_GAME,
EDIT_GAME
} |
|
enum | GameAction {
NEW,
NEXT_LEVEL,
LOAD,
SAVE_GAME,
PAUSE,
HIGH_SCORE,
KILL_HERO,
HINT,
DEMO,
SOLVE,
INSTANT_REPLAY,
REPLAY_LAST,
REPLAY_ANY
} |
|
enum | HeroStatus { NORMAL,
WON_LEVEL,
DEAD,
UNEXPECTED_END
} |
|
enum | KBAction {
KB_UP,
KB_DOWN,
KB_LEFT,
KB_RIGHT,
KB_DIGLEFT,
KB_DIGRIGHT,
KB_STOP
} |
|
enum | Owner { SYSTEM,
USER
} |
|
enum | SelectAction {
SL_START,
SL_ANY,
SL_CREATE,
SL_UPDATE,
SL_SAVE,
SL_MOVE,
SL_DELETE,
SL_CR_GAME,
SL_UPD_GAME,
SL_REPLAY,
SL_SOLVE,
SL_NONE
} |
|
enum | Setting {
PLAY_SOUNDS,
STARTUP_DEMO,
MOUSE,
KEYBOARD,
LAPTOP,
CLICK_KEY,
HOLD_KEY,
NORMAL_SPEED,
BEGINNER_SPEED,
CHAMPION_SPEED,
INC_SPEED,
DEC_SPEED,
PLAY_STEPS
} |
|
#define DIRECTION_CODE 0x80 |
#define KEY_OPT_CODE 0x9c |
Enumerator |
---|
GoldSound |
|
StepSound |
|
ClimbSound |
|
FallSound |
|
DigSound |
|
LadderSound |
|
DeathSound |
|
CompletedSound |
|
VictorySound |
|
GameOverSound |
|
NumSounds |
|
Definition at line 70 of file kgrglobals.h.
Enumerator |
---|
RUN_R |
|
RUN_L |
|
CLIMB_R |
|
CLIMB_L |
|
CLIMB_U |
|
CLIMB_D |
|
FALL_R |
|
FALL_L |
|
OPEN_BRICK |
|
CLOSE_BRICK |
|
nAnimationTypes |
|
Definition at line 203 of file kgrglobals.h.
Enumerator |
---|
DO_STEP |
|
BUG_FIX |
|
LOGGING |
|
S_POSNS |
|
S_HERO |
|
S_OBJ |
|
ENEMY_0 |
|
ENEMY_1 |
|
ENEMY_2 |
|
ENEMY_3 |
|
ENEMY_4 |
|
ENEMY_5 |
|
ENEMY_6 |
|
Definition at line 213 of file kgrglobals.h.
Enumerator |
---|
STAND |
|
RIGHT |
|
LEFT |
|
UP |
|
DOWN |
|
nDirections |
|
DIG_RIGHT |
|
DIG_LEFT |
|
NO_DIRECTION |
|
UP_LEFT |
|
DOWN_LEFT |
|
UP_RIGHT |
|
DOWN_RIGHT |
|
EndDirection |
|
Definition at line 174 of file kgrglobals.h.
Enumerator |
---|
CREATE_LEVEL |
|
EDIT_ANY |
|
SAVE_EDITS |
|
MOVE_LEVEL |
|
DELETE_LEVEL |
|
CREATE_GAME |
|
EDIT_GAME |
|
Definition at line 156 of file kgrglobals.h.
Enumerator |
---|
NEW |
|
NEXT_LEVEL |
|
LOAD |
|
SAVE_GAME |
|
PAUSE |
|
HIGH_SCORE |
|
KILL_HERO |
|
HINT |
|
DEMO |
|
SOLVE |
|
INSTANT_REPLAY |
|
REPLAY_LAST |
|
REPLAY_ANY |
|
Definition at line 152 of file kgrglobals.h.
Enumerator |
---|
NORMAL |
|
WON_LEVEL |
|
DEAD |
|
UNEXPECTED_END |
|
Definition at line 219 of file kgrglobals.h.
Enumerator |
---|
KB_UP |
|
KB_DOWN |
|
KB_LEFT |
|
KB_RIGHT |
|
KB_DIGLEFT |
|
KB_DIGRIGHT |
|
KB_STOP |
|
Definition at line 56 of file kgrglobals.h.
Enumerator |
---|
SL_START |
|
SL_ANY |
|
SL_CREATE |
|
SL_UPDATE |
|
SL_SAVE |
|
SL_MOVE |
|
SL_DELETE |
|
SL_CR_GAME |
|
SL_UPD_GAME |
|
SL_REPLAY |
|
SL_SOLVE |
|
SL_NONE |
|
Definition at line 60 of file kgrglobals.h.
Enumerator |
---|
PLAY_SOUNDS |
|
STARTUP_DEMO |
|
MOUSE |
|
KEYBOARD |
|
LAPTOP |
|
CLICK_KEY |
|
HOLD_KEY |
|
NORMAL_SPEED |
|
BEGINNER_SPEED |
|
CHAMPION_SPEED |
|
INC_SPEED |
|
DEC_SPEED |
|
PLAY_STEPS |
|
Definition at line 159 of file kgrglobals.h.
const char BACKDROP = '0' |
const char CONCRETE = 'X' |
const int ConcreteWall = 1 |
Initial value:= {
0x10,
0x1,
0x2,
0x4,
0x8}
Definition at line 178 of file kgrglobals.h.
const char EDIT_HINT = '1' |
const char EDIT_TEST = '2' |
const int FIELDHEIGHT = 20 |
const int FIELDWIDTH = 28 |
const char FLASHING = 'b' |
const int graphicsCycle = 8 |
const char KGoldrunnerRules = 'K' |
Initial value:= {
{ 0, 0},
{+1, 0},
{-1, 0},
{ 0, -1},
{ 0, +1},
{ 0, 0},
{ 0, 0},
{ 0, 0},
{-1, -1},
{-1, +1},
{+1, -1},
{+1, +1}}
Definition at line 189 of file kgrglobals.h.
const char ScavengerRules = 'S' |
const char TraditionalRules = 'T' |
Codes for the rules of the selected game and level.
Definition at line 65 of file kgrglobals.h.
const char USEDHOLE = 'U' |
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
KDE's Doxygen guidelines are available online.