📄 ogrepaginglandscapeprerequisites.h
字号:
/***************************************************************************
OgrePagingLandScapePrerequisites.h - description
-------------------
begin : Sun Oct 26 2003
copyright : (C) 2003 by Jose A Milan
email : spoke2@supercable.es
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef __PagingLandScapePrerequisites_H__
#define __PagingLandScapePrerequisites_H__
#include "OgrePrerequisites.h"
// This will enable the Experimental Visibility test.
//#define _VisibilityCheck
//-----------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------
#include <vector>
#include <map>
namespace Ogre
{
class PagingLandScapeSceneManager;
class PagingLandScapeOptions;
class PagingLandScapeCamera;
class PagingLandScapeRaySceneQuery;
class PagingLandScapeIntersectionSceneQuery;
class PagingLandScapePage;
class PagingLandScapePageManager;
typedef std::vector < PagingLandScapePage * > PagingLandScapePageRow;
typedef std::vector < PagingLandScapePageRow > PagingLandScapePages;
class PagingLandScapeTile;
class PagingLandScapeTileInfo;
class PagingLandScapeTileManager;
typedef std::vector < PagingLandScapeTile * > PagingLandScapeTileRow;
typedef std::vector < PagingLandScapeTileRow > PagingLandScapeTiles;
class PagingLandScapeIndexBuffer;
typedef std::map <uint, IndexData* > IndexMap;
typedef std::vector < IndexData* > IndexArray;
typedef std::vector < IndexMap* > LevelArray;
class PagingLandScapeRenderable;
class PagingLandScapeRenderableManager;
typedef std::vector < PagingLandScapeRenderable* > PagingLandScapeRenderableVector;
class PagingLandScapeData2D;
class PagingLandScapeData2DManager;
typedef std::vector < PagingLandScapeData2D * > PagingLandScapeData2DRow;
typedef std::vector < PagingLandScapeData2DRow > PagingLandScapeData2DPages;
class PagingLandScapeTexture;
class PagingLandScapeTextureManager;
typedef std::vector < PagingLandScapeTexture * > PagingLandScapeTextureRow;
typedef std::vector < PagingLandScapeTextureRow > PagingLandScapeTexturePages;
}
enum Neighbor
{
NORTH = 0,
SOUTH = 1,
EAST = 2,
WEST = 3,
HERE = 4
};
//-----------------------------------------------------------------------
// Windows Settings
//-----------------------------------------------------------------------
#if OGRE_PLATFORM == PLATFORM_WIN32
# ifdef PLUGIN_PAGINGLANDSCAPE2_EXPORTS
# define _OgrePagingLandScapeExport __declspec(dllexport)
# else
# define _OgrePagingLandScapeExport __declspec(dllimport)
# endif
#else
# define _OgrePagingLandScapeExport
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -