Commit Graph

20 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 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 167c6dcafa distributed: Change the message numbers to match Astron's
I imagine very few Panda3D users depend on the message numbers having
particular values. The ones removed belonged to Disney's OTP system,
which hasn't been used by anybody in over 4 years.

At any rate, old code should continue to work, just at the cost of
compatibility between clients and servers running different P3D versions.
2018-02-23 16:35:50 -07:00
rdb 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
David Rose 33398d9713 set_repository() and set_clock_delta() should be instance methods, not static class methods 2011-12-09 19:38:29 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 4c3e9643f3 raise ValueError on out-of-range 2009-01-26 19:13:54 +00:00
Justin Butler bdd673f062 Additional needed files to fix POTCO-5271 2008-10-13 22:22:44 +00:00
Justin Butler 7f9a509f04 Smooth object movement fix for pirates. Added a zoneId value that is sent along with position to better sync position and location for those that need it. 2008-10-10 21:05:46 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 711e1faaa6 fix error message to display the numbers that actually caused the problem 2007-11-09 21:38:13 +00:00
Darren Ranalli 701cfb9821 use real time instead of frame time for position updates, make sure sign is extended to 32 bits 2007-08-09 03:49:34 +00:00
David Rose 1ca01f215c fixes to smoothing 2007-03-22 20:35:54 +00:00
David Rose 57338ee24d better windows tau support; better threaded DeletedChain support; beginning PipelineReader classes 2006-04-20 04:03:16 +00:00
Roger Hughston 82fa7ab1e4 Changes to support messaging to multi target channels 2005-07-07 00:10:57 +00:00
David Rose eb8f9aef49 HAVE_PYTHON 2005-07-06 15:05:21 +00:00
David Rose 9e60c303b7 add setSmZ() 2005-01-13 00:24:19 +00:00
David Rose 66c6df9d92 more verbose error when out of range 2004-10-14 22:20:51 +00:00
David Rose 157b9feb5f move setSmPos() etc. into C++ 2004-09-06 23:32:17 +00:00