📄 game.c
字号:
/************************/
/* Game Project for ACP */
/************************/
/***********************/
/* TETRIS */
/* Thomas Bluteau */
/***********************/
/*********************************************
GAME.C contains miscellanous functions for
perform the game.
*********************************************/
#include "function.h"
/**********
Detect if it is necessary to increase speed, and perform it
**********/
/*
void upDate_Speed(t_infos *infos)
{
This method has been removed from here cause it is
more simple to implement in the detectLine function.
}
*/
/***********
Use to active endGame
***********/
void endGame(t_infos *infos,object_t object)
{
if(object.position_Y == 0) // If no one vertical deplacement, game over
infos->endGame = 1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -