Import
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef INCLUDED_SNAKE_H
|
||||
#define INCLUDED_SNAKE_H
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
typedef struct {
|
||||
int Size;
|
||||
int StartCol;
|
||||
int StartRow;
|
||||
int MaxCols;
|
||||
int MaxRows;
|
||||
div_t NumXSects;
|
||||
div_t NumYSects;
|
||||
HBITMAP hHeadBitmap;
|
||||
HBITMAP hBodyBitmap;
|
||||
HBITMAP hOneHundredBitmap;
|
||||
}SnakeApp_t;
|
||||
|
||||
#define SNAKE_MAIN_WINDOW_CLASS "Snake.Main"
|
||||
#define SNAKE_GAME_WINDOW_CLASS "Snake.Game"
|
||||
|
||||
|
||||
#endif /*INCLUDED_SNAKE_H*/
|
||||
Reference in New Issue
Block a user