remove unused fDeltaTime parameter
This commit is contained in:
@@ -27,7 +27,7 @@ class InputHandler
|
||||
public:
|
||||
InputHandler() { m_iInputsSinceUpdate = 0; }
|
||||
virtual ~InputHandler() { }
|
||||
virtual void Update( float fDeltaTime ) { }
|
||||
virtual void Update() { }
|
||||
virtual bool DevicesChanged() { return false; }
|
||||
virtual void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut ) = 0;
|
||||
|
||||
|
||||
@@ -448,7 +448,7 @@ void InputHandler_DInput::PollAndAcquireDevices()
|
||||
}
|
||||
}
|
||||
|
||||
void InputHandler_DInput::Update( float fDeltaTime )
|
||||
void InputHandler_DInput::Update()
|
||||
{
|
||||
RageTimer zero;
|
||||
zero.SetZero();
|
||||
|
||||
@@ -11,7 +11,7 @@ public:
|
||||
InputHandler_DInput();
|
||||
~InputHandler_DInput();
|
||||
void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut );
|
||||
void Update( float fDeltaTime );
|
||||
void Update();
|
||||
bool DevicesChanged();
|
||||
void WindowReset();
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ InputHandler_Linux_tty::~InputHandler_Linux_tty()
|
||||
handler = NULL;
|
||||
}
|
||||
|
||||
void InputHandler_Linux_tty::Update(float fDeltaTime)
|
||||
void InputHandler_Linux_tty::Update()
|
||||
{
|
||||
while (1)
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ class InputHandler_Linux_tty: public InputHandler
|
||||
static void OnCrash(int);
|
||||
|
||||
public:
|
||||
void Update(float fDeltaTime);
|
||||
void Update();
|
||||
InputHandler_Linux_tty();
|
||||
~InputHandler_Linux_tty();
|
||||
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
|
||||
|
||||
@@ -56,7 +56,7 @@ int GetRandomKeyboadKey()
|
||||
}
|
||||
|
||||
|
||||
void InputHandler_MonkeyKeyboard::Update(float fDeltaTime)
|
||||
void InputHandler_MonkeyKeyboard::Update()
|
||||
{
|
||||
if( !PREFSMAN->m_bMonkeyInput )
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
class InputHandler_MonkeyKeyboard: public InputHandler
|
||||
{
|
||||
public:
|
||||
void Update( float fDeltaTime );
|
||||
void Update();
|
||||
InputHandler_MonkeyKeyboard();
|
||||
~InputHandler_MonkeyKeyboard();
|
||||
void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut );
|
||||
|
||||
@@ -189,7 +189,7 @@ InputHandler_SDL::~InputHandler_SDL()
|
||||
mySDL_EventState(Handled_SDL_Events[i], SDL_IGNORE);
|
||||
}
|
||||
|
||||
void InputHandler_SDL::Update(float fDeltaTime)
|
||||
void InputHandler_SDL::Update()
|
||||
{
|
||||
SDL_Event event;
|
||||
while(SDL_GetEvent(event, SDL_EventMask))
|
||||
|
||||
@@ -11,7 +11,7 @@ class InputHandler_SDL: public InputHandler
|
||||
vector<SDL_Joystick *> Joysticks;
|
||||
|
||||
public:
|
||||
void Update(float fDeltaTime);
|
||||
void Update();
|
||||
InputHandler_SDL();
|
||||
~InputHandler_SDL();
|
||||
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
|
||||
|
||||
@@ -116,7 +116,7 @@ void InputHandler_Win32_Pump::InputThreadMain()
|
||||
CHECKPOINT;
|
||||
}
|
||||
|
||||
void InputHandler_Win32_Pump::Update( float fDeltaTime )
|
||||
void InputHandler_Win32_Pump::Update()
|
||||
{
|
||||
if( !InputThread.IsCreated() )
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ class USBDevice;
|
||||
class InputHandler_Win32_Pump: public InputHandler
|
||||
{
|
||||
public:
|
||||
void Update( float fDeltaTime );
|
||||
void Update();
|
||||
InputHandler_Win32_Pump();
|
||||
~InputHandler_Win32_Pump();
|
||||
void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut );
|
||||
|
||||
@@ -140,7 +140,7 @@ InputHandler_X11::~InputHandler_X11()
|
||||
X11Helper::Stop();
|
||||
}
|
||||
|
||||
void InputHandler_X11::Update(float fDeltaTime)
|
||||
void InputHandler_X11::Update()
|
||||
{
|
||||
XEvent event;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ class InputHandler_X11: public InputHandler
|
||||
public:
|
||||
InputHandler_X11();
|
||||
~InputHandler_X11();
|
||||
void Update(float fDeltaTime);
|
||||
void Update();
|
||||
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
|
||||
};
|
||||
#define USE_INPUT_HANDLER_X11
|
||||
|
||||
@@ -54,7 +54,7 @@ InputHandler_Xbox::~InputHandler_Xbox()
|
||||
}
|
||||
}
|
||||
|
||||
void InputHandler_Xbox::Update(float fDeltaTime)
|
||||
void InputHandler_Xbox::Update()
|
||||
{
|
||||
// check insertions and removals
|
||||
DWORD dwInsert, dwRemove;
|
||||
@@ -232,4 +232,4 @@ void InputHandler_Xbox::getHandles()
|
||||
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -13,7 +13,7 @@ class InputHandler_Xbox: public InputHandler
|
||||
XINPUT_GAMEPAD lastState[NUM_JOYSTICKS];
|
||||
|
||||
public:
|
||||
void Update(float fDeltaTime);
|
||||
void Update();
|
||||
InputHandler_Xbox();
|
||||
~InputHandler_Xbox();
|
||||
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
|
||||
|
||||
Reference in New Issue
Block a user