Initial porting to the new component API.
commite487f0426d9de022b759ae6a529b10a72c31de8f
authorPaolo Capriotti <p.capriotti@gmail.com>
Tue, 20 Nov 2007 13:25:15 +0000 (20 14:25 +0100)
committerPaolo Capriotti <p.capriotti@gmail.com>
Tue, 20 Nov 2007 13:38:52 +0000 (20 14:38 +0100)
tree199bc3bc7b94315b5c5769112cec27652b386b54
parent72b84dbe745405968c3591cfcd108d73eef6268c
Initial porting to the new component API.

Note: merging changes prior to this commit may be a nightmare. A lot of files
have been moved to core/, and a lot of types and method names have changed.
If you have changes in hlvariant/, they will probably merge cleanly, but still
have to be rewritten to be adapted to the new API.
If your changes touch files like board.cpp (which has been renamed to
chessboard.cpp, btw), piecepool.cpp, game.cpp or graphicalsystem.cpp, then
good luck :)
100 files changed:
src/CMakeLists.txt
src/agent.h
src/agentgroup.h
src/animation.h
src/animationfactory.cpp [deleted file]
src/animationfactory.h [deleted file]
src/animationsettings.cpp [new file with mode: 0644]
src/animationsettings.h [copied from src/graphicalapi.cpp with 54% similarity]
src/chessboard.cpp [moved from src/board.cpp with 80% similarity]
src/chessboard.h [moved from src/board.h with 92% similarity]
src/chesstable.cpp
src/chesstable.h
src/controllers/abstract.h
src/controllers/editgame.cpp
src/controllers/editgame.h
src/controllers/editposition.h
src/core/CMakeLists.txt
src/core/board.h
src/core/color.cpp
src/core/color.h
src/core/defaultpolicy.cpp [new file with mode: 0644]
src/core/defaultpolicy.h [new file with mode: 0644]
src/core/interactiontype.h [moved from src/interactiontype.h with 100% similarity]
src/core/move.cpp
src/core/move.h
src/core/moveserializer.h
src/core/policy.cpp [copied from src/graphicalapi.cpp with 71% similarity]
src/core/policy.h [new file with mode: 0644]
src/core/poolcollection_fwd.h [copied from src/graphicalapi.cpp with 60% similarity]
src/core/repository.h
src/core/state.h
src/core/state_fwd.h [copied from src/graphicalapi.cpp with 65% similarity]
src/core/taguaapi.h
src/core/turnpolicy.cpp [moved from src/turnpolicy.cpp with 85% similarity]
src/core/turnpolicy.h [moved from src/turnpolicy.h with 81% similarity]
src/core/variant.h
src/engine.h
src/engineinfo.cpp
src/engineinfo.h
src/entities/engineentity.cpp
src/entities/engineentity.h
src/entities/entity.cpp
src/entities/entity.h
src/entities/examinationentity.cpp
src/entities/examinationentity.h
src/entities/gameentity.cpp
src/entities/gameentity.h
src/entities/icsentity.cpp
src/entities/icsentity.h
src/entities/userentity.cpp
src/entities/userentity.h
src/fwd.h [deleted file]
src/game.cpp
src/game.h
src/game_fwd.h [copied from src/graphicalapi.cpp with 68% similarity]
src/game_p.h
src/gnushogiengine.cpp
src/gnushogiengine.h
src/graphicalapi.h [deleted file]
src/graphicalgame.cpp
src/graphicalgame.h
src/graphicalsystem.cpp
src/graphicalsystem.h
src/hlvariant/animator.h
src/hlvariant/dropanimator.h
src/hlvariant/graphicalapi_unwrapped.h
src/hlvariant/movefactory.h
src/hlvariant/tagua_wrapped.h
src/icsapi.h
src/icsapi_fwd.h [moved from src/graphicalapi.cpp with 67% similarity]
src/icsconnection.cpp
src/icsgamedata.cpp
src/icsgamedata.h
src/icslistener.h [moved from src/premove.h with 50% similarity]
src/mainwindow.cpp
src/mainwindow.h
src/movefactory.h
src/piecepool.cpp
src/piecepool.h
src/poolinfo.h
src/positioninfo.cpp
src/positioninfo.h
src/pref_theme.cpp
src/pref_theme.h
src/premove.cpp [deleted file]
src/tagua.h [deleted file]
src/tagua_legacy.cpp [deleted file]
src/tagua_legacy.h [deleted file]
src/ui.cpp
src/ui.h
src/usermove.h
src/variants.cpp
src/variants.h
src/variants/chess/chess.cpp
src/variants/chess/namer.h
src/variants/chess/state.cpp
src/variants/chess/state.h
src/variants/chess/validator.h
src/xboardengine.cpp
src/xboardengine.h