KDEGames

kgameversion.h
1/*
2 This file is part of the KDE games library
3 SPDX-FileCopyrightText: 2003 Andreas Beckermann <b_mann@gmx.de>
4 SPDX-FileCopyrightText: 2003 Martin Heni <kde at heni-online.de>
5
6 SPDX-License-Identifier: LGPL-2.0-only
7*/
8
9#ifndef __KGAMEVERSION_H__
10#define __KGAMEVERSION_H__
11
12/**
13 * \headerfile kgameversion.h <KGame/KGameVersion>
14 *
15 * In this file you find a couple of defines that indicate whether a specific
16 * feature or function is present in this version of the KGame library.
17 *
18 * You don't need this for KDE CVS, but for games that live outside of KDE CVS
19 * it may be very helpful and a lot easier than writing configure scripts for
20 * this task.
21 *
22 * All defines are prefixed with KGAME_ to avoid conflicts.
23 */
24
25// KGame::savegame() didn't exist in KDE 3.0
26#define KGAME_HAVE_KGAME_SAVEGAME 1
27
28// KGameNetwork::port(), KMessageIO::peerPort() and friends were added in KDE 3.2
29#define KGAME_HAVE_KGAME_PORT 1
30
31// KGameNetwork::hostName(), KMessageIO::peerName() and friends were added in KDE 3.2
32#define KGAME_HAVE_KGAME_HOSTNAME 1
33
34// KGameSequence class was added in KDE 3.2
35#define KGAME_HAVE_KGAMESEQUENCE 1
36
37// KGame::addPlayer() needs to assign an ID to new players, otherwise network is
38// broken. this is done in KDE 3.2.
39#define KGAME_HAVE_FIXED_ADDPLAYER_ID 1
40
41#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:09:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.