home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / kgame / kgameversion.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-10  |  1.9 KB  |  55 lines

  1. /*
  2.     This file is part of the KDE games library
  3.     Copyright (C) 2003 Andreas Beckermann (b_mann@gmx.de)
  4.     Copyright (C) 2003 Martin Heni (martin@heni-online.de)
  5.  
  6.     This library is free software; you can redistribute it and/or
  7.     modify it under the terms of the GNU Library General Public
  8.     License version 2 as published by the Free Software Foundation.
  9.  
  10.     This library is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.     Library General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU Library General Public License
  16.     along with this library; see the file COPYING.LIB.  If not, write to
  17.     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18.     Boston, MA 02110-1301, USA.
  19. */
  20. /*
  21.     $Id: kgameversion.h 465369 2005-09-29 14:33:08Z mueller $
  22. */
  23. #ifndef __KGAMEVERSION_H__
  24. #define __KGAMEVERSION_H__
  25.  
  26. /**
  27.  * In this file you find a couple of defines that indicate whether a specific
  28.  * feature or function is present in this version of the KGame library.
  29.  *
  30.  * You don't need this for KDE CVS, but for games that live outside of KDE CVS
  31.  * it may be very helpful and a lot easier than writing configure scripts for
  32.  * this task.
  33.  *
  34.  * All defines are prefixed with KGAME_ to avoid conflicts.
  35.  **/
  36.  
  37. // KGame::savegame() didn't exist in KDE 3.0
  38. #define KGAME_HAVE_KGAME_SAVEGAME 1
  39.  
  40. // KGameNetwork::port(), KMessageIO::peerPort() and friends were added in KDE 3.2
  41. #define KGAME_HAVE_KGAME_PORT 1
  42.  
  43. // KGameNetwork::hostName(), KMessageIO::peerName() and friends were added in KDE 3.2
  44. #define KGAME_HAVE_KGAME_HOSTNAME 1
  45.  
  46. // KGameSequence class was added in KDE 3.2
  47. #define KGAME_HAVE_KGAMESEQUENCE 1
  48.  
  49. // KGame::addPlayer() needs to assign an ID to new players, otherwise network is
  50. // broken. this is done in KDE 3.2.
  51. #define KGAME_HAVE_FIXED_ADDPLAYER_ID 1
  52.  
  53. #endif
  54.  
  55.