File tree Expand file tree Collapse file tree 15 files changed +82
-22
lines changed
Expand file tree Collapse file tree 15 files changed +82
-22
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class NxCapsuleForceFieldShapeDesc;
3232class NxCapsuleShape ;
3333class NxCapsuleShapeDesc ;
3434class NxCCDSkeleton ;
35+ class NxContactStreamIterator ;
3536class NxConvexMesh ;
3637class NxConvexMeshDesc ;
3738class NxConvexForceFieldShape ;
@@ -121,11 +122,16 @@ class NxSoftBodyDesc;
121122class NxSoftBodyMesh ;
122123class NxSoftBodyMeshDesc ;
123124
124- enum NxSDKCreateError;
125- enum NxAssertResponse;
126- enum NxErrorCode;
127- enum NxTriggerFlag;
128- enum NxHeightFieldAxis;
125+ enum NxAssertResponse {
126+ NX_AR_CONTINUE,
127+ NX_AR_IGNORE,
128+ NX_AR_BREAKPOINT
129+ };
130+
131+ enum NxControllerType {
132+ NX_CONTROLLER_CAPSULE,
133+ NX_CONTROLLER_FORCE_DWORD = 0x7fffffff
134+ };
129135
130136template <class T > class NxUserEntityReport ;
131137
Original file line number Diff line number Diff line change 1919#ifndef _ODE_CONFIG_H_
2020#define _ODE_CONFIG_H_
2121
22- #define dSINGLE 1
23- #define ODE_PLATFORM_WINDOWS
22+ #define ODE_PLATFORM_WINDOWS
2423
2524#if !defined(ODE_API )
2625 #define ODE_API
Original file line number Diff line number Diff line change 2020#ifndef WINDOWS_H
2121#define WINDOWS_H
2222
23+ #include < wtypes.h>
24+
25+ #ifdef _WIN64
26+ typedef int HALF_PTR;
27+ typedef long long INT_PTR;
28+ typedef long long LONG_PTR;
29+ typedef unsigned long long UINT_PTR;
30+ typedef unsigned long long ULONG_PTR;
31+ #else
32+ typedef short HALF_PTR;
33+ typedef int INT_PTR;
34+ typedef long LONG_PTR;
35+ typedef unsigned int UINT_PTR;
36+ typedef unsigned long ULONG_PTR;
37+ #endif
38+
2339// http://msdn.microsoft.com/en-us/library/cc230309.aspx
2440typedef bool BOOL;
25- typedef long DWORD;
41+ typedef unsigned long DWORD;
2642typedef long LONG;
2743typedef long UINT;
2844typedef unsigned long ULONG;
29- typedef signed long long LONGLONG;
45+ typedef long long LONGLONG;
3046typedef long HRESULT;
3147typedef int CRITICAL_SECTION;
32- typedef int HANDLE;
33- typedef int HGLOBAL;
34- typedef int HWAVEIN;
3548typedef void *LPSTR;
3649typedef void *LPWAVEHDR;
50+ typedef void *PVOID;
3751typedef void *LPVOID;
52+ typedef PVOID HANDLE;
53+ typedef HANDLE HGLOBAL;
54+ typedef HANDLE HWAVEIN;
55+ typedef HANDLE HWND;
3856typedef void *DWORD_PTR;
39- typedef unsigned short WCHAR;
57+ typedef UINT_PTR WPARAM;
58+ typedef LONG_PTR LPARAM;
59+ typedef wchar_t WCHAR;
4060typedef WCHAR *BSTR;
4161typedef struct _MediaType AM_MEDIA_TYPE;
4262typedef struct _VIDEO_STREAM_CONFIG_CAPS VIDEO_STREAM_CONFIG_CAPS;
@@ -49,10 +69,6 @@ typedef struct _FILTERKEYS FILTERKEYS;
4969
5070#define WINAPI
5171
52- union LARGE_INTEGER {
53- long long QuadPart;
54- };
55-
5672class IGraphBuilder ;
5773class ICaptureGraphBuilder2 ;
5874class IBaseFilter ;
Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ struct timeval ;
Original file line number Diff line number Diff line change 22#define _WINSOCK2API_
33#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
44
5- typedef int SOCKET ;
5+ #include <wtypes.h>
6+
7+ typedef unsigned long SOCKET ;
68
79struct sockaddr_in ;
810
You can’t perform that action at this time.
0 commit comments