kgameversion.h

00001 /*
00002     This file is part of the KDE games library
00003     Copyright (C) 2003 Andreas Beckermann (b_mann@gmx.de)
00004     Copyright (C) 2003 Martin Heni (martin@heni-online.de)
00005 
00006     This library is free software; you can redistribute it and/or
00007     modify it under the terms of the GNU Library General Public
00008     License version 2 as published by the Free Software Foundation.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 /*
00021     $Id: kgameversion.h 465369 2005-09-29 14:33:08Z mueller $
00022 */
00023 #ifndef __KGAMEVERSION_H__
00024 #define __KGAMEVERSION_H__
00025 
00037 // KGame::savegame() didn't exist in KDE 3.0
00038 #define KGAME_HAVE_KGAME_SAVEGAME 1
00039 
00040 // KGameNetwork::port(), KMessageIO::peerPort() and friends were added in KDE 3.2
00041 #define KGAME_HAVE_KGAME_PORT 1
00042 
00043 // KGameNetwork::hostName(), KMessageIO::peerName() and friends were added in KDE 3.2
00044 #define KGAME_HAVE_KGAME_HOSTNAME 1
00045 
00046 // KGameSequence class was added in KDE 3.2
00047 #define KGAME_HAVE_KGAMESEQUENCE 1
00048 
00049 // KGame::addPlayer() needs to assign an ID to new players, otherwise network is
00050 // broken. this is done in KDE 3.2.
00051 #define KGAME_HAVE_FIXED_ADDPLAYER_ID 1
00052 
00053 #endif
00054 
KDE Home | KDE Accessibility Home | Description of Access Keys