about summary refs log tree commit diff
path: root/src/engine/input.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-04-13 20:37:12 +0200
committeroy <Tom_Adams@web.de>2011-04-13 20:37:12 +0200
commit06115dd49dca2f8eb5f14606437e8fd20037cc4d (patch)
tree5ec4bca6158319b3f5285d7689c5f94ae8da8c93 /src/engine/input.h
parent63e059b8fff6498e42b765a1dca000e53005ea77 (diff)
downloadzcatch-06115dd49dca2f8eb5f14606437e8fd20037cc4d.tar.gz
zcatch-06115dd49dca2f8eb5f14606437e8fd20037cc4d.zip
added "Whitespace and line Endings cleanup" by GreYFoX
Diffstat (limited to 'src/engine/input.h')
-rw-r--r--src/engine/input.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/input.h b/src/engine/input.h
index aa9be78f..7d28be10 100644
--- a/src/engine/input.h
+++ b/src/engine/input.h
@@ -41,7 +41,7 @@ protected:
 
 	int KeyWasPressed(int Key) { return m_aInputState[m_InputCurrent^1][Key]; }
 
-public:	
+public:
 	enum
 	{
 		FLAG_PRESS=1,
@@ -53,7 +53,7 @@ public:
 	int NumEvents() const { return m_NumEvents; }
 	void ClearEvents() { m_NumEvents = 0; }
 	CEvent GetEvent(int Index) const
-	{ 
+	{
 		if(Index < 0 || Index >= m_NumEvents)
 		{
 			IInput::CEvent e = {0,0};
@@ -61,19 +61,19 @@ public:
 		}
 		return m_aInputEvents[Index];
 	}
-	
+
 	// keys
 	int KeyPressed(int Key) { return m_aInputState[m_InputCurrent][Key]; }
 	int KeyReleases(int Key) { return m_aInputCount[m_InputCurrent][Key].m_Releases; }
 	int KeyPresses(int Key) { return m_aInputCount[m_InputCurrent][Key].m_Presses; }
 	int KeyDown(int Key) { return KeyPressed(Key)&&!KeyWasPressed(Key); }
 	const char *KeyName(int Key) { return (Key >= 0 && Key < 512) ? g_aaKeyStrings[Key] : g_aaKeyStrings[0]; }
-	
+
 	//
 	virtual void MouseModeRelative() = 0;
 	virtual void MouseModeAbsolute() = 0;
 	virtual int MouseDoubleClick() = 0;
-	
+
 	virtual void MouseRelative(float *x, float *y) = 0;
 };