The global help key CTRL-g has changed to F1.
commit27e303463c69ae5f3413b74ab3324bb2028e6748
authorBen Kibbey <bjk@luxsci.net>
Thu, 30 Mar 2006 15:56:51 +0000 (30 10:56 -0500)
committerBen Kibbey <bjk@luxsci.net>
Thu, 30 Mar 2006 15:56:51 +0000 (30 10:56 -0500)
tree7aa3575e454b1af3de40bf16e4137f8aae392ec8
parentc1cb335e99a0bad8cab5655ff8f9d643368ec407
The global help key CTRL-g has changed to F1.

More code reorganization. Each game mode has it's own function that
takes the key pressed as an argument. Now different game modes can
have the same key as other modes like before, but alot easier to
maintain.

.tag in GAME is now an array of TAG pointers. pgn_add_tag(),
pgn_tag_free() and pgn_sort_tag() have changed.

Added function pgn_tag_total(TAG **) to return the number of tags.

Cleanups for game pointers. (*g). is now g->.

BOARD is back in GAME again. Figured that later on when multiple games
are being played the global 'board' will be updated by other games and
cause confusion. Switching between two games with one in edit mode and
another in play mode demonstrates this. Also pgn_new_game() no longer
takes a BOARD parameter.

history_next() and history_previous() no longer take the
'whole/halfstep' argument.

New colors for the window titles and prompt that are more readable for
me.
13 files changed:
src/cboard.c
src/cboard.h
src/chess.h
src/colors.c
src/conf.h
src/engine.c
src/help.c
src/input.c
src/move.c
src/pgn.c
src/pgn.h
src/rcfile.c
src/strings.h