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.
This commit is contained in:
parent
29beb0f043
commit
a9dfd8352e
|
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "stdint.h"
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
* @brief Appends an integer to the GPUCommand.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "fileSpec.h"
|
||||
#include "wstring_encode.h"
|
||||
#include "openssl/md5.h"
|
||||
#include <openssl/md5.h>
|
||||
|
||||
#include <fstream>
|
||||
#include <fcntl.h>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include "get_twirl_data.h"
|
||||
#include "string.h"
|
||||
#include <string.h>
|
||||
|
||||
struct twirl_flip {
|
||||
int _index;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include "is_pathsep.h"
|
||||
#include "wstring_encode.h"
|
||||
|
||||
#include "assert.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@
|
|||
#include <FL/Fl_Window.H>
|
||||
|
||||
#define OPENSSL_NO_KRB5
|
||||
#include "openssl/x509.h"
|
||||
#include "openssl/x509_vfy.h"
|
||||
#include "openssl/pem.h"
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/x509_vfy.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@
|
|||
#include "wstring_encode.h"
|
||||
#include "mkdir_complete.h"
|
||||
|
||||
#include "wx/cmdline.h"
|
||||
#include "wx/filename.h"
|
||||
#include <wx/cmdline.h>
|
||||
#include <wx/filename.h>
|
||||
|
||||
#include "ca_bundle_data_src.c"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,12 +14,12 @@
|
|||
#ifndef P3DCERT_WX_H
|
||||
#define P3DCERT_WX_H
|
||||
|
||||
#include "wx/wx.h"
|
||||
#include <wx/wx.h>
|
||||
|
||||
#define OPENSSL_NO_KRB5
|
||||
#include "openssl/x509.h"
|
||||
#include "openssl/x509_vfy.h"
|
||||
#include "openssl/pem.h"
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/x509_vfy.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include "mkdir_complete.h"
|
||||
#include "wstring_encode.h"
|
||||
#include "xml_helpers.h"
|
||||
#include "openssl/md5.h"
|
||||
#include <openssl/md5.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@
|
|||
#endif
|
||||
|
||||
#define OPENSSL_NO_KRB5
|
||||
#include "openssl/x509.h"
|
||||
#include "openssl/pem.h"
|
||||
#include "openssl/md5.h"
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/md5.h>
|
||||
|
||||
class P3DInstance;
|
||||
class P3DSession;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include "mkdir_complete.h"
|
||||
#include "wstring_encode.h"
|
||||
|
||||
#include "zlib.h"
|
||||
#include <zlib.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <fstream>
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
#include "stdafx.h"
|
||||
#include "P3DActiveX.h"
|
||||
|
||||
#include "comcat.h"
|
||||
#include "strsafe.h"
|
||||
#include "objsafe.h"
|
||||
#include <comcat.h>
|
||||
#include <strsafe.h>
|
||||
#include <objsafe.h>
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@
|
|||
#include "P3DActiveXPropPage.h"
|
||||
#include "PPBrowserObject.h"
|
||||
|
||||
#include "Mshtml.h"
|
||||
#include "atlconv.h"
|
||||
#include "comutil.h"
|
||||
#include <Mshtml.h>
|
||||
#include <atlconv.h>
|
||||
#include <comutil.h>
|
||||
|
||||
#include <strstream>
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#include "PPPandaObject.h"
|
||||
#include "PPInterface.h"
|
||||
#include "get_twirl_data.h"
|
||||
#include "Mshtml.h"
|
||||
#include <Mshtml.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
#include <math.h>
|
||||
#include "afxmt.h"
|
||||
#include <afxmt.h>
|
||||
|
||||
#include "p3d_plugin.h"
|
||||
#include "PPDownloadCallback.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include "P3DActiveXCtrl.h"
|
||||
|
||||
#include <strstream>
|
||||
#include "Mshtml.h"
|
||||
#include <Mshtml.h>
|
||||
|
||||
PPInterface::PPInterface( )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,11 +13,12 @@
|
|||
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "windows.h"
|
||||
#include "PPLogger.h"
|
||||
#include "mkdir_complete.h"
|
||||
#include "wstring_encode.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
std::ofstream PPLogger::m_logfile;
|
||||
bool PPLogger::m_isOpen = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ extern bool has_plugin_thread_async_call;
|
|||
|
||||
#include "npapi.h"
|
||||
#if NP_VERSION_MAJOR == 0 && NP_VERSION_MINOR <= 19
|
||||
#include "npupp.h"
|
||||
#include <npupp.h>
|
||||
#else
|
||||
// Somewhere between version 0.19 and 0.22, Mozilla renamed npupp.h to
|
||||
// npfunctions.h.
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ class CompilationEnvironment:
|
|||
frozenMainCode = """
|
||||
/* Python interpreter main program for frozen scripts */
|
||||
|
||||
#include "Python.h"
|
||||
#include <Python.h>
|
||||
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
#include <locale.h>
|
||||
|
|
@ -386,7 +386,7 @@ error:
|
|||
# The code from frozen_dllmain.c in the Python source repository.
|
||||
# Windows only.
|
||||
frozenDllMainCode = """
|
||||
#include "windows.h"
|
||||
#include <windows.h>
|
||||
|
||||
static char *possibleModules[] = {
|
||||
"pywintypes",
|
||||
|
|
@ -555,9 +555,9 @@ static PyMethodDef nullMethods[] = {
|
|||
"""
|
||||
|
||||
programFile = """
|
||||
#include "Python.h"
|
||||
#include <Python.h>
|
||||
#ifdef _WIN32
|
||||
#include "malloc.h"
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
%(moduleDefs)s
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#if PYTHON_FRAMEWORK
|
||||
#include <Python/Python.h>
|
||||
#else
|
||||
#include "Python.h"
|
||||
#include <Python.h>
|
||||
#endif
|
||||
|
||||
static PyObject *_inP07yttbRf(PyObject *self, PyObject *args);
|
||||
|
|
|
|||
|
|
@ -31,13 +31,13 @@
|
|||
#include "cppSimpleType.h"
|
||||
#include "cppStructType.h"
|
||||
#include "cppExpression.h"
|
||||
#include "vector"
|
||||
#include "cppParameterList.h"
|
||||
#include "algorithm"
|
||||
#include "lineStream.h"
|
||||
|
||||
#include <set>
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
using std::dec;
|
||||
using std::hex;
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
#ifndef INTERFACEMAKERPYTHONNATIVE_H
|
||||
#define INTERFACEMAKERPYTHONNATIVE_H
|
||||
#include "map"
|
||||
#include "set"
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include "dtoolbase.h"
|
||||
|
||||
#include "interfaceMakerPython.h"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
// See PEP 353
|
||||
#define PY_SSIZE_T_CLEAN 1
|
||||
|
||||
#include "Python.h"
|
||||
#include <Python.h>
|
||||
|
||||
/* Python 2.4 */
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
// py_compat.h includes Python.h.
|
||||
#include "py_compat.h"
|
||||
#include "structmember.h"
|
||||
#include <structmember.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#include <ctype.h>
|
||||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#include "openssl/evp.h"
|
||||
#include <openssl/evp.h>
|
||||
#endif
|
||||
|
||||
using std::istream;
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
#ifdef HAVE_OPENSSL
|
||||
|
||||
#include "openssl/rand.h"
|
||||
#include "openssl/evp.h"
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/evp.h>
|
||||
|
||||
// The iteration count is scaled by this factor for writing to the stream.
|
||||
static const int iteration_count_factor = 1000;
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
#ifdef HAVE_OPENSSL
|
||||
|
||||
#include "openssl/evp.h"
|
||||
#include "openssl/pem.h"
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
// Some versions of OpenSSL appear to define this as a macro. Yucky.
|
||||
#undef set_key
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@
|
|||
#include PRC_PUBLIC_KEYS_INCLUDE
|
||||
#endif
|
||||
|
||||
#include "openssl/rsa.h"
|
||||
#include "openssl/err.h"
|
||||
#include "openssl/pem.h"
|
||||
#include "openssl/rand.h"
|
||||
#include "openssl/bio.h"
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/bio.h>
|
||||
|
||||
using std::cerr;
|
||||
using std::string;
|
||||
|
|
|
|||
|
|
@ -24,11 +24,11 @@
|
|||
|
||||
#include <time.h>
|
||||
|
||||
#include "openssl/err.h"
|
||||
#include "openssl/pem.h"
|
||||
#include "openssl/rand.h"
|
||||
#include "openssl/bio.h"
|
||||
#include "openssl/evp.h"
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/bio.h>
|
||||
#include <openssl/evp.h>
|
||||
|
||||
using std::cerr;
|
||||
using std::string;
|
||||
|
|
|
|||
|
|
@ -19,10 +19,11 @@
|
|||
#include "thread.h"
|
||||
#include "urlSpec.h"
|
||||
|
||||
#include "android_native_app_glue.h"
|
||||
|
||||
#include "config_display.h"
|
||||
// #define OPENGLES_1 #include "config_androiddisplay.h"
|
||||
|
||||
#include <android_native_app_glue.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
#ifndef __FMOD_AUDIO_SOUND_H__
|
||||
#define __FMOD_AUDIO_SOUND_H__
|
||||
|
||||
#include <pandabase.h>
|
||||
#include "pandabase.h"
|
||||
|
||||
#include "audioSound.h"
|
||||
#include "reMutex.h"
|
||||
|
|
|
|||
|
|
@ -17,11 +17,12 @@
|
|||
#include "pandabase.h"
|
||||
#ifdef HAVE_RAD_MSS //[
|
||||
|
||||
#include "mss.h"
|
||||
#include "pset.h"
|
||||
#include "lightMutex.h"
|
||||
#include "lightMutexHolder.h"
|
||||
|
||||
#include <mss.h>
|
||||
|
||||
#ifndef UINTa
|
||||
#define UINTa U32
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
#ifdef HAVE_RAD_MSS //[
|
||||
|
||||
#include "audioManager.h"
|
||||
#include "mss.h"
|
||||
#include "pset.h"
|
||||
#include "pmap.h"
|
||||
#include "pdeque.h"
|
||||
|
|
@ -30,6 +29,8 @@
|
|||
#include "conditionVar.h"
|
||||
#include "vector_uchar.h"
|
||||
|
||||
#include <mss.h>
|
||||
|
||||
class MilesAudioSound;
|
||||
|
||||
class EXPCL_MILES_AUDIO MilesAudioManager: public AudioManager {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@
|
|||
|
||||
#include "milesAudioSound.h"
|
||||
#include "milesAudioManager.h"
|
||||
#include "mss.h"
|
||||
|
||||
#include <mss.h>
|
||||
|
||||
/**
|
||||
* A sound file, such as a WAV or MP3 file, that is preloaded into memory and
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
#include "milesAudioSound.h"
|
||||
#include "milesAudioManager.h"
|
||||
#include "mss.h"
|
||||
|
||||
#include <mss.h>
|
||||
|
||||
/**
|
||||
* A MIDI file, preloaded and played from a memory buffer. MIDI files cannot
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
#include "audioSound.h"
|
||||
#include "milesAudioManager.h"
|
||||
#include "mss.h"
|
||||
|
||||
#include <mss.h>
|
||||
|
||||
/**
|
||||
* The base class for both MilesAudioStream and MilesAudioSample.
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@
|
|||
|
||||
#include "milesAudioSound.h"
|
||||
#include "milesAudioManager.h"
|
||||
#include "mss.h"
|
||||
|
||||
#include <mss.h>
|
||||
|
||||
/**
|
||||
* This represents a sound file played by the Miles Sound System, similar to
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@
|
|||
|
||||
#include "config_awesomium.h"
|
||||
#include "awWebCore.h"
|
||||
#include "WebCore.h"
|
||||
|
||||
#include <WebCore.h>
|
||||
|
||||
TypeHandle AwWebCore::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
#ifndef _AWESOMIUM_INCLUDES_H_
|
||||
#define _AWESOMIUM_INCLUDES_H_
|
||||
|
||||
#include "WebCore.h"
|
||||
#include "WebView.h"
|
||||
#include "WebViewListener.h"
|
||||
#include <WebCore.h>
|
||||
#include <WebView.h>
|
||||
#include <WebViewListener.h>
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -16,23 +16,23 @@
|
|||
|
||||
#include "pandabase.h"
|
||||
|
||||
#include "btBulletDynamicsCommon.h"
|
||||
#include <btBulletDynamicsCommon.h>
|
||||
|
||||
#ifndef CPPPARSER
|
||||
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h"
|
||||
#include "BulletCollision/CollisionDispatch/btGhostObject.h"
|
||||
#include "BulletCollision/CollisionDispatch/btManifoldResult.h"
|
||||
#include "BulletCollision/CollisionShapes/btConvexPointCloudShape.h"
|
||||
#include "BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h"
|
||||
#include "BulletCollision/CollisionShapes/btMinkowskiSumShape.h"
|
||||
#include "BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"
|
||||
#include "BulletCollision/Gimpact/btGImpactShape.h"
|
||||
#include "BulletDynamics/Character/btKinematicCharacterController.h"
|
||||
#include "BulletDynamics/Vehicle/btRaycastVehicle.h"
|
||||
#include "BulletSoftBody/btSoftBodyHelpers.h"
|
||||
#include "BulletSoftBody/btSoftBodyInternals.h"
|
||||
#include "BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h"
|
||||
#include "BulletSoftBody/btSoftRigidDynamicsWorld.h"
|
||||
#include <BulletCollision/BroadphaseCollision/btBroadphaseProxy.h>
|
||||
#include <BulletCollision/CollisionDispatch/btGhostObject.h>
|
||||
#include <BulletCollision/CollisionDispatch/btManifoldResult.h>
|
||||
#include <BulletCollision/CollisionShapes/btConvexPointCloudShape.h>
|
||||
#include <BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h>
|
||||
#include <BulletCollision/CollisionShapes/btMinkowskiSumShape.h>
|
||||
#include <BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h>
|
||||
#include <BulletCollision/Gimpact/btGImpactShape.h>
|
||||
#include <BulletDynamics/Character/btKinematicCharacterController.h>
|
||||
#include <BulletDynamics/Vehicle/btRaycastVehicle.h>
|
||||
#include <BulletSoftBody/btSoftBodyHelpers.h>
|
||||
#include <BulletSoftBody/btSoftBodyInternals.h>
|
||||
#include <BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h>
|
||||
#include <BulletSoftBody/btSoftRigidDynamicsWorld.h>
|
||||
#endif
|
||||
|
||||
#endif // __BULLET_INCLUDES_H__
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include "coordinateSystem.h"
|
||||
|
||||
#ifdef OLD_HAVE_IPC
|
||||
#include "ipc_thread.h"
|
||||
#include <ipc_thread.h>
|
||||
#endif
|
||||
|
||||
#include "pmap.h"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
#include "config_downloader.h"
|
||||
|
||||
#include "openSSLWrapper.h" // must be included before any other openssl.
|
||||
#include "openssl/ssl.h"
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
|
|
|
|||
|
|
@ -15,9 +15,10 @@
|
|||
|
||||
#ifdef HAVE_OPENSSL
|
||||
|
||||
#include "ctype.h"
|
||||
#include "httpChannel.h"
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
using std::string;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
#include "httpChannel.h"
|
||||
#include "openSSLWrapper.h" // must be included before any other openssl.
|
||||
#include "openssl/ssl.h"
|
||||
#include "openssl/md5.h"
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/md5.h>
|
||||
#include <time.h>
|
||||
|
||||
using std::ostream;
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
#include "config_pgraph.h"
|
||||
#include "shaderGenerator.h"
|
||||
#ifdef HAVE_CG
|
||||
#include "Cg/cgD3D9.h"
|
||||
#include <Cg/cgD3D9.h>
|
||||
#endif
|
||||
|
||||
#include <mmsystem.h>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#ifdef HAVE_OPENSSL
|
||||
#include "openSSLWrapper.h" // must be included before any other openssl.
|
||||
#include "openssl/md5.h"
|
||||
#include <openssl/md5.h>
|
||||
#endif // HAVE_OPENSSL
|
||||
|
||||
using std::istream;
|
||||
|
|
|
|||
|
|
@ -27,11 +27,11 @@
|
|||
#define OPENSSL_NO_KRB5
|
||||
#endif
|
||||
|
||||
#include "openssl/ssl.h"
|
||||
#include "openssl/rand.h"
|
||||
#include "openssl/err.h"
|
||||
#include "openssl/x509.h"
|
||||
#include "openssl/x509v3.h"
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/x509v3.h>
|
||||
|
||||
// Windows may define this macro inappropriately.
|
||||
#ifdef X509_NAME
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#ifdef HAVE_OPENSSL
|
||||
|
||||
#include "pnotify.h"
|
||||
#include "openssl/evp.h"
|
||||
#include <openssl/evp.h>
|
||||
#include "memoryHook.h"
|
||||
|
||||
using std::string;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include <string.h> // for strstr
|
||||
|
||||
#ifdef HAVE_TAR
|
||||
#include "libtar.h"
|
||||
#include <libtar.h>
|
||||
#include <fcntl.h> // for O_RDONLY
|
||||
#endif // HAVE_TAR
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,9 @@
|
|||
#include "movieTypeRegistry.h"
|
||||
|
||||
extern "C" {
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include "libavutil/avutil.h"
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/avutil.h>
|
||||
}
|
||||
|
||||
#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_FFMPEG)
|
||||
|
|
|
|||
|
|
@ -16,15 +16,15 @@
|
|||
|
||||
#include "ffmpegAudio.h"
|
||||
extern "C" {
|
||||
#include "libavutil/dict.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include <libavutil/dict.h>
|
||||
#include <libavutil/opt.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
}
|
||||
|
||||
#ifdef HAVE_SWRESAMPLE
|
||||
extern "C" {
|
||||
#include "libswresample/swresample.h"
|
||||
#include <libswresample/swresample.h>
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
#include "ffmpegVirtualFile.h"
|
||||
|
||||
extern "C" {
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
|
||||
class FfmpegAudio;
|
||||
|
|
|
|||
|
|
@ -20,11 +20,11 @@
|
|||
#include "ffmpegVideo.h"
|
||||
#include "bamReader.h"
|
||||
extern "C" {
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/pixdesc.h>
|
||||
#ifdef HAVE_SWSCALE
|
||||
#include "libswscale/swscale.h"
|
||||
#include <libswscale/swscale.h>
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ using std::streampos;
|
|||
using std::streamsize;
|
||||
|
||||
extern "C" {
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
}
|
||||
|
||||
#ifndef AVSEEK_SIZE
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
extern "C" {
|
||||
#include "libavformat/avio.h"
|
||||
#include <libavformat/avio.h>
|
||||
}
|
||||
|
||||
struct URLContext;
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
#include "displayInformation.h"
|
||||
|
||||
#if defined(HAVE_CG) && !defined(OPENGLES)
|
||||
#include "Cg/cgGL.h"
|
||||
#include <Cg/cgGL.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
|
|
|||
|
|
@ -25,9 +25,10 @@
|
|||
#include "bamCacheRecord.h"
|
||||
#include "bamReader.h"
|
||||
#include "bamWriter.h"
|
||||
#include "math.h"
|
||||
#include "audioSound.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
TypeHandle MovieTexture::_type_handle;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
#undef howmany
|
||||
#endif
|
||||
|
||||
#include "fftw3.h"
|
||||
#include <fftw3.h>
|
||||
|
||||
// These FFTW support objects can only be defined if we actually have the FFTW
|
||||
// library available.
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#define int32 ode_int32
|
||||
#define uint32 ode_uint32
|
||||
|
||||
#include "ode/ode.h"
|
||||
#include <ode/ode.h>
|
||||
|
||||
// These are the ones that conflict with other defines in Panda. It may be
|
||||
// necessary to add to this list at a later time.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "physxFileStream.h"
|
||||
|
||||
#include "stdio.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "virtualFileSystem.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#define PHYSX_INCLUDES_H
|
||||
|
||||
// This one is safe to include
|
||||
#include "NxVersionNumber.h"
|
||||
#include <NxVersionNumber.h>
|
||||
|
||||
// Platform-specific defines
|
||||
#if defined(_WIN64)
|
||||
|
|
@ -49,15 +49,15 @@
|
|||
|
||||
|
||||
// PhysX headers
|
||||
#include "Nxp.h"
|
||||
#include "NxPhysics.h"
|
||||
#include "NxExtended.h"
|
||||
#include "NxStream.h"
|
||||
#include "NxCooking.h"
|
||||
#include "NxController.h"
|
||||
#include "NxControllerManager.h"
|
||||
#include "NxBoxController.h"
|
||||
#include "NxCapsuleController.h"
|
||||
#include <Nxp.h>
|
||||
#include <NxPhysics.h>
|
||||
#include <NxExtended.h>
|
||||
#include <NxStream.h>
|
||||
#include <NxCooking.h>
|
||||
#include <NxController.h>
|
||||
#include <NxControllerManager.h>
|
||||
#include <NxBoxController.h>
|
||||
#include <NxCapsuleController.h>
|
||||
|
||||
|
||||
#endif // PHYSX_INCLUDES_H
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#include "pStatTimer.h"
|
||||
|
||||
#ifdef SPEEDTREE_OPENGL
|
||||
#include "glew/glew.h"
|
||||
#include <glew/glew.h>
|
||||
#endif // SPEEDTREE_OPENGL
|
||||
|
||||
#ifdef SPEEDTREE_DIRECTX9
|
||||
|
|
|
|||
|
|
@ -18,14 +18,14 @@
|
|||
// headers from the SpeedTree API, needed in this directory.
|
||||
|
||||
#include "speedtree_parameters.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Forest/Forest.h"
|
||||
#include <Core/Core.h>
|
||||
#include <Forest/Forest.h>
|
||||
|
||||
#if defined(SPEEDTREE_OPENGL)
|
||||
#include "Renderers/OpenGL/OpenGLRenderer.h"
|
||||
#include <Renderers/OpenGL/OpenGLRenderer.h>
|
||||
#elif defined(SPEEDTREE_DIRECTX9)
|
||||
#undef Configure
|
||||
#include "Renderers/DirectX9/DirectX9Renderer.h"
|
||||
#include <Renderers/DirectX9/DirectX9Renderer.h>
|
||||
#else
|
||||
#error Unexpected graphics API.
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -21,9 +21,10 @@
|
|||
#include "tinySDLGraphicsPipe.h"
|
||||
#include "graphicsWindow.h"
|
||||
#include "buttonHandle.h"
|
||||
#include "SDL.h"
|
||||
#include "zbuffer.h"
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
/**
|
||||
* This graphics window class is implemented via SDL.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include "zgl.h"
|
||||
#include "string.h"
|
||||
#include <string.h>
|
||||
|
||||
void gl_eval_viewport(GLContext * c) {
|
||||
GLViewport *v = &c->viewport;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#include "compose_matrix.h"
|
||||
#include "config_vision.h"
|
||||
extern "C" {
|
||||
#include "AR/ar.h"
|
||||
#include <AR/ar.h>
|
||||
};
|
||||
|
||||
ARToolKit::PatternTable ARToolKit::_pattern_table;
|
||||
|
|
|
|||
|
|
@ -21,14 +21,14 @@
|
|||
|
||||
// Prevent VRPN from defining this function, which we don't need,
|
||||
// and cause compilation errors in MSVC 2015.
|
||||
#include "vrpn_Configure.h"
|
||||
#include <vrpn_Configure.h>
|
||||
#undef VRPN_EXPORT_GETTIMEOFDAY
|
||||
|
||||
#include "vrpn_Connection.h"
|
||||
#include "vrpn_Tracker.h"
|
||||
#include "vrpn_Analog.h"
|
||||
#include "vrpn_Button.h"
|
||||
#include "vrpn_Dial.h"
|
||||
#include <vrpn_Connection.h>
|
||||
#include <vrpn_Tracker.h>
|
||||
#include <vrpn_Analog.h>
|
||||
#include <vrpn_Button.h>
|
||||
#include <vrpn_Dial.h>
|
||||
|
||||
#ifdef sleep
|
||||
#undef sleep
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
#include "dtool_config.h"
|
||||
#include "pbitops.h"
|
||||
|
||||
#include "psapi.h"
|
||||
#include "powrprof.h"
|
||||
#include <psapi.h>
|
||||
#include <powrprof.h>
|
||||
#include <intrin.h>
|
||||
|
||||
TypeHandle WinGraphicsPipe::_type_handle;
|
||||
|
|
|
|||
|
|
@ -21,16 +21,16 @@
|
|||
|
||||
#include "eggExternalReference.h"
|
||||
|
||||
#include "FCDocument/FCDocument.h"
|
||||
#include "FCDocument/FCDController.h"
|
||||
#include "FCDocument/FCDGeometry.h"
|
||||
#include "FCDocument/FCDSceneNodeTools.h"
|
||||
#include <FCDocument/FCDocument.h>
|
||||
#include <FCDocument/FCDController.h>
|
||||
#include <FCDocument/FCDGeometry.h>
|
||||
#include <FCDocument/FCDSceneNodeTools.h>
|
||||
|
||||
#include "FCDocument/FCDSceneNode.h"
|
||||
#include "FCDocument/FCDTransform.h"
|
||||
#include "FCDocument/FCDAnimated.h"
|
||||
#include "FCDocument/FCDAnimationCurve.h"
|
||||
#include "FCDocument/FCDAnimationKey.h"
|
||||
#include <FCDocument/FCDSceneNode.h>
|
||||
#include <FCDocument/FCDTransform.h>
|
||||
#include <FCDocument/FCDAnimated.h>
|
||||
#include <FCDocument/FCDAnimationCurve.h>
|
||||
#include <FCDocument/FCDAnimationKey.h>
|
||||
|
||||
TypeHandle DaeCharacter::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@
|
|||
#include "epvector.h"
|
||||
|
||||
#include "pre_fcollada_include.h"
|
||||
#include "FCollada.h"
|
||||
#include "FCDocument/FCDSceneNode.h"
|
||||
#include "FCDocument/FCDControllerInstance.h"
|
||||
#include "FCDocument/FCDSkinController.h"
|
||||
#include "FCDocument/FCDGeometryMesh.h"
|
||||
#include <FCollada.h>
|
||||
#include <FCDocument/FCDSceneNode.h>
|
||||
#include <FCDocument/FCDControllerInstance.h>
|
||||
#include <FCDocument/FCDSkinController.h>
|
||||
#include <FCDocument/FCDGeometryMesh.h>
|
||||
|
||||
class DAEToEggConverter;
|
||||
|
||||
|
|
|
|||
|
|
@ -15,12 +15,12 @@
|
|||
#include "config_daeegg.h"
|
||||
#include "fcollada_utils.h"
|
||||
|
||||
#include "FCDocument/FCDocument.h"
|
||||
#include "FCDocument/FCDMaterial.h"
|
||||
#include "FCDocument/FCDEffect.h"
|
||||
#include "FCDocument/FCDTexture.h"
|
||||
#include "FCDocument/FCDEffectParameterSampler.h"
|
||||
#include "FCDocument/FCDImage.h"
|
||||
#include <FCDocument/FCDocument.h>
|
||||
#include <FCDocument/FCDMaterial.h>
|
||||
#include <FCDocument/FCDEffect.h>
|
||||
#include <FCDocument/FCDTexture.h>
|
||||
#include <FCDocument/FCDEffectParameterSampler.h>
|
||||
#include <FCDocument/FCDImage.h>
|
||||
|
||||
#include "filename.h"
|
||||
#include "string_utils.h"
|
||||
|
|
|
|||
|
|
@ -24,12 +24,12 @@
|
|||
#include "pt_EggMaterial.h"
|
||||
|
||||
#include "pre_fcollada_include.h"
|
||||
#include "FCollada.h"
|
||||
#include "FCDocument/FCDGeometryInstance.h"
|
||||
#include "FCDocument/FCDMaterialInstance.h"
|
||||
#include "FCDocument/FCDEffectStandard.h"
|
||||
#include "FCDocument/FCDEffectParameterSampler.h"
|
||||
#include "FCDocument/FCDExtra.h"
|
||||
#include <FCollada.h>
|
||||
#include <FCDocument/FCDGeometryInstance.h>
|
||||
#include <FCDocument/FCDMaterialInstance.h>
|
||||
#include <FCDocument/FCDEffectStandard.h>
|
||||
#include <FCDocument/FCDEffectParameterSampler.h>
|
||||
#include <FCDocument/FCDExtra.h>
|
||||
|
||||
/**
|
||||
* This class is seperated from the converter file because otherwise it would
|
||||
|
|
|
|||
|
|
@ -28,24 +28,24 @@
|
|||
#include "eggSAnimData.h"
|
||||
#include "pt_EggVertex.h"
|
||||
|
||||
#include "FCDocument/FCDAsset.h"
|
||||
#include "FCDocument/FCDocumentTools.h"
|
||||
#include "FCDocument/FCDSceneNode.h"
|
||||
#include "FCDocument/FCDSceneNodeTools.h"
|
||||
#include "FCDocument/FCDGeometry.h"
|
||||
#include "FCDocument/FCDGeometryInstance.h"
|
||||
#include "FCDocument/FCDGeometryPolygons.h"
|
||||
#include "FCDocument/FCDGeometrySource.h"
|
||||
#include "FCDocument/FCDSkinController.h"
|
||||
#include "FCDocument/FCDController.h"
|
||||
#include "FCDocument/FCDControllerInstance.h"
|
||||
#include "FCDocument/FCDMorphController.h"
|
||||
#include "FCDocument/FCDMaterialInstance.h"
|
||||
#include "FCDocument/FCDExtra.h"
|
||||
#include "FCDocument/FCDEffect.h"
|
||||
#include "FCDocument/FCDEffectStandard.h"
|
||||
#include <FCDocument/FCDAsset.h>
|
||||
#include <FCDocument/FCDocumentTools.h>
|
||||
#include <FCDocument/FCDSceneNode.h>
|
||||
#include <FCDocument/FCDSceneNodeTools.h>
|
||||
#include <FCDocument/FCDGeometry.h>
|
||||
#include <FCDocument/FCDGeometryInstance.h>
|
||||
#include <FCDocument/FCDGeometryPolygons.h>
|
||||
#include <FCDocument/FCDGeometrySource.h>
|
||||
#include <FCDocument/FCDSkinController.h>
|
||||
#include <FCDocument/FCDController.h>
|
||||
#include <FCDocument/FCDControllerInstance.h>
|
||||
#include <FCDocument/FCDMorphController.h>
|
||||
#include <FCDocument/FCDMaterialInstance.h>
|
||||
#include <FCDocument/FCDExtra.h>
|
||||
#include <FCDocument/FCDEffect.h>
|
||||
#include <FCDocument/FCDEffectStandard.h>
|
||||
#if FCOLLADA_VERSION >= 0x00030005
|
||||
#include "FCDocument/FCDGeometryPolygonsInput.h"
|
||||
#include <FCDocument/FCDGeometryPolygonsInput.h>
|
||||
#endif
|
||||
|
||||
using std::endl;
|
||||
|
|
|
|||
|
|
@ -23,15 +23,15 @@
|
|||
#include "eggNurbsCurve.h"
|
||||
|
||||
#include "pre_fcollada_include.h"
|
||||
#include "FCollada.h"
|
||||
#include "FCDocument/FCDocument.h"
|
||||
#include "FCDocument/FCDTransform.h"
|
||||
#include "FCDocument/FCDEntityInstance.h"
|
||||
#include "FCDocument/FCDControllerInstance.h"
|
||||
#include "FCDocument/FCDGeometryMesh.h"
|
||||
#include "FCDocument/FCDGeometrySpline.h"
|
||||
#include "FCDocument/FCDMaterial.h"
|
||||
#include "FMath/FMMatrix44.h"
|
||||
#include <FCollada.h>
|
||||
#include <FCDocument/FCDocument.h>
|
||||
#include <FCDocument/FCDTransform.h>
|
||||
#include <FCDocument/FCDEntityInstance.h>
|
||||
#include <FCDocument/FCDControllerInstance.h>
|
||||
#include <FCDocument/FCDGeometryMesh.h>
|
||||
#include <FCDocument/FCDGeometrySpline.h>
|
||||
#include <FCDocument/FCDMaterial.h>
|
||||
#include <FMath/FMMatrix44.h>
|
||||
|
||||
#include "daeMaterials.h"
|
||||
#include "daeCharacter.h"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#define FCOLLADA_UTILS_H
|
||||
|
||||
#include "pre_fcollada_include.h"
|
||||
#include "FCollada.h"
|
||||
#include <FCollada.h>
|
||||
|
||||
// Useful conversion stuff
|
||||
inline LVecBase3d TO_VEC3(FMVector3 v) {
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@
|
|||
#include "dcast.h"
|
||||
#include "pandaVersion.h"
|
||||
|
||||
#include "FCDocument/FCDocument.h"
|
||||
#include "FCDocument/FCDAsset.h"
|
||||
#include "FCDocument/FCDTransform.h"
|
||||
#include <FCDocument/FCDocument.h>
|
||||
#include <FCDocument/FCDAsset.h>
|
||||
#include <FCDocument/FCDTransform.h>
|
||||
|
||||
// Useful conversion stuff
|
||||
#define TO_VEC3(v) (LVecBase3d(v[0], v[1], v[2]))
|
||||
|
|
|
|||
|
|
@ -20,8 +20,8 @@
|
|||
#include "eggTransform.h"
|
||||
|
||||
#include "pre_fcollada_include.h"
|
||||
#include "FCollada.h"
|
||||
#include "FCDocument/FCDSceneNode.h"
|
||||
#include <FCollada.h>
|
||||
#include <FCDocument/FCDSceneNode.h>
|
||||
|
||||
/**
|
||||
* A program to read an egg file and write a DAE file.
|
||||
|
|
|
|||
|
|
@ -18,12 +18,11 @@
|
|||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <crtdbg.h>
|
||||
#include "errno.h"
|
||||
#include <errno.h>
|
||||
|
||||
using std::min;
|
||||
using std::max;
|
||||
|
||||
#include "Max.h"
|
||||
#include "eggGroup.h"
|
||||
#include "eggTable.h"
|
||||
#include "eggXfmSAnim.h"
|
||||
|
|
@ -31,26 +30,25 @@ using std::max;
|
|||
#include "referenceCount.h"
|
||||
#include "pointerTo.h"
|
||||
#include "namable.h"
|
||||
#include "modstack.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include "windef.h"
|
||||
#include "windows.h"
|
||||
#include <windef.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "Max.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iparamm2.h"
|
||||
#include "istdplug.h"
|
||||
#include "iskin.h"
|
||||
#include "maxResource.h"
|
||||
#include "stdmat.h"
|
||||
#include "phyexp.h"
|
||||
#include "surf_api.h"
|
||||
#include "bipexp.h"
|
||||
#include <Max.h>
|
||||
#include <iparamb2.h>
|
||||
#include <iparamm2.h>
|
||||
#include <istdplug.h>
|
||||
#include <iskin.h>
|
||||
#include <stdmat.h>
|
||||
#include <phyexp.h>
|
||||
#include <surf_api.h>
|
||||
#include <bipexp.h>
|
||||
#include <modstack.h>
|
||||
|
||||
#include "eggCoordinateSystem.h"
|
||||
#include "eggGroup.h"
|
||||
|
|
@ -67,6 +65,7 @@ using std::max;
|
|||
#include "maxNodeDesc.h"
|
||||
#include "maxNodeTree.h"
|
||||
#include "maxOptionsDialog.h"
|
||||
#include "maxResource.h"
|
||||
#include "maxToEggConverter.h"
|
||||
|
||||
#define MaxEggPlugin_CLASS_ID Class_ID(0x7ac0d6b7, 0x55731ef6)
|
||||
|
|
|
|||
|
|
@ -30,15 +30,15 @@ using std::min;
|
|||
using std::max;
|
||||
|
||||
#include <stdio.h>
|
||||
#include "Max.h"
|
||||
#include "istdplug.h"
|
||||
#include "stdmat.h"
|
||||
#include "decomp.h"
|
||||
#include "shape.h"
|
||||
#include "simpobj.h"
|
||||
#include "iparamb2.h"
|
||||
#include "iskin.h"
|
||||
#include "modstack.h"
|
||||
#include <Max.h>
|
||||
#include <istdplug.h>
|
||||
#include <stdmat.h>
|
||||
#include <decomp.h>
|
||||
#include <shape.h>
|
||||
#include <simpobj.h>
|
||||
#include <iparamb2.h>
|
||||
#include <iskin.h>
|
||||
#include <modstack.h>
|
||||
|
||||
#include "maxEggLoader.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -25,11 +25,13 @@
|
|||
using std::min;
|
||||
using std::max;
|
||||
|
||||
// MAX includes
|
||||
// local includes
|
||||
#include "maxEggLoader.h"
|
||||
#include "Max.h"
|
||||
#include "maxImportRes.h"
|
||||
#include "istdplug.h"
|
||||
|
||||
// MAX includes
|
||||
#include <Max.h>
|
||||
#include <istdplug.h>
|
||||
|
||||
// panda includes.
|
||||
#include "notifyCategoryProxy.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue