This commit is contained in:
2026-07-28 14:17:49 +08:00
parent a68366efb2
commit a222cf81bb
28 changed files with 2421 additions and 231 deletions
+23
View File
@@ -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*/