?? grind.h
字號:
#ifndef GRIND_HEADER#define GRIND_HEADER#include <stdio.h>#include <stdlib.h>#include <SDL/SDL.h>#include <time.h>#include "define.h"#include "graphic.h"#include "struct.h"void generate_map(int map[][NUM_COLS]);void draw_map(SDL_Surface *surface, SDL_Rect grind, int map[][NUM_COLS]);void get_free_cell(int map[][NUM_COLS], cell_ind * ind);void dest_point(cell_ind dest_i, point * dest_p);bool update_position(SDL_Rect * pos, point dest);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -