Commit Graph

205 Commits

Author SHA1 Message Date
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
Josh Wilson 2209f50993 assert that mass is > 0 2007-02-01 01:12:40 +00:00
David Rose d202b5e0e2 allow particle systems to be placed under an instance 2006-07-27 00:24:34 +00:00
Josh Wilson bdfdeb5f2c updated comments 2006-07-25 01:33:35 +00:00
Josh Wilson 77b18a7c73 we can now choose a particular Physical upon which to run physics processing instead of having to run through the entire scene 2006-07-13 00:24:48 +00:00
Josh Wilson f195f3635d added get_objects() to get a collection of all the particles as PhysicalObjects 2006-07-13 00:23:04 +00:00
Josh Wilson 2814e85f51 added physicsObjectCollection 2006-07-13 00:16:49 +00:00
Josh Wilson 45db1dad81 removing 2006-07-13 00:15:45 +00:00
Josh Wilson f66c7f8ab9 initial checkin 2006-07-13 00:13:44 +00:00
Josh Wilson f71690b252 allow query of vector masks 2006-04-23 23:50:07 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00
Dave Schuyler 2e3ca066dc formatting 2006-03-28 03:51:09 +00:00