Commit Graph

61 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 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
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
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose d3d3df5c5c remove dconfig reference 2009-06-16 18:49:39 +00:00
David Rose bcdab6f3d4 remove texture_path, sound_path, egg_path 2008-11-04 18:25:21 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Chris Brunner 01493c57c3 fix for MSVC9 2008-03-28 02:20:20 +00:00
David Rose 3b03d4f2f9 don't link with pystub 2006-10-16 22:16:24 +00:00
David Rose 572a146c24 untabify 2006-01-13 18:38:07 +00:00
Asad M. Zaman d14c211bc1 purged a output message 2005-11-02 21:30:23 +00:00
David Rose 48c0d216f1 remove debugs 2005-10-12 00:02:48 +00:00
David Rose c4b11604ec fix crash on exit 2005-10-06 00:16:24 +00:00
David Rose 923a4086d8 disambiguate get_transform2d() and get_transform3d() 2005-07-20 23:37:10 +00:00
David Rose e7a79098b6 soft2egg assumes vertices start counting at 1 2005-04-20 22:48:11 +00:00
David Rose 2b6efb57ff whoops, incomplete checkin 2005-03-15 17:13:36 +00:00
David Rose 1489a9304f fix for case of temp-hpr-fix 1 2004-12-14 23:56:26 +00:00
David Rose 246e640459 add prc:c 2004-11-30 01:36:10 +00:00
Asad M. Zaman 88e92bfbf8 fixed a bug regarding dog shorts/skirts models. It happened because FindClosestTriVert was not comparing last vertex...dohhh. Anyway, it is fixed now. 2004-03-09 21:36:32 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 0a184b977f make texture names relative to the output egg file 2004-01-07 21:18:54 +00:00
Asad M. Zaman e1be4d99df fixed the book model on toon-props, re-build the whole tree 2003-12-24 22:36:56 +00:00
Asad M. Zaman 208cb7aa8d this should fix the texture repeat problem on some files 2003-12-23 21:28:37 +00:00
Asad M. Zaman dd6924f10d fixed the telescope model problem. Need to make clean and install in ttmodels with this change 2003-12-23 03:06:32 +00:00
David Rose d353a08dd1 need to use memchr instead of strchr 2003-12-18 04:58:26 +00:00
Asad M. Zaman 835edb8b4a fixes cubes animation with joint-scale named nodes 2003-12-10 00:41:30 +00:00
Asad M. Zaman e1ae6ee0b3 investigated the netmembership function. It is no longer necessary for the new egg files because it is not possible for vertex to assign a joint with 0 membership 2003-12-03 19:41:30 +00:00
Asad M. Zaman e57ef72e2b still some problem I see with soft_cleanup, this version hides it. I will investigate later about this problem 2003-12-03 19:07:10 +00:00
David Rose 61791d1248 need dcast.h 2003-12-03 01:11:40 +00:00
Asad M. Zaman d8e19f716a just a little cleanup: deleted some codes that aren't necessary 2003-12-03 01:08:45 +00:00
Asad M. Zaman d1b2691371 fixed the dogLL pupil not animating problem and and crash bug with earlier morph check in 2003-12-03 01:03:20 +00:00
Asad M. Zaman 9c1088c7a7 added support for morph of vertices 2003-12-02 22:58:56 +00:00
Asad M. Zaman 973d3d81cc fixed a bug where DCAST_INTO_R was returning from make_soft_skin incomplete if an assertion was happening. 2003-12-01 21:15:46 +00:00
Asad M. Zaman 64846e5d86 forgot about MFACE type of polygons 2003-11-28 18:51:50 +00:00
Asad M. Zaman 942ae3e588 cleanup_soft_skin had a bug about hard skinning 0 membership vertices. I took it out, it seems to work better now. 2003-11-26 21:20:36 +00:00
Asad M. Zaman bcba0f6421 matched the same vRepeat condition to texture repeat/clamp as the original soft2egg 2003-11-26 19:30:12 +00:00
David Rose 3cb8d8bba0 fix crash on minnie-1200 2003-11-25 18:31:17 +00:00
David Rose 49f48ae529 reorder #includes to compile correctly 2003-11-25 03:53:32 +00:00
Asad M. Zaman 5cb33c4b2e made a mistake on the earlier bug fix 2003-11-25 03:39:26 +00:00
Asad M. Zaman 5b7bf31d59 bug fix for non textured polygons 2003-11-25 03:13:49 +00:00
Asad M. Zaman c70361e30d ported cleanup_soft_skin which is necessary to hard assign vertices that are not soft assigned or has 0 membership 2003-11-25 00:28:00 +00:00
Asad M. Zaman c2c32a4c2f forgot to check one file in 2003-11-24 18:14:09 +00:00
Asad M. Zaman 09890fb177 fixes a problem with hierarchy 2003-11-21 20:05:00 +00:00