/* Copyright (C) 2019 Nunuhara Cabbage * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ #include "hll.h" #include "sact.h" //bool Mouse_MovePosImmediately(int x, int y); //bool Mouse_HideCursorByGame(bool hide); //bool Mouse_IsHideCursorByGame(void); //void Mouse_HideByStepMessage(void); HLL_QUIET_UNIMPLEMENTED(, void, IbisInputEngine, Mouse_HideByStepMessage); //void MouseWheel_ClearCount(void); HLL_QUIET_UNIMPLEMENTED(, void, IbisInputEngine, MouseWheel_ClearCount); static void IbisInputEngine_MouseWheel_GetCount(int *forward, int *back) { *forward = 0; *back = 0; } //bool Key_IsDown(int KeyCode); static void IbisInputEngine_Joystick_ClearCaptureFlag(void) { // TODO } //int IbisInputEngine_Joystick_GetNumofDevice(void); HLL_WARN_UNIMPLEMENTED(0, int, IbisInputEngine, Joystick_GetNumofDevice); bool IbisInputEngine_Joystick_IsKeyDown(int DeviceNumber, int JoystickCode) { // TODO return false; } //float IbisInputEngine_Joystick_GetAxis(int DeviceNumber, int AxisType); HLL_WARN_UNIMPLEMENTED(0.0, float, IbisInputEngine, Joystick_GetAxis, int dev, int axis); HLL_LIBRARY(IbisInputEngine, HLL_EXPORT(Mouse_GetPos, sact_Mouse_GetPos), HLL_TODO_EXPORT(Mouse_MovePosImmediately, IbisInputEngine_Mouse_MovePosImmediately), HLL_TODO_EXPORT(Mouse_HideCursorByGame, IbisInputEngine_Mouse_HideCursorByGame), HLL_TODO_EXPORT(Mouse_IsHideCursorByGame, IbisInputEngine_Mouse_IsHideCursorByGame), HLL_EXPORT(Mouse_HideByStepMessage, IbisInputEngine_Mouse_HideByStepMessage), HLL_EXPORT(MouseWheel_ClearCount, IbisInputEngine_MouseWheel_ClearCount), HLL_EXPORT(MouseWheel_GetCount, IbisInputEngine_MouseWheel_GetCount), HLL_EXPORT(Key_IsDown, sact_Key_IsDown), HLL_EXPORT(Joystick_ClearCaptureFlag, IbisInputEngine_Joystick_ClearCaptureFlag), HLL_EXPORT(Joystick_GetNumofDevice, IbisInputEngine_Joystick_GetNumofDevice), HLL_EXPORT(Joystick_IsKeyDown, IbisInputEngine_Joystick_IsKeyDown), HLL_EXPORT(Joystick_GetAxis, IbisInputEngine_Joystick_GetAxis));