Yes I did it again ;)

added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Kent
--
mein@cs.umn.edu
This commit is contained in:
Kent Mein
2002-11-25 09:53:07 +00:00
parent d44f2c6dcc
commit 0fbadc8eb7
237 changed files with 977 additions and 66 deletions

View File

@@ -39,6 +39,10 @@
#include "ACT_Action.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
ACT_Action::ACT_Action(const STR_String& name, bool applied)
: m_name(name), m_applied(applied)

View File

@@ -37,6 +37,10 @@
* @date April, 25, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "ACT_ActionC-Api.h"
#include "ACT_ActionStack.h"

View File

@@ -37,6 +37,10 @@
* @date March 31, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "ACT_ActionStack.h"

View File

@@ -37,6 +37,10 @@
* @date March 31, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "ACT_ActionC-Api.h"
#include "TestAction.h"
@@ -80,4 +84,4 @@ int main(int argc, char *argv[])
ACT_ActionStackRedo(stack);
return 0;
}
}

View File

@@ -39,6 +39,10 @@
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "TestAction.h"

View File

@@ -37,6 +37,10 @@
* @date March 31, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "ACT_ActionStack.h"
#include "TestAction.h"
@@ -80,4 +84,4 @@ int main()
testStack.redo();
return 0;
}
}

View File

@@ -43,6 +43,10 @@
#ifndef __BMF_API_H
#define __BMF_API_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -39,6 +39,10 @@
#ifndef __BMF_FONTS_H
#define __BMF_FONTS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_Settings.h"
typedef enum

View File

@@ -39,6 +39,10 @@
#ifndef __BMF_SETTINGS_H
#define __BMF_SETTINGS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* This font is included always */
#define BMF_INCLUDE_HELV10 1

View File

@@ -37,6 +37,10 @@
* Implementation of the API of the OpenGL bitmap font library.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_Api.h"
#include "BMF_BitmapFont.h"

View File

@@ -37,6 +37,10 @@
#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32) || defined(__APPLE__)
#ifdef WIN32
#if !defined(__CYGWIN32__)

View File

