📄 tetris.h
字号:
/*************************************************************************** tetris.h - description ------------------- begin : Tue Dec 25 2001 copyright : (C) 2001 by Michael Speck email : kulkanie@gmx.net ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef __TETRIS_H#define __TETRIS_H/*====================================================================Load/delete all tetris resources.====================================================================*/void tetris_create();void tetris_delete();/*====================================================================Initiate/clear a new game from config data.After tetris_init() the screen is drawn completely though notupdated to use the fade effect.====================================================================*/int tetris_init();void tetris_clear();/*====================================================================Run an successfully initated game.====================================================================*/void tetris_run();/*====================================================================Run a number of CPU games to get an average score gained so you'llsee if your analyze algorithm in cpu.c cpu_analyze_bowl() sucksor rocks!====================================================================*/void tetris_make_stat();#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -