X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWinInput.h;h=b84b0e0d2b574513d051f3ada22a7f223f0a1e08;hb=0acdb5e7e90ddd677a5e72cc97731dad12edf230;hp=8170ba1cdc6682f796d6fd3b8cbca1dda8e2b9bb;hpb=44146d06c780d3aaa283672fedb08b8870ebe1b9;p=lugaru.git diff --git a/Source/WinInput.h b/Source/WinInput.h index 8170ba1..b84b0e0 100644 --- a/Source/WinInput.h +++ b/Source/WinInput.h @@ -141,11 +141,11 @@ void InitMouse(); void MoveMouse(int xcoord, int ycoord, Point *mouseloc); void RefreshMouse(Point *mouseloc); void DisposeMouse(); -unsigned short CharToKey(char* which); -char* KeyToChar(unsigned short which); +unsigned short CharToKey(const char* which); +const char* KeyToChar(unsigned short which); char KeyToSingleChar(unsigned short which); char Shift(char which); -bool Compare(char *thestring, char *tocompare, int start, int end); +bool Compare(const char *thestring, const char *tocompare, int start, int end); typedef unsigned char KeyMap[16];