Commit Graph

29 Commits

Author SHA1 Message Date
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb a65b477734 Commit patches by cfsworks:
cxx: Fix missing includes masked by composite builds.
misc: Fix typos in comments.
config: Fix missing config forward-declarations.
direct: Adjust Python imports to panda3d.* instead of pandac.*.
display: Split graphicsWindow out into an extension.
framework: Use if/elif/elif/endif instead of ifdef/elif/elif/endif.
ode: Remove erroneous INLINE declarations.
interval: Fix missing import.
2014-10-19 22:41:47 +00:00
rdb 5f2c0a6e04 Big commit aiding in separation of Python bindings:
* Most extension functions have been moved to C++.
 * In makepanda, Python bindings are compiled into panda3d/<module>.pyd.
2014-02-20 13:33:26 +00:00
rdb d4098452e9 forgot to commit this fix 2013-02-19 11:41:42 +00:00
rdb 5846d8d8c4 Commit patch from Josh Enes (see LP bug #1027758) 2013-02-17 21:36:05 +00:00
David Rose 6532984ea6 even better fix: allow callback to save OdeGeom pointers 2010-06-15 17:39:47 +00:00
David Rose 5823ecc588 fix crash 2010-06-15 17:01:44 +00:00
David Rose ecf55f8955 Py_XDECREF? 2010-06-15 00:45:29 +00:00
David Rose cff2eb6052 Py_DECREF 2010-06-14 17:33:43 +00:00
rdb 9f229cf4ee Remove NDEBUG markers 2010-02-15 17:41:19 +00:00
rdb 5292623b94 Store contact geoms on collision, not just points. Also, fix memory leak. 2009-04-12 12:34:14 +00:00
rdb a5d774a1c3 Asserts, and reformat code 2009-04-04 07:20:28 +00:00
rdb 6bd15649f9 Make empty ODE objects evaluate to False 2009-04-04 06:25:02 +00:00
rdb ba98fbfa43 More work on collision entries 2009-03-13 07:46:56 +00:00
rdb 83073537fb Added event system to ode 2009-03-13 07:27:58 +00:00
rdb 32ec0dd1c6 Allow for near callbacks in python 2008-11-05 15:46:19 +00:00
rdb 5023050fbb Fixed bug 2008-10-09 17:22:12 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
John Loehrlein a06907e583 Negative collision ids create collision reporting data without attaching a collision joint. Useful for event collisions. 2007-06-29 20:56:41 +00:00
John Loehrlein 0bda78dd8d surface data stored and accessed through the space 2007-06-27 21:53:57 +00:00
Redmond Urbino dba5cd0e7c add setDefaultSurfaceType for Geoms, support golf hard and soft surfaces 2007-06-23 02:31:41 +00:00
John Loehrlein fffd95d6ce dampening based on collisions 2007-03-12 22:23:42 +00:00
John Loehrlein 20b196ea30 autoCollide support 2007-03-03 00:58:17 +00:00
Josh Wilson 976760f105 added more robust method triMeshData memory management, ability to downcast joints, geoms, and spaces 2007-02-11 01:13:12 +00:00
Josh Wilson 4be7630974 interface additions to be more panda-like 2007-02-09 08:30:34 +00:00
Josh Wilson fd6808e765 first pass at integrating ODE v0.7 2007-01-29 21:30:34 +00:00