src/gfx.h
changeset 7806 65bd17ca1609
parent 7495 3bed6c98b8f3
child 7807 81a0f019daa2
equal deleted inserted replaced
7805:d6b7546a25b1 7806:65bd17ca1609
    78 	WKC_PAUSE       = 46,
    78 	WKC_PAUSE       = 46,
    79 
    79 
    80 	/* 0-9 are mapped to 48-57
    80 	/* 0-9 are mapped to 48-57
    81 	 * A-Z are mapped to 65-90
    81 	 * A-Z are mapped to 65-90
    82 	 * a-z are mapped to 97-122 */
    82 	 * a-z are mapped to 97-122 */
       
    83 
       
    84 	/* Other keys, corresponding to their ascii values */
       
    85 	WKC_SLASH       = 47, // / Forward slash
       
    86 	WKC_SEMICOLON   = 59, // ; Semicolon
       
    87 	WKC_EQUALS      = 61, // = Equals
       
    88 	WKC_L_BRACKET   = 91, // [ Left square bracket
       
    89 	WKC_BACKSLASH   = 92, // \ Backslash
       
    90 	WKC_R_BRACKET   = 93, // ] Right square bracket
       
    91 
       
    92 	/* Other keys of which their ascii value is already taken
       
    93 	 * - use unused ascii value not present on keyboard directly */
       
    94 	WKC_SINGLEQUOTE = 58, // ' Single quote
       
    95 	WKC_COMMA       = 60, // , Comma
       
    96 	WKC_PERIOD      = 62, // . Period
       
    97 	WKC_MINUS       = 95, // - Minus
    83 };
    98 };
    84 
    99 
    85 enum GameModes {
   100 enum GameModes {
    86 	GM_MENU,
   101 	GM_MENU,
    87 	GM_NORMAL,
   102 	GM_NORMAL,