summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/SDLMain.h
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-09-20 18:09:20 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-09-23 11:34:36 -0700
commitab835374e85861b68703733b4a3bd8917d2a2d6b (patch)
tree04082d611ca320ce33e3781c2697e457d0a64c04 /crawl-ref/source/SDLMain.h
parent215b4e4720d358f72c755f7aec8c0cedd7e18102 (diff)
downloadcrawl-ref-ab835374e85861b68703733b4a3bd8917d2a2d6b.tar.gz
crawl-ref-ab835374e85861b68703733b4a3bd8917d2a2d6b.zip
libgui: fix declaration consistency
Lots of little things here. The forward declarations for some of these functions simply did not match the function definitions. - clrscr() was declared twice - cprintf(), putch(), putwch(), window(), clrscr() all returned 'void' instead of 'int'. - getch() and strlwr() were defined extern "C", but not declared as such. Also made libgui.cc functions behave like their ncurses equivalents, except that our functions always return the ncurses 'OK' (0) response. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/SDLMain.h')
0 files changed, 0 insertions, 0 deletions