2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@sns.it>
3 (c) 2007 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef HLVARIANT__DUMMY__VARIANT_H
12 #define HLVARIANT__DUMMY__VARIANT_H
14 #include "../crazyhouse/variant.h"
15 #include "legalitycheck.h"
16 #include "movegenerator.h"
21 struct TAGUA_EXPORT Variant
{
22 typedef Crazyhouse::Variant::Move Move
;
23 typedef Crazyhouse::Variant::GameState GameState
;
24 typedef LegalityCheck
<GameState
> LegalityCheck
;
25 typedef MoveGenerator
<LegalityCheck
> MoveGenerator
; // to make VariantData happy
26 typedef Crazyhouse::Serializer
<MoveGenerator
> Serializer
;
27 typedef DropAnimatorMixin
<SimpleAnimator
<Variant
> > Animator
;
28 typedef Crazyhouse::MoveFactory
<GameState
> MoveFactory
;
30 static const bool hasICS
= true;
31 static const bool m_simple_moves
= false;
32 static const char *m_name
;
33 static const char *m_theme_proxy
;
35 static int moveListLayout() { return 0; }
36 static OptList
positionOptions() { return OptList(); }
40 } // namespace HLVariant
42 #endif // HLVARIANT__DUMMY__VARIANT_H