All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ratingEnv.h
Go to the documentation of this file.
1 /* ratingEnv.h
2  */
3 #ifndef _RATINGENV_H
4 #define _RATINGENV_H
5 
11 
12 namespace osl
13 {
14  namespace rating
15  {
16  class RatingEnv
17  {
18  public:
19  MoveStack history;
20  Square8 sendoffs;
21  PieceMask my_pin, op_pin;
23  Progress16 progress;
24  mutable CArray<signed char,Square::SIZE> counteffect2_cache;
25  mutable CArray<int,Square::SIZE> pattern_cache;
26 
27  void update(const NumEffectState& new_state, Move last_move);
28  void make(const NumEffectState& new_state);
29  void make(const NumEffectState& new_state,
30  const PieceMask& my_pin, const PieceMask& op_pin, Progress16);
31  };
32  }
33  using rating::RatingEnv;
34 }
35 
36 #endif /* _RATINGENV_H */
37 // ;;; Local Variables:
38 // ;;; mode:c++
39 // ;;; c-basic-offset:2
40 // ;;; End: