World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
97 #define SDL_STANDARD_GRAVITY 9.80665f
DECLSPEC void SDLCALL SDL_SensorUpdate(void)
DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetDeviceType(int device_index)
Get the type of a sensor.
DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetInstanceID(SDL_Sensor *sensor)
Get the instance ID of a sensor.
DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetDeviceInstanceID(int device_index)
Get the instance ID of a sensor.
DECLSPEC int SDLCALL SDL_SensorGetNonPortableType(SDL_Sensor *sensor)
Get the platform dependent type of a sensor.
DECLSPEC SDL_Sensor *SDLCALL SDL_SensorFromInstanceID(SDL_SensorID instance_id)
const DECLSPEC char *SDLCALL SDL_SensorGetName(SDL_Sensor *sensor)
Get the implementation dependent name of a sensor.
DECLSPEC void SDLCALL SDL_SensorClose(SDL_Sensor *sensor)
DECLSPEC int SDLCALL SDL_SensorGetDeviceNonPortableType(int device_index)
Get the platform dependent type of a sensor.
DECLSPEC int SDLCALL SDL_NumSensors(void)
Count the number of sensors attached to the system right now.
DECLSPEC SDL_SensorType SDLCALL SDL_SensorGetType(SDL_Sensor *sensor)
Get the type of a sensor.
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
DECLSPEC SDL_Sensor *SDLCALL SDL_SensorOpen(int device_index)
Open a sensor for use.
const DECLSPEC char *SDLCALL SDL_SensorGetDeviceName(int device_index)
Get the implementation dependent name of a sensor.
struct _SDL_Sensor SDL_Sensor
DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor *sensor, float *data, int num_values)