29 lines
618 B
C++
29 lines
618 B
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef BacABThreadH
|
|
#define BacABThreadH
|
|
//---------------------------------------------------------------------------
|
|
|
|
#include <vector>
|
|
#include "BaseThread.h"
|
|
#include "GameUnit.h"
|
|
using namespace std;
|
|
//---------------------------------------------------------------------------
|
|
|
|
class TAutoBetThread : public TBaseThread
|
|
{
|
|
private:
|
|
int m_iGame;
|
|
int m_iOp; //0=bet, 1=gameon
|
|
|
|
int __fastcall RealBet(TGame* pG, int chips[]);
|
|
|
|
protected:
|
|
virtual void __fastcall Execute();
|
|
|
|
public:
|
|
__fastcall TAutoBetThread(int iG);
|
|
};
|
|
|
|
#endif
|