start 380 project5
changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
1 parent
40ac78074b
commit
39ee821f54
174 files changed
+13356
-80
No files matched your search
@@ -0,0 +1,35 @@
|
||||
#pragma once
|
||||
|
||||
#include "..\..\GkDefinitions.h"
|
||||
|
||||
#include "..\GkGameReelModel.h"
|
||||
|
||||
struct GameReelRandomModelSymbol
|
||||
{
|
||||
int value, hitProbability, maxHits,
|
||||
occurances;
|
||||
};
|
||||
|
||||
class GKDLLCLASS GkGameReelRandomModel :
|
||||
public GkGameReelModel
|
||||
{
|
||||
public:
|
||||
static const int UnlimitedHits = -1;
|
||||
|
||||
int numSymbols;
|
||||
GameReelRandomModelSymbol *symbols;
|
||||
|
||||
int overallProbability;
|
||||
|
||||
GkGameReelRandomModel(int numItems, int numSymbols);
|
||||
~GkGameReelRandomModel(void);
|
||||
|
||||
void SetupSymbol(int symbolIndex, int symbolValue, int hitProbability = 1, int maxHits = GkGameReelRandomModel::UnlimitedHits);
|
||||
bool ReplaceReelSymbol(int itemIndex, int symbolIndex, bool forceReplace);
|
||||
int GetSymbolIndex();
|
||||
|
||||
int GetSymbol();
|
||||
void GenerateReel();
|
||||
void GenerateReelZero();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user