|
OpenTTD Source
1.11.0-beta2
|
#include "../stdafx.h"#include "../openttd.h"#include "../gfx_func.h"#include "../rev.h"#include "../blitter/factory.hpp"#include "../thread.h"#include "../progress.h"#include "../core/random_func.hpp"#include "../core/math_func.hpp"#include "../core/mem_func.hpp"#include "../core/geometry_func.hpp"#include "../fileio_func.h"#include "../framerate_type.h"#include "../window_func.h"#include "sdl2_v.h"#include <SDL.h>#include <mutex>#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | SDLVkMapping |
Macros | |
| #define | AS(x, z) {x, 0, z, false} |
| #define | AM(x, y, z, w) {x, (byte)(y - x), z, false} |
| #define | AS_UP(x, z) {x, 0, z, true} |
| #define | AM_UP(x, y, z, w) {x, (byte)(y - x), z, true} |
Functions | |
| static void | FindResolutions () |
| static void | GetAvailableVideoMode (uint *w, uint *h) |
| static uint | FindStartupDisplay (uint startup_display) |
| static uint | ConvertSdlKeyIntoMy (SDL_Keysym *sym, WChar *character) |
| static uint | ConvertSdlKeycodeIntoMy (SDL_Keycode kc) |
| Like ConvertSdlKeyIntoMy(), but takes an SDL_Keycode as input instead of an SDL_Keysym. | |
| static const char * | InitializeSDL () |
Variables | |
| static const Dimension | default_resolutions [] |
| static const SDLVkMapping | _vk_mapping [] |
Implementation of the SDL2 video driver.
Definition in file sdl2_v.cpp.
|
static |
Definition at line 58 of file sdl2_v.cpp.