OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 19 matching lines...) Expand all Loading... |
30 */ | 30 */ |
31 | 31 |
32 | 32 |
33 #ifndef O3D_IMPORT_CROSS_PRECOMPILE_H_ | 33 #ifndef O3D_IMPORT_CROSS_PRECOMPILE_H_ |
34 #define O3D_IMPORT_CROSS_PRECOMPILE_H_ | 34 #define O3D_IMPORT_CROSS_PRECOMPILE_H_ |
35 | 35 |
36 #ifdef OS_WIN | 36 #ifdef OS_WIN |
37 #include <windows.h> | 37 #include <windows.h> |
38 #include <shellapi.h> | 38 #include <shellapi.h> |
39 #include <stdlib.h> | 39 #include <stdlib.h> |
40 #include <d3dx9.h> | |
41 #endif | 40 #endif |
42 | 41 |
43 #ifdef __cplusplus | 42 #ifdef __cplusplus |
44 | 43 |
| 44 #if defined(RENDERER_D3D9) |
| 45 #include <d3dx9.h> |
| 46 #endif // defined(RENDERER_D3D9) |
| 47 |
45 #if defined(RENDERER_GL) | 48 #if defined(RENDERER_GL) |
46 #include <GL/glew.h> | 49 #include <GL/glew.h> |
47 #if defined(OS_WIN) | 50 #if defined(OS_WIN) |
48 #include <GL/wglew.h> | 51 #include <GL/wglew.h> |
49 #endif | 52 #endif |
50 #endif // defined(RENDERER_GL) | 53 #endif // defined(RENDERER_GL) |
51 | 54 |
52 #include <Cg/cg.h> | 55 #include <Cg/cg.h> |
53 #include <Cg/cgGL.h> | 56 #include <Cg/cgGL.h> |
54 #include <FCollada.h> | 57 #include <FCollada.h> |
55 #include <FCDocument/FCDocument.h> | 58 #include <FCDocument/FCDocument.h> |
56 #include <FCDocument/FCDocumentTools.h> | 59 #include <FCDocument/FCDocumentTools.h> |
57 #include <FCDocument/FCDAnimated.h> | 60 #include <FCDocument/FCDAnimated.h> |
58 #include <FCDocument/FCDAnimationCurve.h> | 61 #include <FCDocument/FCDAnimationCurve.h> |
59 #include <FCDocument/FCDAnimationKey.h> | 62 #include <FCDocument/FCDAnimationKey.h> |
60 #include <FCDocument/FCDEffect.h> | 63 #include <FCDocument/FCDEffect.h> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 #include <vector> | 100 #include <vector> |
98 using std::min; | 101 using std::min; |
99 using std::max; | 102 using std::max; |
100 #endif | 103 #endif |
101 | 104 |
102 #include <sstream> | 105 #include <sstream> |
103 | 106 |
104 #endif // __cplusplus | 107 #endif // __cplusplus |
105 | 108 |
106 #endif // O3D_IMPORT_CROSS_PRECOMPILE_H_ | 109 #endif // O3D_IMPORT_CROSS_PRECOMPILE_H_ |
OLD | NEW |