STemWin
_Board
is only used within STemWin.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
STemWin
_Board
_Board variable
Syntax
from
game_win.c:90
static
BOARD
_Board
;
References
Location
Referrer
Text
game_win.c:90
static
BOARD
_Board
;
game_win.c:607
_SetPlayer()
_Board
.
ActPlayer
=
Player
;
game_win.c:614
_SetPlayer()
PossibleMoves
=
_CalcValidMoves
(
&
_Board
)
;
game_win.c:619
_SetPlayer()
_Board
.
ActPlayer
=
3
-
Player
;
game_win.c:620
_SetPlayer()
ValidMoves
=
_CalcValidMoves
(
&
_Board
)
;
game_win.c:621
_SetPlayer()
_Board
.
ActPlayer
=
Player
;
game_win.c:622
_SetPlayer()
_CalcValidMoves
(
&
_Board
)
;
game_win.c:624
_SetPlayer()
if
(
_pPlayerAI
[
_Board
.
ActPlayer
-
1
]
==
NULL
)
{
game_win.c:629
_SetPlayer()
_SetPlayer
(
3
-
_Board
.
ActPlayer
)
;
game_win.c:632
_SetPlayer()
_Board
.
ActPlayer
=
1
;
game_win.c:633
_SetPlayer()
Score
=
_CalcScore
(
&
_Board
)
;
game_win.c:657
_NextPlayer()
_SetPlayer
(
3
-
_Board
.
ActPlayer
)
;
game_win.c:658
_NextPlayer()
if
(
_pPlayerAI
[
_Board
.
ActPlayer
-
1
]
&&
!
_GameOver
)
{
game_win.c:660
_NextPlayer()
DoMove
=
(
*
_pPlayerAI
[
_Board
.
ActPlayer
-
1
]
)
(
&
_Board
,
&
x
,
&
y
)
;
game_win.c:662
_NextPlayer()
_MakeMove
(
&
_Board
,
x
,
y
)
;
game_win.c:665
_NextPlayer()
}
while
(
_pPlayerAI
[
_Board
.
ActPlayer
-
1
]
&&
!
_GameOver
)
;
game_win.c:674
_StartNewGame()
memset
(
&
_Board
,
0
,
sizeof
(
BOARD
)
)
;
game_win.c:675
_StartNewGame()
_Board
.
aCells
[
3
]
[
3
]
=
1
;
game_win.c:676
_StartNewGame()
_Board
.
aCells
[
4
]
[
4
]
=
1
;
game_win.c:677
_StartNewGame()
_Board
.
aCells
[
3
]
[
4
]
=
2
;
game_win.c:678
_StartNewGame()
_Board
.
aCells
[
4
]
[
3
]
=
2
;
game_win.c:702
_HandlePID()
if
(
_IsValidMove
(
&
_Board
,
x
,
y
)
)
{
game_win.c:704
_HandlePID()
_MakeMove
(
&
_Board
,
x
,
y
)
;
game_win.c:767
_OnPaint()
Cell
=
_GetStone
(
&
_Board
,
x
,
y
)
;
game_win.c:768
_OnPaint()
IsValidMove
=
(
_ShowPossibleMoves
)
?
_IsValidMove
(
&
_Board
,
x
,
y
)
:
0
;
game_win.c:769
_OnPaint()
if
(
_pPlayerAI
[
_Board
.
ActPlayer
-
1
]
)
{
Data Use
Functions reading
_Board
_Board
_SetPlayer()
_NextPlayer()
_StartNewGame()
_OnPaint()
all items filtered out
Type of
_Board
_Board
BOARD
all items filtered out