#include "Caffeine.h"
#include "Piece.h"
#include "Packable.h"
#include <string.h>
Enumerations | |
enum | GAME_END_STATE |
VERSION CONTROL HISTORY
|
Compiler: C++
Project: Caffeine
Description: This file contains structures and functions used for games.
Copyright (c) 2005, Matt Bruns, Pat Hammond, Kevin Markussen, Travis Service, Brian Shaver
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Caffeine Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
VERSION CONTROL HISTORY
Revision 1.14 2005/05/12 23:39:41 tcsvw5 Now sends GAME_TOURN_FAMILY messages at the end of each game to tell the tourn server the outcome of the game. Revision 1.13 2005/05/12 23:04:44 bjsk3b Fixed Unpack issue Revision 1.12 2005/05/12 22:00:37 mab6d5 Added the WIN_INFO structure. Revision 1.11 2005/05/10 14:28:34 mab6d5 Fixed the deletion of the piece member function. Revision 1.10 2005/05/10 04:39:55 tcsvw5 Undid fix of unPack function in PlayerPiece Revision 1.9 2005/05/10 03:14:45 tcsvw5 empty log message *** Revision 1.8 2005/05/10 00:52:29 tcsvw5 Fixed a bug in unPack Revision 1.7 2005/05/09 21:27:04 tcsvw5 Fixed a bug in unPack Revision 1.6 2005/05/09 03:08:45 mab6d5 Fixed a comment so that it shows up in the doxygen output. Revision 1.5 2005/05/03 02:23:52 mab6d5 Removed the CWinInfo class as it wasn't used. Revision 1.4 2005/04/25 20:40:16 kjm266 Adjusted code to fit coding standard. Revision 1.3 2005/04/20 22:33:55 tcsvw5 Updated to work with partial information games and added basic timer functionality Revision 1.2 2005/04/14 04:42:04 mab6d5 Added pack and unpack functions to the CPlayerPiece class. Revision 1.1 2005/04/11 01:59:21 mab6d5 Initial Revision |