@@ -38,6 +38,10 @@
#ifndef __BMF_BITMAP_FONT_H
#define __BMF_BITMAP_FONT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
/**

View File

@@ -38,6 +38,10 @@
#ifndef __BMF_FONTDATA_H__
#define __BMF_FONTDATA_H__
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct {
signed char width, height;
signed char xorig, yorig;

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_HELV12

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_HELVB10

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_HELVB12

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_HELVB14

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_HELVB8

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_SCR12

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_SCR14

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "BMF_FontData.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BMF_FontData.h"
#include "BMF_Settings.h"
#if BMF_INCLUDE_SCR15

View File

@@ -40,6 +40,10 @@
#include <iostream>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32) || defined(__APPLE__)
#ifdef WIN32
#include <windows.h>

View File

@@ -33,6 +33,11 @@
#define CSG_BOOLEANOPS_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* @section Interface structures for CSG module.
* This interface falls into 2 categories.

View File

@@ -33,6 +33,10 @@
#define NAN_INCLUDED_CSGException_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// stick in more error types as you think of them
enum BSP_ExceptionType{

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGHelper.h"
#include "BSP_CSGMesh.h"

View File

@@ -33,6 +33,11 @@
#define BSP_CSGHELPER_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class BSP_CSGMesh;
class BSP_MeshFragment;

View File

@@ -33,6 +33,11 @@
#define BSP_CSGISplitter_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class BSP_MeshFragment;
class BSP_CSGMesh;

View File

@@ -30,6 +30,9 @@
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGMesh.h"
#include "MT_assert.h"

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_BSP_CSGMesh_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_MeshPrimitives.h"
#include "MEM_SmartPtr.h"
#include "MEM_RefCountPtr.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGMeshBuilder.h"

View File

@@ -33,6 +33,11 @@
#define BSP_CSGMeshBuilder_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../extern/CSG_BooleanOps.h"
#include "BSP_CSGMesh.h"
#include "MEM_NonCopyable.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGMeshSplitter.h"
#include "BSP_CSGMesh.h"

View File

@@ -33,6 +33,11 @@
#define BSP_CSGMeshSplitter_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class BSP_MeshFragment;
class MT_Plane3;
class BSP_CSGMesh;

View File

@@ -33,6 +33,11 @@
#define BSP_CSGMesh_CFIterator_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGMesh.h"
#include "../extern/CSG_BooleanOps.h"
/**

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGNCMeshSplitter.h"
#include "BSP_CSGMesh.h"

View File

@@ -33,6 +33,11 @@
#define BSP_CSGNCMeshSplitter_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class BSP_MeshFragment;
class MT_Plane3;
class BSP_CSGMesh;

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGUserData.h"

View File

@@ -33,6 +33,11 @@
#define BSP_CSGUserData_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <vector>
/**

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_CSGMesh.h"
#include "BSP_FragNode.h"

View File

@@ -33,6 +33,11 @@
#define BSP_FragNode_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_FragTree.h"
#include "BSP_MeshFragment.h"
#include "MT_Plane3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_FragTree.h"
#include "BSP_FragNode.h"

View File

@@ -33,6 +33,11 @@
#define BSP_FragTree_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class BSP_FragNode;
#include "MEM_SmartPtr.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_MeshFragment.h"
#include "BSP_CSGMesh.h"

View File

@@ -33,9 +33,15 @@
#define NAN_INCLUDED_BSP_MeshFragment_h
#define BSP_SPLIT_EPSILON MT_Scalar(1e-5)
#include <vector>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_MeshPrimitives.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_MeshPrimitives.h"
#include "MT_assert.h"

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_BSP_MeshPrimitives
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "CTR_TaggedIndex.h"
#include "MT_Vector3.h"
#include "MT_Plane3.h"

View File

@@ -32,6 +32,11 @@
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Plane3.h"
#include "BSP_Triangulate.h"
#include "MT_assert.h"

View File

@@ -51,6 +51,11 @@
#include <vector> // Include STL vector class.
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Point3.h"
#include "BSP_MeshPrimitives.h"

View File

@@ -34,6 +34,10 @@
* Implementation of external api for CSG part of BSP lib interface.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../extern/CSG_BooleanOps.h"
#include "BSP_CSGMesh_CFIterator.h"
#include "BSP_CSGMeshBuilder.h"

View File

@@ -34,6 +34,9 @@
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32) || defined(__APPLE__)
# ifdef WIN32

View File

@@ -33,6 +33,10 @@
#define BSP_GhostTest_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_IEventConsumer.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_MeshDrawer.h"
#include "BSP_TMesh.h"

View File

@@ -33,6 +33,11 @@
#define BSP_MeshDrawer_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class BSP_TMesh;

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_PlyLoader.h"
#include "MT_Vector3.h"
@@ -193,4 +197,4 @@ NewMeshFromFile(
ply_close (ply);
return mesh;
}
}

View File

@@ -33,6 +33,11 @@
#define BSP_PlyLoader_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_SmartPtr.h"
#include "BSP_TMesh.h"

View File

@@ -33,6 +33,11 @@
#define BSP_TMesh_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Point3.h"
#include "MT_Vector3.h"
#include "MT_Transform.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "BSP_GhostTest3D.h"
#include "BSP_TMesh.h"

View File

@@ -71,6 +71,10 @@ extern "C" {
#include <stdio.h>
#include <stddef.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define PLY_ASCII 1 /* ascii PLY file */
#define PLY_BINARY_BE 2 /* binary PLY file, big endian */
#define PLY_BINARY_LE 3 /* binary PLY file, little endian */

View File

