Make UpdateClocks and input-polling dspwrappers-based too.
authorYann Dirson <ydirson@free.fr>
Wed, 23 Oct 2013 21:27:46 +0000 (23:27 +0200)
committerYann Dirson <ydirson@free.fr>
Wed, 23 Oct 2013 21:27:46 +0000 (23:27 +0200)
commitd23b84fee73518dfb6b281d1eaedbe4fc4aa34b2
treef5dd2d6b15ed7ce055ddf250ead7dd7f134259cd
parentcbf4ad5e9942032a96215a4c7f095a4777bf0021
Make UpdateClocks and input-polling dspwrappers-based too.

Those things are the only thing called from ElapsedTime() to be different
between Curses and Raw/X, and were not abstracted yet.

The poll-based polling code was not called from within ElapsedTime(), which
made it less frequently called, but that did not seem to be a problem.  And
it was redundant in Curses mode with the FIONREAD call.
gnushogi/cursesdsp.c
gnushogi/cursesdsp.h
gnushogi/dspwrappers.c
gnushogi/dspwrappers.h
gnushogi/rawdsp.c
gnushogi/rawdsp.h
gnushogi/search.c