Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# deMapCompile.hpp

Go to the documentation of this file.

    00001 ///////////////////////////////////////////////////////////////////////////////
    00002 /// @file map2dworld.hpp
    00003 ///
    00004 /// @brief Loader for Quake-style MAP files
    00005 ///
    00006 /// @author Assassin
    00007 ///
    00008 /// This file is the intellectual property of Novus Delta, LLC.. Usage of the
    00009 /// contents of this file is subject to the Destiny3D Member License which
    00010 /// can be found at http://www.destiny3d.com.  Any other usage is prohibited.
    00011 ///
    00012 /// This file is distributed "AS IS" without warranty of any kind.  Novus
    00013 /// Delta, LLC. does not guarantee the fitness of the contents of this file
    00014 /// for any particular purpose.
    00015 ///
    00016 /// Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved.
    00017 ///
    00018 /// <hr>
    00019 ///                                 Change History
    00020 /// <hr>
    00021 ///
    00022 /// @date Dec 2003
    00023 /// @author Assassin
    00024 /// @remarks Shifted into external CLI tool
    00025 ///
    00026 ///////////////////////////////////////////////////////////////////////////////
    00027
    00028 #ifndef MAP2DWORLD_HPP
    00029 #define MAP2DWORLD_HPP
    00030
    00031 #include "deMapLoader.hpp"
    00032
    00033 class IdeSceneABT;
    00034
    00035 namespace deMapConverter
    00036 {
    00037     struct ClippedBrush_t
    00038     {
    00039         deTArray<Face_t*>   mFaces;
    00040         deAABB              BBox;
    00041     };
    00042
    00043     // extern
    00044     Entity_t* FindEntityNamed(FullData_t * pData, const deString2& name);
    00045     deString2 GetEntityData(Entity_t* pEntity, deString2 name);
    00046     void WeldVertices(deTArray<ClippedBrush_t>& clippedBrushes);
    00047     void CopyBrush(ClippedBrush_t& target, const Brush_t& source);
    00048     void ClipBrush(ClippedBrush_t& clipBrush, const Brush_t& planeBrush, bool bClipOnPlane);
    00049     void LoadMAP(const char* filename, deDouble Scale, IdeRenderTexture * DefaultTex,
    00050         bool doUnion, bool doWeld, FullData_t& outData);
    00051 }
    00052
    00053
    00054 #endif // MAP2DWORLD_HPP