Commit Graph

45 Commits

Author SHA1 Message Date
rdb 3d383a3d9c sceneeditor: get it to run with Python 3 2018-08-10 23:53:33 +02:00
John Cote e99f8a7bcc sceneeditor: clean up scene editor code, removing deprecated calls
Closes #373
2018-08-10 23:50:36 +02: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
rdb ac4b8d1e1d Fix various compilation warnings 2018-06-11 14:53:25 +02: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 e0245d2777 First step towards eliminating `using namespace std;` (#335) 2018-06-03 20:32:23 +02:00
rdb 21d8c29645 More warning fixes 2018-06-03 06:45:35 -04:00
rdb 0de981d0b8 ai: make AICharacter reference counted
This lets one drop the reference to AICharacter after adding it to a flock or AIWorld without crashes.

Also replace the silly and inefficient custom-rolled linked list implementation of AICharPool with a vector, and add additional safety checks.

Fixes #318
2018-05-27 12:59:41 +02:00
rdb b62435a373 general: remove all uses of deprecated upcastTo*() methods
These methods have not been needed for a very long time, so we should not encourage their use.
2018-02-27 15:02:49 +01:00
Sam Edwards e15cea4331 general: Remove more unnecessary +x UNIX modes 2018-02-07 11:29:48 -07:00
rdb bfd5fa56fa rplight: compatibility with old macOS glibc 2018-01-17 17:08:08 +01:00
tobspr 5831a31509 Add RenderPipeline C++ lighting modules to Panda3D codebase 2018-01-07 23:43:22 +01:00
rdb dd2806c8bd Mark constructors 'explicit' for which coercion makes no sense 2017-11-06 19:47:38 +01:00
Mitchell Stokes 59b0913b0b Cleanup .gitignore files
Remove all .gitignore files in subdirectories and add a few new ignores
to the top-level directory .gitignore file.
2016-10-30 20:06:12 -07:00
rdb 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +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
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 920210c999 Fix the vast majority of Interrogate parse issues and warnings, add support for inline namespace and constexpr 2015-10-16 14:57:40 +02:00
rdb f69354d9fa Explicit template instantiation on gcc/clang, implement cfsworks' suggestion of moving compiler-specific stuff out of pandasymbols.h et al 2015-06-03 13:36:04 +02:00
rdb 16e7831566 Remove executable permissions from files that don't need them 2015-04-05 15:41:49 +02:00
rdb d345246a93 Fix compilation with STDFLOAT_DOUBLE 2015-03-08 15:55:43 +01:00
rdb 4f3cc072c2 Fix compiler warning 2014-09-24 21:35:21 +00:00
rdb c178aba639 Add property support to interrogate (using MAKE_PROPERTY or using published members) 2014-09-19 15:23:52 +00:00
rdb 1354fbf5cd Some fixes (but still doesn't run due to missing Lerp class) 2013-07-27 11:09:34 +00:00
rdb e506871383 fix typo 2013-01-12 19:01:58 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
Przemyslaw Iwanowski 5d00998747 tools updates 2011-11-16 18:34:29 +00:00
Przemyslaw Iwanowski c0aaffd8e7 UI adjustments
change paths in batch ability
2011-11-15 01:45:32 +00:00
Przemyslaw Iwanowski e1144d131e UI sizing changes 2011-11-14 23:57:48 +00:00
Przemyslaw Iwanowski 1710c6998d New Panda Tool GUI updates 2011-11-11 01:52:31 +00:00
Chris Brunner 04c7acceed Added Maya2012 as an option 2011-05-17 23:15:40 +00:00
Chris Brunner 686e7f39e7 ignore the build dirs when making an exe 2011-05-05 21:43:17 +00:00
Chris Brunner 21b47a1781 Added "-exclude" option 2011-05-05 21:42:24 +00:00
Chris Brunner a621cd3722 Some scripts to build the exe 2011-05-05 21:41:54 +00:00
Chris Brunner a19ab85561 putting the Panda3D Tools GUI into CVS 2011-04-04 22:41:23 +00:00
rdb c310c29a77 not my code, not my code 2011-02-23 16:28:34 +00:00
rdb 76671657d6 Forgot these 2010-11-16 09:02:47 +00:00
rdb fc4b36b1ec Compile PandAI with ppremake 2010-04-26 17:37:41 +00:00
rdb d8d52f70a0 atof -> patof to prevent locale stuff 2010-02-20 12:55:55 +00:00
rdb fed12caf68 Add PandAI (and contribbase) 2009-12-30 18:23:58 +00:00
rdb 0b29357059 Populate contrib tree (with SceneEditor) 2009-04-01 17:58:20 +00:00