Commit Graph
17 Commits
Author SHA1 Message Date
Glenn Maynard 03ce23e9ea ARRAYLEN 2006-09-18 23:27:09 +00:00
Steve Checkoway fd424585f2 Fix assert with monkey keyboard. 2006-07-26 00:31:48 +00:00
Steve Checkoway 7d2ff868e1 Cleanup. (This was written by Chris but InputHandler_MonkeyKeyboard.h was written by Glenn?) 2006-07-26 00:29:26 +00:00
Steve Checkoway a07e194cf1 Revert. Fixes Linux build. 2006-07-18 05:51:37 +00:00
Jason Felds 366c3440d4 Fix VC8 macro redef warning. (more to come) 2006-07-18 03:56:37 +00:00
Steve Checkoway 80698277cf Don't use rand()%n. The function specified by the ANSI committee is a terrible linear congruential generator. In fact, it's so bad that the low order bit alternates. The algorithm implemented as RandomFloat() seems to be Park and Miller's "minimum standard" generator which is better (but not great). [See Knuth for more information.]
Any place where you would use rand()%n, use RandomInt(0, n) instead.
2006-06-26 12:14:30 +00:00
Chris Danford bf0cc13a47 Change GetDevicesAndDescriptions to fill in one vector instead of 2
Ignore changes in non-joystick devices when automapping
2006-02-27 17:51:27 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard c294e8eb74 merge input symbols 2005-12-28 08:55:13 +00:00
Glenn Maynard d9862d3ac8 static, typo 2005-12-28 08:21:39 +00:00
Glenn Maynard 7faaa73afd remove unused fDeltaTime parameter 2005-12-18 22:51:12 +00:00
Glenn Maynard 491e97d0ac cleanup 2005-10-13 02:26:17 +00:00
Ben Anderson f83eb0a2ca Send key off when disabled only once. (fixes space bar not responding) 2005-10-13 01:34:06 +00:00
Glenn Maynard e1429256f3 fix InputHandler::UpdateTimer never called 2005-05-17 20:51:20 +00:00
Chris Danford 6392984072 fix stuck keys after turning off monkey input 2005-05-17 18:14:43 +00:00
Chris Danford c1ab0fcdb3 hook up MonkeyInput and DebugLights to debug menu 2005-05-16 19:47:30 +00:00
Chris Danford 722941a646 add monkey scripting input driver for longevity testing 2004-10-16 15:04:10 +00:00