Commit Graph

66 Commits

Author SHA1 Message Date
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 32367fcbdc Fix various import issues in the direct tree 2015-12-06 22:36:05 +01:00
rdb 31dbcae262 Deprecate many extension methods, make extension methods imported via modules instead of dumped into core.py, move _core.pyd and _direct.pyd back to core.pyd, direct.pyd respectively, move MAIN_DIR set-up code to module init time 2015-11-10 00:44:29 +01:00
Josh Wilson ff36d3e428 putting prints into notify debug 2008-10-24 22:50:46 +00:00
Josh Wilson a480d86b62 asserting notify statements to clean up the game logs 2008-07-09 01:37:58 +00:00
Darren Ranalli 41457534fe prevent crash in getSpeeds() if currentControls is None 2008-01-19 02:30:04 +00:00
Darren Ranalli 8e57270adf cleaned up WASD input token management 2008-01-11 02:52:14 +00:00
Zachary Pavlov 41d4c7a9c0 used global config instead of base.config (same thing) 2007-10-11 00:01:51 +00:00
Joe Shochet ea5ee97c6a when enabling controls, set wasd turn to whatever was set last in case mouse is held down 2007-09-23 06:32:14 +00:00
Josh Wilson cd3c0ae1c0 check for currentControls before getIsAirborne() 2007-09-19 17:46:42 +00:00
John Loehrlein e4917b05c0 only reallocate inputStateTokens on init() and disable() 2007-08-22 00:00:14 +00:00
John Loehrlein 34b7599b6f passthrough in control manager 2007-08-14 17:54:40 +00:00
Josh Wilson 832f0b51e3 adding __str__() 2007-08-11 06:36:44 +00:00
Joe Shochet f574e9f8f9 init wasd turn tokens 2007-08-06 21:50:33 +00:00
Joe Shochet eb08ce9e17 default inputStateTokens in case controlManager is deleted before ever enabled 2007-08-06 09:53:56 +00:00
Joe Shochet 11b61579e0 control manager disable now stops watching input states 2007-08-03 19:48:42 +00:00
Joe Shochet 9b911db541 better handling of wasd to turn switching 2007-08-03 04:04:23 +00:00
Josh Wilson 7c1ebe56c8 "don't reset input states when destroying a control manager" 2007-07-31 18:31:27 +00:00
Joe Shochet 19a60b1305 leave q and e as strafe 2007-07-13 21:49:19 +00:00
Joe Shochet d6072c0c18 wasd turn and strafe toggle 2007-07-09 18:28:41 +00:00
Joe Shochet 4ae6be208c switch turn and strafe for wasd 2007-06-26 18:55:52 +00:00
Josh Wilson 8dfe52b1e0 "more checking for currentControls" 2007-04-30 22:59:52 +00:00
Josh Wilson d723220951 "check for currentControls == None" 2007-04-27 22:12:43 +00:00
Josh Wilson d9dcbfc429 "using new ShipFloorCollide for avatars on a ship" 2007-04-20 19:08:31 +00:00
Josh Wilson 26e87e17a3 removing unused function delete() from controls 2007-02-06 23:23:42 +00:00
Josh Wilson c56249dd2f control manager now cleanly removes its controls during delete() 2007-02-06 22:30:32 +00:00
Joe Shochet ff591b45e4 *** empty log message *** 2007-01-28 00:03:33 +00:00
Josh Wilson 6e32e478cf ships now have their own control manager that the avatar uses when he takes the wheel 2007-01-25 05:24:40 +00:00
Joe Shochet fcedd2efd5 arrow keys turn again 2006-12-18 19:08:00 +00:00
Darren Ranalli 8897de5899 better InputManager handling of multiple inputs to a single logical input (forward, backward etc.) 2006-10-26 03:47:34 +00:00
Josh Wilson c1f040a7d1 added ability to query airborne state. Be careful this only works if the walker supports the airborne state 2006-10-20 16:16:55 +00:00
Jason Yeung b046a3c33d - Changed the Arrow Left & Right Keys to become strafing for Pirates 2006-08-29 17:50:01 +00:00
Jason Yeung d7cf9805d5 - Changed the strafe speed for PIRATES 2006-08-10 23:37:27 +00:00
David Rose 216e635ee7 more __all__ fixes from Josh Yelon 2006-08-10 22:14:31 +00:00
Mike Goslin f105fc0365 Added current name so we know the current name of the current control 2006-05-02 21:05:36 +00:00
Dave Schuyler 64d22156c7 removed parens from asserts 2006-04-04 23:32:24 +00:00
Dave Schuyler 26ea29157c formatting 2006-03-17 21:41:36 +00:00
Darren Ranalli c8d74466ee added InputState.watchWithModifiers to reduce code duplication 2005-12-13 02:04:43 +00:00
Dave Schuyler 2fa034d68a removed ship stuff 2005-12-03 03:36:32 +00:00
Dave Schuyler 66c1e93888 ship slide left/right 2005-12-02 00:46:45 +00:00
Joe Shochet ce4894f6a5 turn on q and e keys for wasd users 2005-11-07 17:22:11 +00:00
Joe Shochet cda7e979a2 strafe on wasd A and D keys, spacebar jumps in wasd mode 2005-11-04 01:08:20 +00:00
Joe Shochet 70e2d8d15e removed slide and levitate from dev controls 2005-10-18 17:37:34 +00:00
Joe Shochet 2e465f8cc8 dev flag on levitate ignore 2005-10-06 00:31:44 +00:00
Joe Shochet 71f3a958a1 strafe left and right support 2005-10-05 21:58:22 +00:00
Joe Shochet 8f74f5eaaf trying to get strafing working again for pirates battle 2005-10-05 04:57:15 +00:00
Darren Ranalli 5be710f8b5 merged from pirates_1_first_merged_to_trunk 2005-09-14 22:13:42 +00:00
Joe Shochet d9477e365a ignore watches upon delete so we do not have hooks leftover after we cleanup the local avatar 2005-08-03 21:43:57 +00:00
Joe Shochet 051e017d0a wasd controls 2005-07-18 06:04:34 +00:00
Dave Schuyler b2f3e2ed45 added lockControls 2005-05-05 22:04:33 +00:00