remove unused fDeltaTime parameter

This commit is contained in:
Glenn Maynard
2005-12-18 22:51:12 +00:00
parent 67f9c89c96
commit 7faaa73afd
16 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ void RageInput::Update( float fDeltaTime )
{ {
/* Update optional devices. */ /* Update optional devices. */
for( unsigned i = 0; i < m_pDevices.size(); ++i ) for( unsigned i = 0; i < m_pDevices.size(); ++i )
m_pDevices[i]->Update( fDeltaTime ); m_pDevices[i]->Update();
} }
bool RageInput::DevicesChanged() bool RageInput::DevicesChanged()
@@ -27,7 +27,7 @@ class InputHandler
public: public:
InputHandler() { m_iInputsSinceUpdate = 0; } InputHandler() { m_iInputsSinceUpdate = 0; }
virtual ~InputHandler() { } virtual ~InputHandler() { }
virtual void Update( float fDeltaTime ) { } virtual void Update() { }
virtual bool DevicesChanged() { return false; } virtual bool DevicesChanged() { return false; }
virtual void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut ) = 0; 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; RageTimer zero;
zero.SetZero(); zero.SetZero();
@@ -11,7 +11,7 @@ public:
InputHandler_DInput(); InputHandler_DInput();
~InputHandler_DInput(); ~InputHandler_DInput();
void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut ); void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut );
void Update( float fDeltaTime ); void Update();
bool DevicesChanged(); bool DevicesChanged();
void WindowReset(); void WindowReset();
@@ -161,7 +161,7 @@ InputHandler_Linux_tty::~InputHandler_Linux_tty()
handler = NULL; handler = NULL;
} }
void InputHandler_Linux_tty::Update(float fDeltaTime) void InputHandler_Linux_tty::Update()
{ {
while (1) while (1)
{ {
@@ -9,7 +9,7 @@ class InputHandler_Linux_tty: public InputHandler
static void OnCrash(int); static void OnCrash(int);
public: public:
void Update(float fDeltaTime); void Update();
InputHandler_Linux_tty(); InputHandler_Linux_tty();
~InputHandler_Linux_tty(); ~InputHandler_Linux_tty();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut); 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 ) if( !PREFSMAN->m_bMonkeyInput )
{ {
@@ -8,7 +8,7 @@
class InputHandler_MonkeyKeyboard: public InputHandler class InputHandler_MonkeyKeyboard: public InputHandler
{ {
public: public:
void Update( float fDeltaTime ); void Update();
InputHandler_MonkeyKeyboard(); InputHandler_MonkeyKeyboard();
~InputHandler_MonkeyKeyboard(); ~InputHandler_MonkeyKeyboard();
void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut ); void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut );
@@ -189,7 +189,7 @@ InputHandler_SDL::~InputHandler_SDL()
mySDL_EventState(Handled_SDL_Events[i], SDL_IGNORE); mySDL_EventState(Handled_SDL_Events[i], SDL_IGNORE);
} }
void InputHandler_SDL::Update(float fDeltaTime) void InputHandler_SDL::Update()
{ {
SDL_Event event; SDL_Event event;
while(SDL_GetEvent(event, SDL_EventMask)) while(SDL_GetEvent(event, SDL_EventMask))
@@ -11,7 +11,7 @@ class InputHandler_SDL: public InputHandler
vector<SDL_Joystick *> Joysticks; vector<SDL_Joystick *> Joysticks;
public: public:
void Update(float fDeltaTime); void Update();
InputHandler_SDL(); InputHandler_SDL();
~InputHandler_SDL(); ~InputHandler_SDL();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut); void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
@@ -116,7 +116,7 @@ void InputHandler_Win32_Pump::InputThreadMain()
CHECKPOINT; CHECKPOINT;
} }
void InputHandler_Win32_Pump::Update( float fDeltaTime ) void InputHandler_Win32_Pump::Update()
{ {
if( !InputThread.IsCreated() ) if( !InputThread.IsCreated() )
{ {
@@ -8,7 +8,7 @@ class USBDevice;
class InputHandler_Win32_Pump: public InputHandler class InputHandler_Win32_Pump: public InputHandler
{ {
public: public:
void Update( float fDeltaTime ); void Update();
InputHandler_Win32_Pump(); InputHandler_Win32_Pump();
~InputHandler_Win32_Pump(); ~InputHandler_Win32_Pump();
void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut ); void GetDevicesAndDescriptions( vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut );
@@ -140,7 +140,7 @@ InputHandler_X11::~InputHandler_X11()
X11Helper::Stop(); X11Helper::Stop();
} }
void InputHandler_X11::Update(float fDeltaTime) void InputHandler_X11::Update()
{ {
XEvent event; XEvent event;
@@ -10,7 +10,7 @@ class InputHandler_X11: public InputHandler
public: public:
InputHandler_X11(); InputHandler_X11();
~InputHandler_X11(); ~InputHandler_X11();
void Update(float fDeltaTime); void Update();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut); void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);
}; };
#define USE_INPUT_HANDLER_X11 #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 // check insertions and removals
DWORD dwInsert, dwRemove; DWORD dwInsert, dwRemove;
@@ -13,7 +13,7 @@ class InputHandler_Xbox: public InputHandler
XINPUT_GAMEPAD lastState[NUM_JOYSTICKS]; XINPUT_GAMEPAD lastState[NUM_JOYSTICKS];
public: public:
void Update(float fDeltaTime); void Update();
InputHandler_Xbox(); InputHandler_Xbox();
~InputHandler_Xbox(); ~InputHandler_Xbox();
void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut); void GetDevicesAndDescriptions(vector<InputDevice>& vDevicesOut, vector<CString>& vDescriptionsOut);