목차
1. 세균전 동작설명
2. 필요한 함수의 종류와 용도
3. 필요한 변수의 종류와 용도
4. 세균전 소스
2. 필요한 함수의 종류와 용도
3. 필요한 변수의 종류와 용도
4. 세균전 소스
본문내용
2.필요한 함수의 종류와 용도
void SetMoveUnit ( int pBoard[][COLS], struct CURSOR* pCursor, struct CURSOR* pOldCursor, bool* pPlayer ); ->움직이는 범위를 표시하는 함수.
void ChangePlayer( int pBoard[][COLS], int Rows, struct CURSOR* pCursor, struct CURSOR* pToggled, bool* pPlayer ); ->1p,2p를 바꾸는 함수.
bool UnitCopyJump( int pBoard[][COLS], int Rows, struct CURSOR* pDstCursor, struct CURSOR* pSrcCursor, bool* pPlayer ); ->움직일 수 있는지 판단하는 함수.
void ToggleArea ( int pBoard[][COLS], int Rows, struct CURSOR* pToggled ); ->Toggle 지역을 표시하는 함수.
boil ReleaseArea ( int pBoard[][COLS], int Rows, struct CURSOR* pCursor, struct CURSOR* pToggled, int pScore[2] ); ->놓아줄 수 있는 범위를 표시하는 함수.
bool ToggleUnit ( int pBoard[][COLS], int Rows, struct CURSOR* pCursor, struct CURSOR* pToggled, bool* pPlayer ); ->Toggle 범위를 표시해주는 함수.
int GamePlay ( int pBoard[][COLS], int Rows, struct CURSOR* pCursor ); ->1p,2p의 점수와 승자를 가리는 함수.
void SetMoveUnit ( int pBoard[][COLS], struct CURSOR* pCursor, struct CURSOR* pOldCursor, bool* pPlayer ); ->움직이는 범위를 표시하는 함수.
void ChangePlayer( int pBoard[][COLS], int Rows, struct CURSOR* pCursor, struct CURSOR* pToggled, bool* pPlayer ); ->1p,2p를 바꾸는 함수.
bool UnitCopyJump( int pBoard[][COLS], int Rows, struct CURSOR* pDstCursor, struct CURSOR* pSrcCursor, bool* pPlayer ); ->움직일 수 있는지 판단하는 함수.
void ToggleArea ( int pBoard[][COLS], int Rows, struct CURSOR* pToggled ); ->Toggle 지역을 표시하는 함수.
boil ReleaseArea ( int pBoard[][COLS], int Rows, struct CURSOR* pCursor, struct CURSOR* pToggled, int pScore[2] ); ->놓아줄 수 있는 범위를 표시하는 함수.
bool ToggleUnit ( int pBoard[][COLS], int Rows, struct CURSOR* pCursor, struct CURSOR* pToggled, bool* pPlayer ); ->Toggle 범위를 표시해주는 함수.
int GamePlay ( int pBoard[][COLS], int Rows, struct CURSOR* pCursor ); ->1p,2p의 점수와 승자를 가리는 함수.
소개글