fixup includes, use uint8_t in key.hpp instead of Uint8

This commit is contained in:
Chris Beck 2014-06-19 12:09:52 -04:00
parent cec386ad35
commit 871f2f4591
2 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,9 @@
#include "key.hpp"
#include "sdl/compat.hpp"
#include <SDL_keyboard.h>
#include <SDL_version.h>
CKey::CKey() :
key_list(SDL_GetKeyState(NULL))
{

View File

@ -15,7 +15,7 @@
#ifndef KEY_HPP_INCLUDED
#define KEY_HPP_INCLUDED
#include "SDL.h"
#include <inttypes.h>
/**
* Class that keeps track of all the keys on the keyboard.
@ -26,7 +26,7 @@
*/
class CKey
{
const Uint8 *key_list;
const uint8_t *key_list;
public:
CKey();