@@ -70,6 +70,10 @@ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
#include <string.h>
#include "ply.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
char *type_names[] = {
"invalid",
"char", "short", "int",

View File

@@ -64,6 +64,11 @@
#ifndef CTR_LIST_H
#define CTR_LIST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class CTR_Link {
public:
CTR_Link(

View File

@@ -33,6 +33,10 @@
#define CTR_MAP_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
template <class Key, class Value>
class CTR_Map {
private:

View File

@@ -50,6 +50,11 @@
#include <functional>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
enum {
empty_tag = 0x0,

View File

@@ -30,9 +30,13 @@
*/
#ifndef NAN_INCLUDED_LOD_TaggedSetOps_h
#define NAN_INCLUDED_LOD_TaggedSetOps_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include <vector>

View File

@@ -48,6 +48,11 @@
#define NAN_INCLUDED_CTR_UHeap_h
#include <vector>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
class CTR_UHeapable {

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "CTR_List.h"

View File

@@ -40,6 +40,9 @@
#ifndef NAN_INCLUDED_LOD_decimation_h
#define NAN_INCLUDED_LOD_decimation_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_LOD_DecimationClass_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_SmartPtr.h"
#include "MEM_NonCopyable.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_EdgeCollapser.h"
#include "LOD_ManMesh2.h"

View File

@@ -33,6 +33,11 @@
#define NAN_INCLDUED_EgdeCollapser_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// This is a helper class that collapses edges of a 2 - manifold mesh.
#include "LOD_MeshPrimitives.h"

View File

@@ -38,6 +38,11 @@
#ifndef NAN_INCLUDED_LOD_ExternBufferEditor_h
#define NAN_INCLUDED_LOD_ExternBufferEditor_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_MeshPrimitives.h"
#include <vector>
#include "LOD_ManMesh2.h"

View File

@@ -30,9 +30,12 @@
*/
#include "LOD_ExternNormalEditor.h"
#include <vector>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
using namespace std;

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_ExternNormalEditor_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "LOD_ManMesh2.h"
#include "MT_Vector3.h"

View File

@@ -32,6 +32,9 @@
// implementation of LOD_FaceNormalEditor.h
///////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_FaceNormalEditor.h"

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_FaceNormalEditor_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "LOD_ManMesh2.h"
#include "MT_Vector3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_ManMesh2.h"
#include "MT_assert.h"

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_ManMesh2_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_MeshPrimitives.h"
#include "MEM_SmartPtr.h"
#include <vector>

View File

@@ -33,6 +33,10 @@
#define NAN_INCLUDED_MeshBounds_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_SmartPtr.h"
#include "LOD_MeshPrimitives.h"

View File

@@ -30,9 +30,11 @@
*/
#ifndef NAN_INCLUDED_MeshExceptions_h
#define NAN_INCLUDED_MeshExceptions_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class LOD_MeshException {

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_MeshPrimitives.h"
#include "MT_assert.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_MeshPrimitives_h
#define NAN_INCLUDED_MeshPrimitives_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector3.h"
#include "CTR_TaggedIndex.h"
#include "CTR_UHeap.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_QSDecimator.h"
#include "LOD_ExternBufferEditor.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_LOD_QSDecimator_H
#define NAN_INCLUDED_LOD_QSDecimator_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "LOD_ManMesh2.h"
#include "LOD_ExternNormalEditor.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_LOD_Quadric_h
#define NAN_INCLUDED_LOD_Quadric_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector3.h"
#include "MT_Matrix3x3.h"

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "LOD_QuadricEditor.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "LOD_QuadricEditor.h"
#include "LOD_ExternNormalEditor.h"
// Creation

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_LOD_QuadricEditor_h
#define NAN_INCLUDED_LOD_QuadricEditor_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "LOD_ManMesh2.h"
#include "MT_Vector3.h"

View File

@@ -30,7 +30,9 @@
*/
// implementation of external c api
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../extern/LOD_decimation.h"
#include "LOD_DecimationClass.h"

View File

@@ -30,11 +30,13 @@
*/
#ifndef GHOST_C_API_H
#define GHOST_C_API_H
#include "GHOST_Types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_IEVENT_H_
#define _GHOST_IEVENT_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"
class GHOST_IWindow;

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_IEVENT_CONSUMER_H_
#define _GHOST_IEVENT_CONSUMER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_IEvent.h"
/**

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_ISYSTEM_H_
#define _GHOST_ISYSTEM_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"
#include "GHOST_ITimerTask.h"
#include "GHOST_IWindow.h"

View File

@@ -40,6 +40,9 @@
#ifndef _GHOST_ITIMER_TASK_H_
#define _GHOST_ITIMER_TASK_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_IWINDOW_H_
#define _GHOST_IWINDOW_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "STR_String.h"
#include "GHOST_Rect.h"
#include "GHOST_Types.h"

View File

@@ -40,6 +40,10 @@
#ifndef _H_GHOST_Rect
#define _H_GHOST_Rect
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_TYPES_H_
#define _GHOST_TYPES_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef char GHOST_TInt8;
typedef unsigned char GHOST_TUns8;
typedef short GHOST_TInt16;

View File

@@ -39,6 +39,11 @@
#include "GHOST_Buttons.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GHOST_Buttons::GHOST_Buttons()
{

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_BUTTONS_H_
#define _GHOST_BUTTONS_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"

View File

@@ -40,6 +40,10 @@
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "intern/GHOST_Debug.h"
#include "GHOST_C-api.h"
#include "GHOST_ISystem.h"

View File

@@ -37,6 +37,10 @@
* @date October 25, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Debug.h"
#include "GHOST_C-api.h"
#include "GHOST_CallbackEventConsumer.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_CALLBACK_EVENT_CONSUMER_H_
#define _GHOST_CALLBACK_EVENT_CONSUMER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_IEventConsumer.h"
#include "GHOST_C-api.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_DEBUG_H_
#define _GHOST_DEBUG_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#ifdef _DEBUG
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning

View File

@@ -37,8 +37,11 @@
* @date September 21, 2001
*/
#include "GHOST_DisplayManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_DisplayManager.h"
#include "GHOST_Debug.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_DISPLAY_MANAGER_H_
#define _GHOST_DISPLAY_MANAGER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"
#ifdef WIN32

View File

@@ -37,8 +37,11 @@
* @date September 21, 2001
*/
#include "GHOST_DisplayManagerCarbon.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_DisplayManagerCarbon.h"
#include "GHOST_Debug.h"
// We do not support multiple monitors at the moment

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_DISPLAY_MANAGER_CARBON_H_
#define _GHOST_DISPLAY_MANAGER_CARBON_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef __APPLE__
#error Apple only!
#endif // __APPLE__

View File

@@ -37,8 +37,11 @@
* @date September 21, 2001
*/
#include "GHOST_DisplayManagerWin32.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_DisplayManagerWin32.h"
#include "GHOST_Debug.h"
// We do not support multiple monitors at the moment

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_DISPLAY_MANAGER_WIN32_H_
#define _GHOST_DISPLAY_MANAGER_WIN32_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#error WIN32 only!
#endif // WIN32

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "GHOST_DisplayManagerX11.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_DisplayManagerX11.h"
#include "GHOST_SystemX11.h"

View File

@@ -40,6 +40,9 @@
#ifndef _GHOST_DISPLAY_MANAGER_X11_H_
#define _GHOST_DISPLAY_MANAGER_X11_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_DisplayManager.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_EVENT_H_
#define _GHOST_EVENT_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_IEvent.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_EVENT_BUTTON_H_
#define _GHOST_EVENT_BUTTON_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Event.h"
/**

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_EVENT_CURSOR_H_
#define _GHOST_EVENT_CURSOR_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Event.h"
/**

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_EVENT_KEY_H_
#define _GHOST_EVENT_KEY_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Event.h"
/**

View File

@@ -38,11 +38,13 @@
*/
#include "GHOST_EventManager.h"
#include <algorithm>
#include "GHOST_Debug.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GHOST_EventManager::GHOST_EventManager()
{

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_EVENT_MANAGER_H_
#define _GHOST_EVENT_MANAGER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
#endif // WIN32

View File

@@ -38,12 +38,15 @@
*/
#include "GHOST_EventPrinter.h"
#include <iostream>
#include "GHOST_EventKey.h"
#include "GHOST_Debug.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
bool GHOST_EventPrinter::processEvent(GHOST_IEvent* event)
{
bool handled = true;

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_EVENT_PRINTER_H_
#define _GHOST_EVENT_PRINTER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_IEventConsumer.h"
#include "STR_String.h"

View File

@@ -37,6 +37,10 @@
* @date May 7, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_ISystem.h"
#ifdef WIN32

View File

@@ -37,6 +37,10 @@
* @date May 31, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_ModifierKeys.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_MODIFIER_KEYS_H_
#define _GHOST_MODIFIER_KEYS_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Types.h"
struct GHOST_ModifierKeys

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Rect.h"

View File

@@ -37,6 +37,10 @@
* @date May 7, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_System.h"
#include <time.h>

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_SYSTEM_H_
#define _GHOST_SYSTEM_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_ISystem.h"
#include "GHOST_Debug.h"

View File

@@ -37,6 +37,10 @@
* @date May 7, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_SystemCarbon.h"
#include "GHOST_DisplayManagerCarbon.h"

View File

@@ -46,8 +46,11 @@
#include <Carbon/Carbon.h>
#include "GHOST_System.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_System.h"
class GHOST_EventCursor;
class GHOST_EventKey;

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_SYSTEM_CARBON_H_
#define _GHOST_SYSTEM_CARBON_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef __APPLE__
#error Apple OSX only!
#endif // __APPLE__

View File

@@ -37,6 +37,10 @@
* @date May 7, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_SystemWin32.h"

View File

@@ -40,14 +40,18 @@
#ifndef _GHOST_SYSTEM_WIN32_H_
#define _GHOST_SYSTEM_WIN32_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#error WIN32 only!
#endif // WIN32
#include "GHOST_System.h"
#include <windows.h>
#include "GHOST_System.h"
#if defined(__CYGWIN32__)
# define __int64 long long
#endif

View File

@@ -60,6 +60,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_SystemX11.h"
#include "GHOST_WindowX11.h"

View File

@@ -40,12 +40,16 @@
#ifndef _GHOST_SYSTEM_X11_H_
#define _GHOST_SYSTEM_X11_H_
#include "GHOST_System.h"
#include "../GHOST_Types.h"
#include <X11/Xlib.h>
#include <GL/glx.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_System.h"
#include "../GHOST_Types.h"
class GHOST_WindowX11;
/**

View File

@@ -37,6 +37,10 @@
* @date May 31, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_TimerManager.h"
#include <algorithm>

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_TIMER_MANAGER_H_
#define _GHOST_TIMER_MANAGER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
#endif // WIN32

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_TIMER_TASK_H_
#define _GHOST_TIMER_TASK_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_ITimerTask.h"

View File

@@ -37,6 +37,10 @@
* @date May 10, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Window.h"

View File

@@ -40,6 +40,9 @@
#ifndef _GHOST_WINDOW_H_
#define _GHOST_WINDOW_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_IWindow.h"

View File

@@ -37,6 +37,10 @@
* @date May 10, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_WindowCarbon.h"
#include "GHOST_Debug.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_WINDOW_CARBON_H_
#define _GHOST_WINDOW_CARBON_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef __APPLE__
#error Apple OSX only!
#endif // __APPLE__

View File

@@ -37,10 +37,12 @@
* @date May 11, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_WindowManager.h"
#include <algorithm>
#include "GHOST_Debug.h"
#include "GHOST_Window.h"

View File

@@ -40,6 +40,9 @@
#ifndef _GHOST_WINDOW_MANAGER_H_
#define _GHOST_WINDOW_MANAGER_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning

View File

@@ -37,10 +37,12 @@
* @date May 10, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#include "GHOST_WindowWin32.h"
#include <GL/gl.h>
LPCSTR GHOST_WindowWin32::s_windowClassName = "GHOST_WindowClass";

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_WINDOW_WIN32_H_
#define _GHOST_WINDOW_WIN32_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef WIN32
#error WIN32 only!
#endif // WIN32

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "GHOST_WindowX11.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_WindowX11.h"
#include "GHOST_SystemX11.h"
#include "STR_String.h"
#include "GHOST_Debug.h"

View File

@@ -40,6 +40,10 @@
#ifndef _GHOST_WINDOWX11_H_
#define _GHOST_WINDOWX11_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_Window.h"
#include <X11/Xlib.h>
#include <GL/glx.h>

View File

@@ -46,6 +46,10 @@
#include <string.h>
#include <math.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GHOST_C-api.h"
#if defined(WIN32) || defined(__APPLE__)

View File

@@ -44,6 +44,10 @@
#include <iostream>
#include <math.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32) || defined(__APPLE__)
#ifdef WIN32
#include <windows.h>

View File

@@ -31,6 +31,9 @@
#include "Basic.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int min_i(int a, int b) {
return (a<b)?a:b;

View File

@@ -29,6 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int min_i (int a, int b);
int max_i (int a, int b);

View File

@@ -33,6 +33,10 @@
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_guardedalloc.h"
#include "GHOST_C-api.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
char *eventtype_to_string(GHOST_TEventType type);
void event_to_buf(GHOST_EventHandle evt, char buf[128]);

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#if defined(WIN32) || defined(__APPLE__)
#ifdef WIN32

View File

@@ -41,6 +41,10 @@
#include "GL.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_guardedalloc.h"
#include "GHOST_C-api.h"

View File

@@ -33,6 +33,10 @@
#include <math.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_guardedalloc.h"
#include "Basic.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef struct _ScrollBar ScrollBar;

View File

@@ -35,6 +35,10 @@
#include <stdarg.h>
#include <stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_guardedalloc.h"
#include "Util.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void* memdbl (void *mem, int *size_pr, int item_size);
char* string_dup (char *str);

View File

@@ -31,6 +31,9 @@
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_guardedalloc.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
typedef void (*WindowDataHandler)(void *priv, GHOST_EventHandle evt);
typedef struct _WindowData WindowData;

View File

@@ -61,6 +61,10 @@
#ifndef MEM_MALLOCN_H
#define MEM_MALLOCN_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Needed for FILE* */
#include "stdio.h"

View File

@@ -38,6 +38,10 @@
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_guardedalloc.h"
/* --------------------------------------------------------------------- */

View File

@@ -46,6 +46,10 @@
#include <stdlib.h>
#include "MEM_guardedalloc.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
int main (int argc, char *argv[])
{
int verbose = 0;

View File

@@ -74,7 +74,9 @@
#define NAN_INCLUDED_IK_solver_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __cplusplus
extern "C" {

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "IK_CGChainSolver.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_CGChainSolver.h"
#include "IK_Segment.h"
using namespace std;

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "IK_Chain.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_Chain.h"
using namespace std;

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "IK_ConjugateGradientSolver.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_ConjugateGradientSolver.h"
#define EPS 1.0e-10

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "IK_JacobianSolver.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_JacobianSolver.h"
#include "TNT/svd.h"
using namespace std;

View File

@@ -37,6 +37,10 @@
* @author Laurence
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_QChain.h"
using namespace std;

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_QJacobianSolver.h"
#include "TNT/svd.h"

View File

@@ -37,6 +37,10 @@
* @author Laurence
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_QSegment.h"
#include <iostream.h>

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IK_Segment.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define IK_USE_EXPMAP

View File

@@ -37,6 +37,10 @@
* @author Laurence
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_ExpMap.h"
/**

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GlutDrawer.h"
#include "MT_assert.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_GlutDrawer
#define NAN_INCLUDED_GlutDrawer
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "MEM_SmartPtr.h"

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "GlutKeyboardManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GlutKeyboardManager.h"
#include "MT_assert.h"
MEM_SmartPtr<GlutKeyboardManager> GlutKeyboardManager::m_s_instance = MEM_SmartPtr<GlutKeyboardManager>();
@@ -86,4 +89,4 @@ GlutKeyboardManager::
){
delete(m_handler);
}
}

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_GlutKeyboardManager
#define NAN_INCLUDED_GlutKeyboardManager
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "MEM_SmartPtr.h"

View File

@@ -29,8 +29,11 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#include "GlutMouseManager.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GlutMouseManager.h"
#include "MT_assert.h"
MEM_SmartPtr<GlutMouseManager> GlutMouseManager::m_s_instance = MEM_SmartPtr<GlutMouseManager>();

View File

@@ -33,6 +33,11 @@
#define NAN_INCLUDED_GlutMouseManager_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_NonCopyable.h"
#include "MEM_SmartPtr.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_ChainDrawer_h
#define NAN_INCLUDED_ChainDrawer_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../common/GlutDrawer.h"
#include "MyGlutMouseHandler.h"
#include "MyGlutKeyHandler.h"

View File

@@ -30,9 +30,13 @@
*/
#ifndef NAN_INCLUDED_MyGlutKeyHandler_h
#define NAN_INCLUDED_MyGlutKeyHandler_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../common/GlutKeyboardManager.h"
class MyGlutKeyHandler : public GlutKeyboardHandler

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_MyGlutMouseHandler_h
#define NAN_INCLUDED_MyGlutMouseHandler_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../common/GlutMouseManager.h"
#include <GL/glut.h>
#include "IK_solver.h"

View File

@@ -60,6 +60,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_SmartPtr.h"

View File

@@ -41,6 +41,10 @@
#ifndef _H_IMG_Pixmap
#define _H_IMG_Pixmap
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GEN_Types.h"
#include "GEN_Rect.h"

View File

@@ -45,6 +45,11 @@
#ifndef _H_IMG_PixmapRGBA32
#define _H_IMG_PixmapRGBA32
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IMG_Pixmap.h"
#include "IMG_MemPtr.h"
#include "IMG_Color.h"

View File

@@ -43,6 +43,10 @@
#ifndef _H_IMG_Color
#define _H_IMG_Color
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class IMG_ColorRGBA;

View File

@@ -40,6 +40,10 @@
#include <stddef.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* A memory pointer for memory of any type.
* It can be used to avoid memory leaks when allocating memory in constructors.

View File

@@ -38,6 +38,9 @@
* @date March 6, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "../extern/IMG_Pixmap.h"
@@ -82,4 +85,4 @@ IMG_Pixmap::IMG_Pixmap(GEN_TUns32 width, GEN_TUns32 height)
IMG_Pixmap::~IMG_Pixmap()
{
}
}

View File

@@ -38,6 +38,9 @@
* @date March 6, 2001
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "IMG_PixmapRGBA32.h"

View File

@@ -41,6 +41,10 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "blenkey.h" /* external interface */
#include "key_internal.h"

View File

@@ -37,6 +37,10 @@
* Blender Key loader library internal stuff
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "openssl/rand.h"
#include "openssl/rsa.h"
#include "openssl/ripemd.h"

View File

@@ -37,6 +37,10 @@
* Blender Key Read-tester
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -27,6 +27,10 @@
#include<stdio.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "mt19937int.h"
/* Period parameters */

View File

@@ -30,9 +30,13 @@
*/
#ifndef NAN_INCLUDED_NonCopyable_h
#define NAN_INCLUDED_NonCopyable_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* Simple class that makes sure sub classes cannot
* generate standard copy constructors.

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_MEM_RefCountPtr_h
#define NAN_INCLUDED_MEM_RefCountPtr_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.

View File

@@ -40,6 +40,9 @@
#ifndef _H_MEM_REF_COUNTED
#define _H_MEM_REF_COUNTED
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* An object with reference counting.

View File

@@ -41,6 +41,11 @@
#ifndef _H_MEM_REF_COUNTED_C_API
#define _H_MEM_REF_COUNTED_C_API
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/** A pointer to a private object. */
typedef struct MEM_TOpaqueObject* MEM_TObjectPtr;
/** A pointer to a shared object. */

View File

@@ -30,9 +30,12 @@
*/
#ifndef NAN_INCLUDED_MEM_SmartPtr_h
#define NAN_INCLUDED_MEM_SmartPtr_h
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.

View File

@@ -37,8 +37,11 @@
* @date Jun 17, 2001
*/
#include "MEM_RefCountedC-Api.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MEM_RefCountedC-Api.h"
#include "MEM_RefCounted.h"

View File

@@ -64,6 +64,10 @@
#ifndef GEN_LIST_H
#define GEN_LIST_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
class GEN_Link {
public:
GEN_Link() : m_next(0), m_prev(0) {}

View File

@@ -30,9 +30,13 @@
*/
#ifndef GEN_MAP_H
#define GEN_MAP_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
template <class Key, class Value>
class GEN_Map {
private:

View File

@@ -30,9 +30,12 @@
*/
#ifndef INCLUDED_MT_CmMatrix4x4
#define INCLUDED_MT_CmMatrix4x4
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* A 4x4 matrix. This is an OpenGl style matrix (column major) meaning
* that the vector {m[0][0],m[0][1],m[0][2],m[0][3]} is the first column of

View File

@@ -46,6 +46,10 @@
#ifndef MT_MATRIX3X3_H
#define MT_MATRIX3X3_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <MT_assert.h>
#include "MT_Vector3.h"

View File

@@ -39,6 +39,10 @@
#ifndef MT_MATRIX4X4_H
#define MT_MATRIX4X4_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <MT_assert.h>
#include "MT_Vector4.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_MINMAX_H
#define MT_MINMAX_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
template <class T>
inline const T& MT_min(const T& a, const T& b) {
return b < a ? b : a;

View File

@@ -30,9 +30,12 @@
*/
#ifndef GEN_OPTIMIZE_H
#define GEN_OPTIMIZE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef GEN_INLINED
#define GEN_INLINE inline
#else

View File

@@ -30,9 +30,12 @@
*/
#ifndef MT_PLANE3
#define MT_PLANE3
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Tuple4.h"
#include "MT_Point3.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_POINT2_H
#define MT_POINT2_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector2.h"
class MT_Point2 : public MT_Vector2 {

View File

@@ -46,6 +46,10 @@
#ifndef MT_POINT_H
#define MT_POINT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector3.h"
class MT_Point3 : public MT_Vector3 {

View File

@@ -46,6 +46,10 @@
#ifndef MT_QUATERNION_H
#define MT_QUATERNION_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <MT_assert.h>
#include "MT_Vector3.h"

View File

@@ -49,6 +49,10 @@
#include <math.h>
#include <float.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_random.h"
#include "NM_Scalar.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef GEN_STREAM_H
#define GEN_STREAM_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __CUSTOM_STREAM
class MT_OStream

View File

@@ -53,6 +53,10 @@
#ifndef MT_TRANSFORM_H
#define MT_TRANSFORM_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Point3.h"
#include "MT_Matrix3x3.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_Tuple2_H
#define MT_Tuple2_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Stream.h"
#include "MT_Scalar.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_TUPLE3_H
#define MT_TUPLE3_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Stream.h"
#include "MT_Scalar.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_TUPLE4_H
#define MT_TUPLE4_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Stream.h"
#include "MT_Scalar.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_VECTOR2_H
#define MT_VECTOR2_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <MT_assert.h>
#include "MT_Tuple2.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_VECTOR3_H
#define MT_VECTOR3_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <MT_assert.h>
#include "MT_Tuple3.h"

View File

@@ -46,6 +46,10 @@
#ifndef MT_VECTOR4_H
#define MT_VECTOR4_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <MT_assert.h>
#include "MT_Tuple4.h"

View File

@@ -30,9 +30,12 @@
*/
#ifndef MT_ASSERT_H
#define MT_ASSERT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef MT_NDEBUG
#define MT_assert(predicate) ((void)0)

View File

@@ -30,9 +30,12 @@
*/
#ifndef MT_RANDOM_H
#define MT_RANDOM_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <limits.h>
#define MT_RAND_MAX ULONG_MAX

View File

@@ -33,6 +33,10 @@
#include <iostream>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
template <class T>
class NM_Scalar {
public:

View File

@@ -60,6 +60,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_CmMatrix4x4.h"
#include "MT_Vector3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Matrix3x3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Matrix4x4.h"

View File

@@ -60,6 +60,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef GEN_INLINED
#include "MT_Plane3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Point3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Quaternion.h"

View File

@@ -50,6 +50,10 @@
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Transform.h"
void MT_Transform::setValue(const float *m) {

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector2.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector3.h"

View File

@@ -29,6 +29,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_Vector4.h"

View File

@@ -58,6 +58,10 @@
/* When you use this, send an email to: matumoto@math.keio.ac.jp */
/* with an appropriate reference to your work. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "MT_random.h"
/* Period parameters */

View File

@@ -39,6 +39,10 @@
* @date November 11, 2002
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void main(void)
{
}
}

View File

@@ -36,6 +36,11 @@
/* $RCSfile$ */
/* $Revision$ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Jan Walter's stuff */
#include "Python.h"
#include "blender.h"

View File

@@ -40,6 +40,10 @@
/* $RCSfile$ */
/* $Revision$ */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "Python.h"
/************************************/

View File

@@ -40,6 +40,10 @@
#ifndef __STR_HASHSTRING
#define __STR_HASHSTRING
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "STR_String.h"

View File

@@ -40,6 +40,10 @@
#ifndef _STR_String_H_
#define _STR_String_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef STR_NO_ASSERTD
#undef assertd
#define assertd(exp) ((void)NULL)

View File

@@ -41,6 +41,10 @@
#include <stdarg.h>
#include "STR_String.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*-------------------------------------------------------------------------------------------------
Construction / destruction
-------------------------------------------------------------------------------------------------*/