Commit Graph

68 Commits

Author SHA1 Message Date
Sam Edwards a9dfd8352e general: Distinguish local/system includes
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>

This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
rdb 842667fd1a physx: fix missing include
[skip ci]
2018-11-04 15:26:00 +01:00
Sam Edwards 4695557a5d general: Don't require BUILDING_* for static builds 2018-08-31 23:54:32 -06:00
rdb 835aab5424 physx: fix compiler errors 2018-06-15 18:05:41 +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
rdb 8a9d83b604 physx: fix compile error 2018-06-04 17:28:13 +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
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
rdb dd2806c8bd Mark constructors 'explicit' for which coercion makes no sense 2017-11-06 19:47:38 +01:00
rdb 4ed199cece Fix various compile warnings and a few code consistency issues 2017-01-09 20:36:53 +01:00
rdb f35a7612e5 Fix interrogate error with PhysX 2016-07-03 09:20:55 +02:00
rdb 4ace5b5bc9 Fix compilation issues 2016-03-16 14:04:15 +01:00
rdb 2ee977dd3e Fix PhysX compile error 2016-03-16 10:32:47 +01: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 a819e9055b Merge branch 'release/1.9.x' 2015-11-25 23:42:36 +01:00
rdb 2abe2df1b4 Add dummy return values to keep MSVC happy 2015-11-25 02:53:56 +01:00
rdb f6b66fc5db Fix PhysX compile issues on Mac 2015-11-25 02:01:07 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 38d02fadf9 Fix various interrogate issues with parsing PhysX headers 2015-03-23 19:27:29 +01:00
rdb 9184fe71a9 vectors and matrices should be passed by reference. Fixes compile error on 32-bit windows 2014-09-15 14:39:11 +00:00
rdb 607bdac3dc Add missing EXPCL_PANDAPHYSX symbols 2014-02-20 22:53:16 +00:00
rdb 5463752f8e 64-bit windows 2013-10-07 16:51:46 +00:00
enn0x b309198210 PhysX: adding controller report callbacks. 2012-11-27 23:32:59 +00:00
enn0x ae4c5cb5e9 Additions to PhysX CCD support. 2012-05-01 09:03:11 +00:00
enn0x ad54aff016 Exposed CCD for PhysX. 2012-04-30 22:45:12 +00:00
enn0x 88ac4f920e Changed imports from 'lpoint' etc. to 'luse' 2011-12-17 20:54:38 +00:00
David Rose 622c047344 several USE_PACKAGES oopses 2011-12-12 22:53:39 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
enn0x 5430833ef4 Fixed bug with raycasts and 128-bit groups masks. 2011-08-04 21:54:16 +00:00
David Rose 87ebb4f32c fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings 2011-06-17 18:57:04 +00:00
rdb 2ae5a103ec Oops, remove debug message I accidentally checked in 2010-11-17 17:32:16 +00:00
rdb 95b8f46895 Fix crash on 32/64-bits Linux with the 2.8.3.3 SDK 2010-11-17 17:28:14 +00:00
rdb 0d12ddf3e9 OSX support for the PhysX SDK 2010-11-17 15:35:40 +00:00
rdb f05831d24d Improvements. Too lazy to describe them (pay me enough and I'll write a book about these changes) 2010-11-17 12:17:41 +00:00
enn0x f13c9097af Removed silly outputs for debugging purposes. 2010-11-02 23:39:44 +00:00
enn0x bca6077f24 Fixed misleading #ifdef in physxEnums.h 2010-11-02 06:26:30 +00:00
rdb 4a74961882 fix ppremake compilation error with soft body mesh code 2010-10-25 09:45:26 +00:00
enn0x e2093b1c2d Moving to PhysX SDK 2.8.4 (win only), and added first experimental SoftBody code. 2010-10-17 08:09:48 +00:00
rdb 754cb8e4bc Changes to build PhysX support on 64-bits Linux 2010-10-01 16:23:16 +00:00
enn0x 39ffe108c3 Fixed bug with releasing PhysxController (get_actor got called after unlink). 2010-07-27 05:24:17 +00:00
enn0x f8601ef179 Added move_global_* methods to PhysxActor 2010-07-06 17:32:44 +00:00
enn0x 955b03dff9 Refactor debug names, this time using C++ strings 2010-06-30 21:44:12 +00:00
enn0x 2b1f43f5d8 Fixing compile error on Linux. 2010-06-29 18:20:10 +00:00
enn0x 082e0781ac Added 'is_deleted_a/b' methods to PhysxContactPair, to check if actors are already deleted and thus invalid 2010-06-28 21:24:03 +00:00
enn0x 76c3f1268b Fixed bug with internal debug names getting lost. 2010-06-28 18:22:19 +00:00
enn0x 8dd0b6ca96 Cloth simulation and rendering. No tearing yet. 2010-04-07 18:42:06 +00:00
enn0x 05c8023f55 Fixing broken build, and undoing previous quickfix. 2010-03-28 21:25:51 +00:00