evaluate_move.h

来自「这是一个相当棒的Linux下的台球游戏」· C头文件 代码 · 共 52 行

H
52 行
字号
/* evaluate_move.c****    evaluate moves for dfferent gametypes**    Copyright (C) 2001  Florian Berger**    Email: harpin_floh@yahoo.de, florian.berger@jk.uni-linz.ac.at****    This program is free software; you can redistribute it and/or modify**    it under the terms of the GNU General Public License Version 2 as**    published by the Free Software Foundation;****    This program is distributed in the hope that it will be useful,**    but WITHOUT ANY WARRANTY; without even the implied warranty of**    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the**    GNU General Public License for more details.****    You should have received a copy of the GNU General Public License**    along with this program; if not, write to the Free Software**    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.***/#ifndef EVALUATE_MOVE_H#define EVALUATE_MOVE_H#include "billard.h"#include "billmove.h"#include "player.h"#ifndef EVALUATE_Cextern void (* evaluate_last_move)( struct Player * player, int * actual_player,                                    BallsType * pballs, int * pqueue_view, float * pXque );#endifvoid evaluate_last_move_8ball    ( struct Player * player, int * actual_player,                                   BallsType * pballs, int * pqueue_view, float * pXque );void evaluate_last_move_9ball    ( struct Player * player, int * actual_player,                                   BallsType * pballs, int * pqueue_view, float * pXque );void evaluate_last_move_carambol ( struct Player * player, int * actual_player,                                   BallsType * pballs, int * pqueue_view, float * pXque );void evaluate_last_move_snooker  ( struct Player * player, int * actual_player,                                   BallsType * pballs, int * pqueue_view, float * pXque );void setfunc_evaluate_last_move(void (* eval_func)( struct Player * player, int * actual_player,                                                    BallsType * pballs, int * pqueue_view, float * pXque ) );#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?