Do no allow resizing of window.

Some small documenting.
Removed old street bets files.
This commit is contained in:
greek 2024-06-08 17:35:27 +01:00
parent 982212806f
commit 810ca0d9f5
6 changed files with 10 additions and 23 deletions

View file

@ -45,6 +45,10 @@ void PlayerAreaModel::bet(BetType b, int n, int bet)
player->bet1.betType = b;
player->bet1.betValue = bet;
player->bet1.betSpot = n;
/*
* This is needed because the visual roulette board is inverted from the actual QML grid we use to represent it.
* Here we use 35 because the grid is 0-indexed, but later we use 36 for convinience
*/
if (b == SINGLE && n <= 35) {
n = 35 - n;
}