Commit Graph

70 Commits

Author SHA1 Message Date
rdb c6ed4e1836 general: don't cast to regular pointer when returning a PointerTo
This is inefficient because it induces an unnecessary ref()/unref() pair when we just need to move the pointer out of the function.  Thanks to 23128e4695, we can now move between related pointer types, making the .p() hack unnecessary.
2018-07-08 21:40:58 +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 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
Sam Edwards 52e7c952b3 putil: Rename config_util to config_putil 2018-05-14 02:36:42 -06:00
rdb dc09e28ed9 Also accept a .gz wherever a .pz file is accepted 2016-04-29 16:54:25 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb bee278e8d1 Fix missing return statement 2014-08-21 18:03:32 +00:00
David Rose b3b2308c6c load obj files directly into PandaNodes for performance 2013-01-04 00:35:42 +00:00
David Rose 3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
David Rose 6911c18a58 fix bam cache issue with ptloader files 2012-01-31 20:30:43 +00:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
rdb 19e73932d2 add assimp stuff 2011-05-22 15:47:20 +00:00
David Rose ca514b559b add -points, fix some obj2egg issues 2010-12-14 22:18:11 +00:00
David Rose 70d9503dd0 bare-bones obj2egg in C++ 2010-12-07 22:22:11 +00:00
rdb 688fdbbf1a Fix for Windows 2010-11-14 13:01:22 +00:00
rdb 38df619956 Work around bug in OSX 10.4 2010-11-13 13:23:16 +00:00
rdb cf217344aa No longer needed, I got fcollada working correctly 2009-04-14 16:31:28 +00:00
rdb 0598fc84c3 Disable fcollada in ptloader on windows until we resolved static-init issues 2009-03-30 11:45:29 +00:00
David Rose 6203d9e7d1 protect include under HAVE_FCOLLADA 2009-01-06 20:52:24 +00:00
rdb 40aad1a910 FCollada changes to ptloader 2009-01-06 18:46:11 +00:00
David Rose 26caa4da86 pgraphnodes 2008-11-06 01:20:18 +00:00
David Rose cfbbd6338f oops, pnmtext requires freetype 2008-06-12 15:43:42 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose e13a9b6d42 new dependencies on audio 2007-09-04 15:52:59 +00:00
David Rose 7ffcca7b68 build on osx 2007-08-10 19:06:42 +00:00
David Rose 426ac19e1a add USE_PACKAGES cg where appropriate 2007-08-06 17:53:25 +00:00
David Rose 76651e52e2 build on osx 2007-03-08 00:11:59 +00:00
David Rose 4a85d9c724 build on OSX 2006-10-12 20:55:54 +00:00
David Rose d2a94c5bc1 add BamCacheRecord to LoaderFileType 2006-06-20 00:23:51 +00:00
David Rose 7494449423 support skeleton/channels distinction 2006-01-31 04:49:12 +00:00
David Rose 6d0b7f4344 a bit more .pz support 2006-01-26 15:03:40 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
David Rose d9b6585a78 ptloader-units 2005-10-10 16:54:29 +00:00
David Rose ce4e89c475 LoaderOptions, supporting auto-converting animation from maya filess 2005-10-05 22:35:23 +00:00
David Rose bc0d509090 bam 5.0, new Geom implementation is now official 2005-06-30 17:42:21 +00:00
David Rose ff6b6dad89 use PT(EggData) instead of concrete EggData 2005-03-14 22:52:37 +00:00
David Rose 2a39759b85 fix PandaSystem.hasSystem() etc. 2005-02-19 00:00:47 +00:00
David Rose 246e640459 add prc:c 2004-11-30 01:36:10 +00:00
David Rose fc74bc81f0 x2egg now uses native parser 2004-10-13 21:39:35 +00:00
Mike Goslin a740c32860 drose: ptloader now links with dx 2004-10-05 18:40:45 +00:00
David Rose 7d2b0346ac begin work on xfile parser 2004-10-04 03:09:08 +00:00
David Rose 8ecf040e27 resurrect x converter 2004-10-02 15:38:25 +00:00
David Rose c5dc6f45c7 port vrml2egg from DWDTOOL 2004-10-01 23:20:09 +00:00
David Rose fedbdb47cb generate normals when needed 2004-05-04 23:33:59 +00:00
David Rose 877a7b9cea add dxf2egg 2004-05-04 21:04:20 +00:00
Dave Schuyler 26ece6b730 lots of little changes for os x 2004-04-02 02:27:11 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00