rdb
6e0af8abe4
physics: Fix Mac OS X 10.6 compilation issue with <atomic> header
2021-03-25 15:37:52 +01:00
rdb
f450aa5edf
physics: Add additional properties
2021-03-21 14:40:10 +01:00
rdb
db2936a318
physics: Slight code cleanup in PhysicalNode::clear()
2021-03-21 14:39:57 +01:00
rdb
f1782d73e5
physics: Fix crash in PhysicsNode::add_physicals_from()
2021-03-21 14:39:31 +01:00
rdb
74910ff310
physics: Don't assert destructing
...
This could have been produced with make_copy(), which can create a situation where the Physical objects don't have the same node associated -- see b6a118448d
2021-03-21 14:36:14 +01:00
rdb
b6a118448d
physics: Warn when copying PhysicalNode with physicals attached
...
We can't currently support this because a Physical can have only one PhysicalNode associated.
2021-03-21 14:35:28 +01:00
rdb
1c754738bd
physics: Prevent adding same Physical to more than one PhysicalNode
...
Also silently ignore if the same Physical is added to the same PhysicalNode more than once.
2021-03-21 13:00:08 +01:00
rdb
399797d0b1
physics: fix assertions when particles get very large positions
...
Fixes #822
2020-01-04 21:13:49 +01:00
rdb
0247f9e3fa
physics/particlesystem: remove some unused macros
2019-10-08 19:43:17 +02:00
rdb
5b938278c2
physics: also add set_name/get_name if NDEBUG is set, for ABI compat
2019-10-07 11:36:58 +02:00
rdb
ec6638314c
general: remove some oddly-placed audio_error macros
2019-10-06 11:51:15 +02:00
Sam Edwards
4695557a5d
general: Don't require BUILDING_* for static builds
2018-08-31 23:54:32 -06:00
rdb
886e1c2f16
general: fix many compilation warnings in GCC 8
2018-06-19 00:37:28 +02:00
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
e73c25d15e
general: Break apart BUILDING_PANDAPHYSICS
2018-06-12 16:15:04 -06:00
Sam Edwards
7790f8429d
general: Fully qualify header references into the std namespace
...
Closes #341
2018-06-07 10:35:12 +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
rdb
db5dd98d33
general: further warning fixes, use -Wno-unused-variable if NDEBUG
...
Disabling unused variable checking is needed in NDEBUG builds because of the heavy use of temporary variables in asserts.
2018-05-30 22:51:04 +02:00
rdb
6b726fa697
general: fix various compiler warnings and issues exposed thereby
2018-05-30 11:09:35 +02:00
Sam Edwards
9dd37e9dbc
general: Add guards to ensure proper BUILDING_ macros defined
...
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
Sam Edwards
fbe373dfdc
general: Fix includes
2018-02-04 17:11:55 -07:00
rdb
69b3468b2c
interrogate: more improvements to seq/map wrappers
...
Gets rid of properties defined as both MAKE_SEQ_PROPERTY/MAKE_MAP_PROPERTY, which are just a bad idea. Instead, adds a way for map properties to define a separate "keys" interface.
Fixes : #203
2017-11-27 17:29:50 +01:00
rdb
dd2806c8bd
Mark constructors 'explicit' for which coercion makes no sense
2017-11-06 19:47:38 +01:00
rdb
257311cc0c
physics: fix crash in edge case when PhysicalNode dies before Physical
...
Also add more assertion checks
2017-05-24 20:21:48 +02: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
rdb
ce29ae490d
Interrogate improvements, more properties, MAKE_SEQ_PROPERTY
2016-05-11 00:16:53 +02:00
tobspr
0fcfb8e372
New file headers, new comment style
2016-02-17 17:47:48 +01:00
rdb
090e912ce6
Cleanup of comments and whitespace
2016-02-01 22:30:43 +01:00
rdb
db3ab953e4
Remove ppremake, genPyCode, and all hacks created to support them
2015-11-09 19:06:49 +01:00
rdb
16e7831566
Remove executable permissions from files that don't need them
2015-04-05 15:41:49 +02:00
rdb
87910799b6
Split off epvector.h into its own file in an attempt to cut down compilation time
2014-09-14 22:04:36 +00:00
rdb
a58ddb3cfa
Add missing EXPCL_PANDAPHYSICS
2014-02-20 23:10:59 +00:00
rdb
83ffe90202
fix compiler dumbness
2012-07-08 13:37:27 +00:00
rdb
8660443235
remove _physical_node_path entirely on trunk
2012-07-07 19:01:17 +00:00
rdb
ece7ed20e1
remove circular reference in Physical::_physical_node_path.
2012-07-07 18:59:23 +00:00
David Rose
17f51995e3
a few more win32 build issues reported by forum users
2011-12-20 15:05:37 +00:00
David Rose
ba249508c4
win32 alignment issues
2011-12-20 00:17:08 +00:00
David Rose
dfe16c64f6
rename all Panda-built libraries to begin with libp3 or libpanda
2011-12-06 02:39:21 +00:00
David Rose
501470169f
stdfloat_double
2011-10-10 05:25:10 +00:00
David Rose
38d46bdebc
minor fixes with published methods
2009-04-01 18:46:16 +00:00
rdb
15af6c3ac5
Added physicsObjectCollection.I to Sources.pp
2009-03-11 07:53:31 +00:00
David Rose
fbc38a3e01
collection operator +
2008-11-10 23:54:45 +00:00
David Rose
58e0537e3c
wide interrogate improvements: sequence protocol, MAKE_SEQ, __setitem__, and parameter coercion
2008-11-07 21:12:42 +00:00
David Rose
f7fc1ca70b
validate_target
2008-10-14 20:47:23 +00:00
David Rose
fb9c56432a
we are now using the modified BSD license
2008-05-28 18:37:20 +00:00
Josh Wilson
998c7017a2
adding _transform_limit to modelNodes as well
2007-10-12 19:26:21 +00:00
Josh Wilson
56394ce390
adding _transform_limit to assert when the position of the actor node exceeds an arbitrary limit
2007-10-06 00:20:16 +00:00
David Rose
593c24dcbd
protect against assertions
2007-09-25 17:08:43 +00:00
David Rose
5e149d9694
a few more nan asserts
2007-09-19 20:26:39 +00:00
David Rose
409aa82ab7
lots more asserts to track nan's
2007-08-29 23:04:23 +00:00