00001 //------------------------------------------------------------------------------ 00002 // Lamp : Open source game middleware 00003 // Copyright (C) 2004 Junpei Ohtani ( Email : junpee@users.sourceforge.jp ) 00004 // 00005 // This library is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU Lesser General Public 00007 // License as published by the Free Software Foundation; either 00008 // version 2.1 of the License, or (at your option) any later version. 00009 // 00010 // This library is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 // Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public 00016 // License along with this library; if not, write to the Free Software 00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 //------------------------------------------------------------------------------ 00019 00020 /** @file 00021 * ランプ基本ヘッダ 00022 * @author Junpee 00023 */ 00024 00025 #ifndef LAMP_BASIC_H_ 00026 #define LAMP_BASIC_H_ 00027 00028 //------------------------------------------------------------------------------ 00029 // DirectX定義 00030 #include <Core/System/DirectXDefinition.h> 00031 00032 // メモリチェッカ 00033 #include <Core/Debug/MemoryChecker.h> 00034 00035 // エラーアウト 00036 #include <Core/Debug/ErrorOutput.h> 00037 00038 // デバッグアウト 00039 #include <Core/Debug/DebugOutput.h> 00040 00041 // アサート 00042 #include <Core/Debug/Assert.h> 00043 00044 // 型定義 00045 #include <Core/System/Types.h> 00046 00047 // 安全な削除 00048 #include <Core/System/SafeDelete.h> 00049 00050 // 限界値 00051 #include <Core/System/Limit.h> 00052 00053 // 数学 00054 #include <Core/System/Math.h> 00055 00056 // 3D数学 00057 #include <Core/System/Math3D.h> 00058 00059 // プリミティブ 00060 #include <Core/Primitive/CorePrimitiveAll.h> 00061 00062 // ジオメトリプリミティブ 00063 #include <Geometry/Primitive/GeometryPrimitiveAll.h> 00064 00065 // Lampコア 00066 #include <Core/System/LampCore.h> 00067 00068 //------------------------------------------------------------------------------ 00069 // Lampライブラリの追加 00070 #ifdef _DEBUG 00071 #pragma comment(lib, "LampDebug.lib") 00072 #else 00073 #pragma comment(lib, "Lamp.lib") 00074 #endif 00075 00076 //------------------------------------------------------------------------------ 00077 // OggVorbisライブラリの追加 00078 #ifdef _DEBUG 00079 // デバッグ情報に関するリンカのワーニングを上手くつぶせなかったので 00080 // リリース版を使用する。リリース版マルチスレッド標準ライブラリを無効にする。 00081 #pragma comment(linker, "/nodefaultlib:libcmt.lib") 00082 #pragma comment(lib, "ogg_static.lib") 00083 #pragma comment(lib, "vorbis_static.lib") 00084 #pragma comment(lib, "vorbisfile_static.lib") 00085 #else 00086 #pragma comment(lib, "ogg_static.lib") 00087 #pragma comment(lib, "vorbis_static.lib") 00088 #pragma comment(lib, "vorbisfile_static.lib") 00089 #endif 00090 00091 //------------------------------------------------------------------------------ 00092 #endif // End of LAMP_BASIC_H_ 00093 //------------------------------------------------------------------------------