mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 16:52:21 +00:00
fixup includes, use uint8_t in key.hpp instead of Uint8
This commit is contained in:
parent
cec386ad35
commit
871f2f4591
@ -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))
|
||||
{
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user