Files
pokerth/src/engine/local_engine/cardsvalue.h
T

43 lines
1.7 KiB
C++
Raw Normal View History

2007-01-13 02:40:33 +00:00
/***************************************************************************
* Copyright (C) 2006 by FThauer FHammer *
* f.thauer@web.de *
* *
* 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., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef CARDSVALUE_H
#define CARDSVALUE_H
2008-10-17 09:48:37 +00:00
#include "game_defs.h"
2008-10-17 11:22:14 +00:00
#include "arraydata.h"
2007-01-13 02:40:33 +00:00
class CardsValue{
public:
CardsValue();
~CardsValue();
2007-01-28 00:17:49 +00:00
int holeCardsClass(int, int);
int cardsValue(int*, int*);
2007-01-13 02:40:33 +00:00
2008-10-16 20:10:48 +00:00
int holeCardsToIntCode(int*);
int* intCodeToHoleCards(int);
2008-10-17 10:58:03 +00:00
int** calcCardsChance(GameState, int*, int*);
2008-10-17 09:48:37 +00:00
2007-01-13 02:40:33 +00:00
};
#endif