Commit Graph

60 Commits

Author SHA1 Message Date
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +01:00
rdb 9a15e9245c direct: Additional cleanup, update .pylintrc file 2023-02-22 02:44:53 +01:00
WMOkiishi c7c70bc32a
direct: Cut down on usage of `import *` (#1454)
* Remove most `import *`s in `direct`

* Address feedback
2023-02-12 13:16:52 +00:00
rdb eefcae7b05 direct: Add `base.clock`, deprecate `globalClock` 2021-12-25 11:47:42 +01:00
rdb 3fe1780f16 direct: Fix use of various deprecated APIs 2021-03-09 19:21:26 +01:00
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb 5ac3cf3fc6 Eliminate C++ DConfig; replace it with a Python compatibility shim 2018-11-02 23:27:07 +01:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
Sam Edwards 0846a89677 general: Stop using several deprecated pandac.PandaModules imports. 2016-06-27 00:06:40 -07:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
David Rose 09fb58dd08 band-aid localAvatarDoId 2009-07-02 04:06:17 +00:00
David Rose 7b00b88f29 separate out cmu and disney distributed systems better 2009-06-08 18:49:09 +00:00
Josh Wilson 1642d4163d updating report()'s to not require 'want-' or '-report' in the dConfigParam parameter 2009-04-09 01:16:59 +00:00
Justin Butler 4c09b6307b Smoother movement fixes for better stopping/starting and timestamp issues. Fixes problem where distributed smooth objects will stop movement at the wrong location or will slide around when first being generated. 2008-11-22 00:45:17 +00:00
Darren Ranalli e6dd18f558 build server finished, use new smoother interface only 2008-10-29 23:23:29 +00:00
Darren Ranalli 11cc062e84 smoother uses setPosHpr instead of setMat, no longer affects scale 2008-10-29 18:21:07 +00:00
Josh Wilson 1e4e5ad37e adding some reports 2008-10-24 22:56:13 +00:00
Justin Butler 7f9a509f04 Smooth object movement fix for pirates. Added a zoneId value that is sent along with position to better sync position and location for those that need it. 2008-10-10 21:05:46 +00:00
Justin Butler bcc7ed59a8 Small teleporting fix for smoothing to make sure timestamps are up-to-date when smoothed object stops then starts movement. 2008-08-27 00:47:22 +00:00
Josh Wilson a480d86b62 asserting notify statements to clean up the game logs 2008-07-09 01:37:58 +00:00
David Rose 7f31a5fb83 fix toon furniture moving 2007-11-13 00:36:03 +00:00
Josh Wilson fc993f793c applying smooth updates immediately if smoothing not enabled 2007-11-02 00:16:00 +00:00
Darren Ranalli d838c73a91 re-create C++ objects on disable/generate 2007-09-06 04:12:33 +00:00
Darren Ranalli 506cf473cf support local calls to setSm* 2007-08-09 23:20:17 +00:00
Darren Ranalli ee45d77be1 added smooth wrtReparent support 2007-06-29 21:19:59 +00:00
David Rose 1ca01f215c fixes to smoothing 2007-03-22 20:35:54 +00:00
David Rose c373e91564 make smoothmover parameters be instance variables 2007-02-06 17:27:09 +00:00
Joe Shochet a3af3b052c set important smoothmover vars when setting lag 2006-12-21 09:58:46 +00:00
Dave Schuyler 60356c6c94 formatting 2006-04-14 03:43:59 +00:00
Dave Schuyler c176b0e336 formatting 2005-11-04 22:16:25 +00:00
Darren Ranalli 5be710f8b5 merged from pirates_1_first_merged_to_trunk 2005-09-14 22:13:42 +00:00
Joe Shochet 01232c9e6f moved sendcurrentposition to base class 2005-03-18 01:54:39 +00:00
David Rose 9fcb8cf159 another round of test fixes 2005-02-11 21:17:07 +00:00
David Rose 95647b0093 more smoother optimizations 2005-01-14 03:57:54 +00:00
David Rose 5ba29949be optimize smooth task a bit 2005-01-13 19:20:25 +00:00
David Rose 9e60c303b7 add setSmZ() 2005-01-13 00:24:19 +00:00
Joe Shochet f428d0093a *** empty log message *** 2004-11-25 01:15:57 +00:00
David Rose 01b7f3acaa fix for tag game and C++ sendSmPos() 2004-09-09 00:23:29 +00:00
David Rose 157b9feb5f move setSmPos() etc. into C++ 2004-09-06 23:32:17 +00:00
David Rose b1db93fb87 explicit import paths 2004-06-01 19:31:48 +00:00
Joe Shochet df862d9a8a localToon => localAvatar 2004-05-21 13:04:34 +00:00
Darren Ranalli 330918c8f9 merged ai-telemetry branch to trunk 2004-05-10 22:02:40 +00:00
Asad M. Zaman bb917a4b2f security fixes from 10-29-2003, most of these ar ecrashes 2003-10-30 04:48:57 +00:00
David Rose 8f02530c64 split serverTime into serverTimeSec and serverTimeUSec 2003-08-19 01:26:45 +00:00
David Rose aec3aa147c better clock synchronization, including p2p sync 2003-07-30 09:48:21 +00:00
Darren Ranalli b64887d146 added parentMgr for more flexible distributed reparentTo's 2003-07-18 20:22:24 +00:00
Greg Wiatroski 8e6fc1d0ff don't enable smoothing after node is disabled 2003-07-15 19:15:27 +00:00
David Rose b4edf464e1 ensure smooth position is updated correctly on generate 2003-07-07 17:44:51 +00:00
David Rose f12cb81d9d move suggestResync to DistributedSmoothNode 2003-07-03 16:41:01 +00:00