open_toontown_panda3d/panda/src/collide
rdb 73360393df Switch use of Py_INCREF to new Py_NewRef function
This is more idiomatic, simplifies the code, makes it easier to port to eg. HPy later on, and makes it easier to use the limited ABI (where it can be optimized to a tail call) later on

A polyfill is provided for compatibility with Python versions 3.8 and 3.9
2024-01-29 17:57:53 +01:00
..
CMakeLists.txt collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
collisionBox.I collide: First pass at reducing memory overhead of CollisionBox 2022-03-09 16:23:34 +01:00
collisionBox.cxx cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
collisionBox.h collide: First pass at reducing memory overhead of CollisionBox 2022-03-09 16:23:34 +01:00
collisionCapsule.I Rename CollisionTube to CollisionCapsule (bam 6.44) 2018-12-23 22:28:06 +01:00
collisionCapsule.cxx collide: implement box into capsule 2019-08-02 19:14:58 +02:00
collisionCapsule.h collide: implement box into capsule 2019-08-02 19:14:58 +02:00
collisionEntry.I general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionEntry.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
collisionEntry.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionFloorMesh.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionFloorMesh.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
collisionFloorMesh.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionGeom.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionGeom.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
collisionGeom.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionHandler.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionHandler.cxx collide: Allow creating dummy CollisionHandler 2022-12-26 11:16:53 +01:00
collisionHandler.h collide: Allow creating dummy CollisionHandler 2022-12-26 11:16:53 +01:00
collisionHandlerEvent.I general: Fix assorted compiler warnings 2022-03-01 16:09:07 +01:00
collisionHandlerEvent.cxx collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerEvent.h create PY_EXTENSION and friends (#1415) 2023-01-04 20:54:53 +01:00
collisionHandlerEvent_ext.cxx collide: Use virtual read_datagram/write_datagram on handlers 2021-01-02 02:40:52 +01:00
collisionHandlerEvent_ext.h collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerFloor.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionHandlerFloor.cxx cleanup: Fix assorted issues uncovered by clang-tidy 2023-02-12 18:17:03 +01:00
collisionHandlerFloor.h collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerFluidPusher.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionHandlerFluidPusher.cxx Rename CollisionTube to CollisionCapsule (bam 6.44) 2018-12-23 22:28:06 +01:00
collisionHandlerFluidPusher.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionHandlerGravity.I collide: Fix CollisionHandlerGravity docstrings 2021-02-08 19:41:46 +01:00
collisionHandlerGravity.cxx collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerGravity.h collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerHighestEvent.cxx general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
collisionHandlerHighestEvent.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionHandlerPhysical.I general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
collisionHandlerPhysical.cxx general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
collisionHandlerPhysical.h create PY_EXTENSION and friends (#1415) 2023-01-04 20:54:53 +01:00
collisionHandlerPhysical_ext.cxx Switch use of Py_INCREF to new Py_NewRef function 2024-01-29 17:57:53 +01:00
collisionHandlerPhysical_ext.h collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerPusher.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionHandlerPusher.cxx collide: Fix pusher if interior and surface point don't lie along normal 2021-01-12 14:51:42 +01:00
collisionHandlerPusher.h collide: Add pickle support for most collision handlers 2021-01-01 16:56:18 +01:00
collisionHandlerQueue.cxx CollisionEntrySorter: Check if entry has surface point 2018-11-01 16:28:43 +01:00
collisionHandlerQueue.h create PY_EXTENSION and friends (#1415) 2023-01-04 20:54:53 +01:00
collisionHandlerQueue_ext.cxx collide: Support pickling for CollisionTraverser, HandlerEvent+Queue 2020-12-31 16:57:34 +01:00
collisionHandlerQueue_ext.h collide: Support pickling for CollisionTraverser, HandlerEvent+Queue 2020-12-31 16:57:34 +01:00
collisionHeightfield.I collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
collisionHeightfield.cxx collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
collisionHeightfield.h collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
collisionInvSphere.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionInvSphere.cxx general: Fix missing includes (and one forward declaration) 2019-08-24 18:05:28 -06:00
collisionInvSphere.h collide: implement check from parabola into inverse sphere 2019-06-20 19:33:42 +02:00
collisionLevelState.I pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
collisionLevelState.cxx New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionLevelState.h pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
collisionLevelStateBase.I general: Fix assorted compiler warnings 2022-03-01 16:09:07 +01:00
collisionLevelStateBase.cxx general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
collisionLevelStateBase.h pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
collisionLine.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionLine.cxx gobj: Add config switch for Panda not to default to packed vertex colors 2021-03-25 23:15:58 +01:00
collisionLine.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionNode.I interrogate: more improvements to seq/map wrappers 2017-11-27 17:29:50 +01:00
collisionNode.cxx pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
collisionNode.h pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
collisionParabola.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionParabola.cxx gobj: Add config switch for Panda not to default to packed vertex colors 2021-03-25 23:15:58 +01:00
collisionParabola.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionPlane.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionPlane.cxx Rename CollisionTube to CollisionCapsule (bam 6.44) 2018-12-23 22:28:06 +01:00
collisionPlane.h Rename CollisionTube to CollisionCapsule (bam 6.44) 2018-12-23 22:28:06 +01:00
collisionPolygon.I collide: improve performance of colliding with visible geometry 2020-04-01 20:31:19 +02:00
collisionPolygon.cxx collide: Reimplement respect-prev-transform test for capsule-into-poly 2022-10-24 13:21:19 +02:00
collisionPolygon.h create PY_EXTENSION and friends (#1415) 2023-01-04 20:54:53 +01:00
collisionPolygon_ext.cxx collide: Fix typo in STDFLOAT_DOUBLE case 2020-12-14 11:00:49 +01:00
collisionPolygon_ext.h collide: Error checking for CollisionPolygon::setup/verify_points() 2020-12-12 17:28:41 +01:00
collisionRay.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionRay.cxx gobj: Add config switch for Panda not to default to packed vertex colors 2021-03-25 23:15:58 +01:00
collisionRay.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionRecorder.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionRecorder.cxx general: Remove `using std::*` from headers 2018-06-14 16:04:49 +02:00
collisionRecorder.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionSegment.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionSegment.cxx gobj: Add config switch for Panda not to default to packed vertex colors 2021-03-25 23:15:58 +01:00
collisionSegment.h general: Fully qualify header references into the std namespace 2018-06-07 10:35:12 +02:00
collisionSolid.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionSolid.cxx collide: Improve CollisionSphere viz, add outline 2021-02-06 01:25:07 +01:00
collisionSolid.h collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
collisionSphere.I New file headers, new comment style 2016-02-17 17:47:48 +01:00
collisionSphere.cxx collide: Improve CollisionSphere viz, add outline 2021-02-06 01:25:07 +01:00
collisionSphere.h Rename CollisionTube to CollisionCapsule (bam 6.44) 2018-12-23 22:28:06 +01:00
collisionTraverser.I general: Replace NULL (and 0 as pointer) with C++11 nullptr 2018-06-03 16:35:13 -06:00
collisionTraverser.cxx collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
collisionTraverser.h create PY_EXTENSION and friends (#1415) 2023-01-04 20:54:53 +01:00
collisionTraverser_ext.cxx general: Fix assorted compiler warnings 2022-03-01 16:09:07 +01:00
collisionTraverser_ext.h collide: Support pickling for CollisionTraverser, HandlerEvent+Queue 2020-12-31 16:57:34 +01:00
collisionTube.h collide: create compatibility header collisionTube.h 2018-12-23 22:28:12 +01:00
collisionVisualizer.I collide: fix multithreaded pipeline crash with CollisionVisualizer 2018-01-18 21:23:54 +01:00
collisionVisualizer.cxx pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
collisionVisualizer.h pgraph: Major traversal optimizations 2021-11-16 17:30:33 +01:00
config_collide.cxx collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
config_collide.h New file headers, new comment style 2016-02-17 17:47:48 +01:00
p3collide_composite1.cxx collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
p3collide_composite2.cxx Rename CollisionTube to CollisionCapsule (bam 6.44) 2018-12-23 22:28:06 +01:00
p3collide_ext_composite.cxx Merge branch 'release/1.10.x' 2021-01-02 02:33:35 +01:00