File indexing completed on 2024-12-01 03:46:42

0001 /*
0002     This file is part of the KDE games kwin4 program
0003     SPDX-FileCopyrightText: 2006 Martin Heni <kde@heni-online.de>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef KWIN4GLOBAL_H
0009 #define KWIN4GLOBAL_H
0010 
0011 /** Global debug flag */
0012 extern int global_debug;
0013 /** Global skip intro flag */
0014 extern bool global_skip_intro;
0015 /** Demo or autoplay mode */
0016 extern bool global_demo_mode;
0017 
0018 /** The user or color */
0019 typedef enum { Nobody = -1, Yellow = 0, Red = 1, Tip = 3 } COLOUR;
0020 /** Type of statistics */
0021 typedef enum { TSum, TWin, TRemis, TLost, TBrk } TABLE;
0022 /** Movement status */
0023 typedef enum { GIllMove = -2, GNotAllowed = -1, GNormal = 0, GYellowWin = 1, GRedWin = 2, GRemis = 3, GTip = 4 } MOVESTATUS;
0024 
0025 #endif // KWIN4GLOBAL_H