WMOkiishi
32edfa43fd
direct: Get direct to pass a mypy check
...
Closes #1476
2023-08-04 14:31:44 +02: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
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
Sam Edwards
b72d1c198f
distributed: Fix the import test (and syntax on Python 3)
2018-02-23 19:52:48 -07:00
Sam Edwards
f76b8a6ad8
distributed: Replace the OTP protocol format with Astron's
...
Again, all this does is affect the 4-years-disused OTP system, leaving
the CMU system entirely untouched.
This changes the packet formatting in several of distributed's helper
classes.
2018-02-23 16:45:50 -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
Zachary Pavlov
2eae5dbcd3
prevent interest loss
2010-05-13 20:27:12 +00:00
David Rose
d4679444ef
minor distributed object fixes
2009-11-22 19:32:32 +00:00
David Rose
d8471bdf32
fixes for public net interface
2009-11-08 19:30:04 +00:00
David Rose
7b00b88f29
separate out cmu and disney distributed systems better
2009-06-08 18:49:09 +00:00
Darren Ranalli
0c4fdfe262
generate/delete refcount: warning->debug (no use spamming for now)
2009-02-04 19:50:48 +00:00
Darren Ranalli
67af3d6256
generate/delete refcount: error->warning
2009-02-04 19:47:17 +00:00
Darren Ranalli
ad6ee13bb0
reference count calls to generate and delete, don't delete until all derived classes have called down
2009-01-27 19:56:07 +00:00
Josh Wilson
394b86c3cc
fixing documentation
2008-07-03 19:17:41 +00:00
Darren Ranalli
6216dd28b9
added requestDelete tracking
2008-06-19 21:22:06 +00:00
Zachary Pavlov
396c40dcb0
new ~ud support
2008-02-05 00:10:51 +00:00
Darren Ranalli
59fe42a254
removed EnforcesCalldowns
2008-01-10 00:06:47 +00:00
Darren Ranalli
3c65c77a34
fixed preAllocateDoId
2007-12-06 21:00:59 +00:00
Darren Ranalli
113790f2da
added message bundling support to guarantee atomic message processing on the state server
2007-12-04 23:06:37 +00:00
Joe Shochet
b280d1253c
slight optimization in string handling on taskName and uniqueName
2007-10-17 07:57:18 +00:00
Zachary Pavlov
a20301a2b5
faster tasks and network updates from objects
2007-10-16 23:49:18 +00:00
Darren Ranalli
670c7496b9
added named collTrav per AI zone
2007-10-13 00:36:51 +00:00
Darren Ranalli
b79eb8dbeb
added non-collidable parent for AI collision optimization
2007-09-24 21:48:36 +00:00
Joe Shochet
11b54e8d73
added a function to send an update to an account with channel 3 instead of the old 1
2007-08-27 21:20:06 +00:00
Josh Wilson
bc62667675
"handleChild(Arrive/Leave)() now only applies when a child is being placed under for the first time or actually leaving. added handleChild(Arrive/Leave)Zone() for the case where the child keeps the same parent, but changes zones"
2007-08-14 07:34:42 +00:00
Darren Ranalli
35290754c9
removed debugging
2007-04-25 21:03:06 +00:00
Darren Ranalli
df4b19725c
log and send server event if DOAI is created with parentId of 4294967295 (32-bit -1, unsigned)
2007-04-18 06:31:13 +00:00
Darren Ranalli
6c90ebd0d3
added pass to empty method
2007-03-01 23:10:00 +00:00
Zachary Pavlov
fc5b2e04ce
made post generates for DistributedObject stuff
2007-02-10 02:26:48 +00:00
Redmond Urbino
5972918101
fix crash in toontown tutorial
2006-10-07 01:59:24 +00:00
Darren Ranalli
4484b622f1
ZoneData system to prevent resource leaks
2006-10-07 00:36:05 +00:00
Darren Ranalli
11521abf8a
moved EnforcesCalldowns to its own file, added getBase()
2006-10-03 20:41:37 +00:00
Darren Ranalli
e8adeefe24
enforce method calldowns
2006-09-30 01:06:44 +00:00
Darren Ranalli
00e0c59f0f
print object type when DoHierarchy gets an error
2006-08-23 03:21:34 +00:00
Darren Ranalli
9ce7a90a38
fixed Long-Int leak in doId location tracking
2006-07-07 17:46:24 +00:00
Darren Ranalli
be2de63f8d
removed useless storeObjectLocation call
2006-06-02 00:18:25 +00:00
Dave Schuyler
7c2aa5354f
formatting
2006-04-04 23:37:44 +00:00
Dave Schuyler
1cb18155d0
formatting
2006-03-30 03:09:31 +00:00
Dave Schuyler
fc7fc09140
formatting
2006-03-17 22:43:25 +00:00
Dave Schuyler
437a64207e
getAvatarIdFromSender
2006-01-12 22:43:54 +00:00
Dave Schuyler
86f4c2e68e
remove extra paren from assert
2006-01-09 22:18:28 +00:00
Dave Schuyler
484fb2bd52
using DistributedObjectBase
2005-12-02 05:28:21 +00:00
Dave Schuyler
c28e3a500b
moving parent zone stuff to collection manager
2005-12-01 02:45:20 +00:00
Darren Ranalli
27964af494
added missing calls to announceGenerate
2005-11-21 23:35:20 +00:00
Darren Ranalli
bd1735a9ec
added static versions of getZoneChangeEvent and getLogicalZoneChangeEvent
2005-11-11 23:24:40 +00:00
Dave Schuyler
ad4ef50fd9
removed setInitLocation
2005-11-08 03:01:43 +00:00
Greg Wiatroski
72046cc8cd
ToonBarrier -> Barrier
2005-10-19 03:02:59 +00:00
Greg Wiatroski
c25f0e3607
Barrier -> ToonBarrier from karting brnahc (bad form?)
2005-10-18 23:43:38 +00:00
Samir Naik
be64a3bd8a
use OTP barrier instead of toontown
2005-10-05 00:28:14 +00:00