테트리스 (C, Win32)
본 자료는 미리보기를 지원하지 않습니다.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
해당 자료는 2페이지 까지만 미리보기를 제공합니다.
2페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

테트리스 (C, Win32)에 대한 보고서 자료입니다.

본문내용

#define IDM_START 11
#define IDM_PAUSE 12
#define IDM_ABOUT 21
#define IDM_EXIT 31
char _board[BOARD_HEIGHT + 1][BOARD_WIDTH + 2];
int xCellOrigin = BOARD_HOME_X,
yCellOrigin = BOARD_HOME_Y;
BOOL bPlaying = FALSE, bPaused = FALSE;
char szAppName[] = _T("Tetris");
char szAppTitle[] = _T("Tetris");
COLORREF _fillcolor;
HPEN hPenCell[7][2], hPenFill;
HBRUSH hBrushCell[7], hBrushFill;
long CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam,
LPARAM lParam);
void DrawBrickElement(HDC hdc, int x, int y, int color);
void DrawBrick(HDC hdc, int x, int y, char (*buffer)[4]);
void EraseBrick(HDC hdc, int x, int y, char (*buffer)[4]);
void DrawBoard(HDC hdc);
void AllocateMem(void);
void ReleaseMem(void);
void InitBoard(void);
void GetBrickShape(int type, int angle, char (*buffer)[4]);
BOOL IsBlocked(int x, int y, int xstep, int ystep, char (*buffer)[4]);
void LandBrick(int x, int y, char (*buffer)[4]);
int CheckBoard(void);
void DrawBackground(HDC hdc);
void PutInfo(HDC hdc, int nBlockType, int nLines, int nScore, int nLevel);
void RegisterButtons(HWND hwnd);
// application entry point
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdParam, int nCmdShow)
{
HWND hwnd;
MSG msg;
WNDCLASS wndclass;

키워드

테트리스,   tetris,   c,   win32
  • 가격1,000
  • 페이지수8페이지
  • 등록일2004.10.06
  • 저작시기2004.10
  • 파일형식압축파일(zip)
  • 자료번호#269721
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니