bool.h File Reference

Defines a boolean type. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FALSE   0
#define TRUE   1

Typedefs

typedef _Bool Bool
 A small boolean type.


Detailed Description

Defines a boolean type.

Author:
Jeff Jackowski (jeffj@ro.com)
Copyright (C) 2007 Jeff Jackowski

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Or visit their website at: http://www.gnu.org/

Definition in file bool.h.


Define Documentation

#define FALSE   0

Definition at line 39 of file bool.h.

Referenced by AddMessage(), AddNotice(), AddRenderItem(), AddToConfigList(), CancelOperations(), ClearRenderItem(), ConfigIPv4Broadcast(), ConfigNonBlocking(), CopyAreaData(), DiscoverConnectServer(), FindNextCollision(), FlagCfgMsg(), FontInit(), GameRun(), GameUninit(), GetSamples(), HandleAck(), HandleArea(), HandleConnAccept(), HandleConnDeny(), HandleConnDisconn(), HandleConnReq(), HandleGameOption(), HandleObstacle(), HandlePlayerSpawn(), HandlePlayerUpdate(), HandleScoreUpdate(), InitGameConfig(), IsCollidingObstacle(), IsCollidingShell(), IsCollidingTank(), main(), MakeAreaBuffers(), MakeBuffers(), MenuRun(), MessageCliToSrv(), MessageInit(), MessageSrvToCli(), MsgFailDisconnect(), NetCliToSrv(), NetStatInit(), NetStatUpdate(), OpenFile(), PlaceRenderItem(), ReadAreaParams(), ReadInts(), ReadPlayer(), ReadToken(), ReceiveMessages(), RemoveMenu(), Render(), RenderClearStates(), RenderInit(), Resize(), ResizeMenu(), ResizeWindow(), RunState(), Send(), SendDisconnectMessage(), SendScoreUpdate(), SendSpawnRequest(), ServiceGameConfig(), SetupScrolling(), SpawnTank(), StartServerTimeSync(), StartStrNameLookup(), TextInit(), TextRenderStringV(), TextSetup(), TextSetupStateMenu(), TextSetupStatePlay(), TextSetupStateSplash(), UpdateNotices(), ValidateClient(), ValidateServer(), VectorCopy(), and VectorInit().

#define TRUE   1

Definition at line 42 of file bool.h.

Referenced by AATreeDestroy(), AckConnAccept(), AddMessage(), AddNotice(), CancelOperations(), ClientSync(), CopyAreaData(), DiscoverConnectServer(), FindNextCollision(), FlagCfgMsg(), FontInit(), ForceRenderAll(), GameInit(), GameRun(), GetSamples(), GraphicReset(), HandleArea(), HandleConnAccept(), HandleConnDisconn(), HandleGameOption(), HandleObstacle(), HandlePlayerSpawn(), HandlePlayerUpdate(), HandleScoreUpdate(), InitGameConfig(), IsCollidingObstacle(), IsCollidingShell(), IsCollidingTank(), main(), MakeBuffers(), MenuRun(), MessageCliToSrv(), MessageInit(), MessageSrvToCli(), MsgFailDisconnect(), NetCliToSrv(), NetStatInit(), NetStatUpdate(), OpenFile(), PlaceRenderItem(), ReadAreaParams(), ReadInts(), ReadPlayer(), ReceiveMessages(), RenderInit(), Resize(), ResizeWindow(), RunState(), Send(), SendDisconnectMessage(), SendScoreUpdate(), SendSpawnRequest(), ServiceGameConfig(), ServiceMessages(), SetupMenu(), SetupScrolling(), SpawnTank(), StartLoadConfig(), StartServerTimeSync(), StartStrNameLookup(), TeamSelInit(), TeamSelUpdate(), TextInit(), TextRenderStringV(), TextSetup(), TextSetupStateMenu(), TextSetupStatePlay(), TextSetupStateSplash(), UpdateNotices(), ValidateClient(), ValidateServer(), VectorCopy(), VectorInit(), and VectorReserve().


Typedef Documentation

typedef _Bool Bool

A small boolean type.

When availble, the ISO C boolean type, _Bool, is used.

Todo:
Improve detection of when the ISO C boolean type can be used.

Definition at line 32 of file bool.h.


Generated on Mon May 28 04:41:39 2007 for Retro Tank Super Attack by  doxygen 1.5.2