scoring.h

来自「一个网络和单机的麻将游戏源码」· C头文件 代码 · 共 40 行

H
40
字号
/* $Header: /home/jcb/newmj/RCS/scoring.h,v 11.0 2001/05/17 18:23:13 jcb Rel $ * scoring.h * header file for scoring routines. *//****************** COPYRIGHT STATEMENT ********************** * This file is Copyright (c) 2000 by J. C. Bradfield.       * * Distribution and use is governed by the LICENCE file that * * accompanies this file.                                    * * The moral rights of the author are asserted.              * *                                                           * ***************** DISCLAIMER OF WARRANTY ******************** * This code is not warranted fit for any purpose. See the   * * LICENCE file for further information.                     * *                                                           * *************************************************************/#ifndef SCORING_H_INCLUDED#define SCORING_H_INCLUDED 1#include "game.h"/* This structure is used to return score components.   The value is either a number of points, or a number of doubles,   as appropriate; the explanation is a human readable explanation   of this score.   The explanation must be copied before another scoring function   is called.*/typedef struct _Score {  int value;  char *explanation;} Score;Score score_of_hand(Game *g, seats s);/* this variable disables scoring for flowers and seasons */extern int no_special_scores;#endif /* SCORING_H_INCLUDED */

⌨️ 快捷键说明

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