| 1 | /* |
|---|
| 2 | ----------------------------------------------------------------------------- |
|---|
| 3 | This source file is part of LEXIExporter |
|---|
| 4 | |
|---|
| 5 | Copyright 2006 NDS Limited |
|---|
| 6 | |
|---|
| 7 | Author(s): |
|---|
| 8 | Mark Folkenberg, |
|---|
| 9 | Bo Krohn |
|---|
| 10 | |
|---|
| 11 | This program is free software; you can redistribute it and/or modify it under |
|---|
| 12 | the terms of the GNU Lesser General Public License as published by the Free Software |
|---|
| 13 | Foundation; either version 2 of the License, or (at your option) any later |
|---|
| 14 | version. |
|---|
| 15 | |
|---|
| 16 | This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 17 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|---|
| 18 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
|---|
| 19 | |
|---|
| 20 | You should have received a copy of the GNU Lesser General Public License along with |
|---|
| 21 | this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
|---|
| 22 | Place - Suite 330, Boston, MA 02111-1307, USA, or go to |
|---|
| 23 | http://www.gnu.org/copyleft/lesser.txt. |
|---|
| 24 | ----------------------------------------------------------------------------- |
|---|
| 25 | */ |
|---|
| 26 | |
|---|
| 27 | #ifndef __stdafx_h__ |
|---|
| 28 | #define __stdafx_h__ |
|---|
| 29 | |
|---|
| 30 | // |
|---|
| 31 | |
|---|
| 32 | #define _CRT_SECURE_NO_DEPRECATE |
|---|
| 33 | |
|---|
| 34 | #ifndef WINVER |
|---|
| 35 | #define WINVER 0x0500 |
|---|
| 36 | #endif |
|---|
| 37 | |
|---|
| 38 | #ifndef _WIN32_WINNT |
|---|
| 39 | #define _WIN32_WINNT 0x0500 |
|---|
| 40 | #endif |
|---|
| 41 | |
|---|
| 42 | #ifndef _WIN32_WINDOWS |
|---|
| 43 | #define _WIN32_WINDOWS 0x0500 |
|---|
| 44 | #endif |
|---|
| 45 | |
|---|
| 46 | #ifndef _WIN32_IE |
|---|
| 47 | #define _WIN32_IE 0x0600 |
|---|
| 48 | #endif |
|---|
| 49 | |
|---|
| 50 | // |
|---|
| 51 | |
|---|
| 52 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers |
|---|
| 53 | #include <windows.h> |
|---|
| 54 | #include <stdlib.h> |
|---|
| 55 | #include <stdio.h> |
|---|
| 56 | #include <commdlg.h> |
|---|
| 57 | #include <shlwapi.h> |
|---|
| 58 | |
|---|
| 59 | // |
|---|
| 60 | |
|---|
| 61 | #include <Ogre.h> |
|---|
| 62 | #include <OgreNoMemoryMacros.h> |
|---|
| 63 | |
|---|
| 64 | #ifdef _DEBUG |
|---|
| 65 | #pragma comment(lib, "OgreMain_d.lib") |
|---|
| 66 | #else |
|---|
| 67 | #pragma comment(lib, "OgreMain.lib") |
|---|
| 68 | #endif |
|---|
| 69 | |
|---|
| 70 | // |
|---|
| 71 | #include "..\res\resource.h" |
|---|
| 72 | |
|---|
| 73 | #include "SharedUtilities.h" |
|---|
| 74 | #include "GDIMetaLib.h" |
|---|
| 75 | #include "LexiIncludes.h" |
|---|
| 76 | #include "LexiMemoryLog.h" |
|---|
| 77 | #include "LexiOgreCore.h" |
|---|
| 78 | #include "LexiDialogProgress.h" |
|---|
| 79 | #include "LexiExportObject.h" |
|---|
| 80 | #include "LexiExportObjectRoot.h" |
|---|
| 81 | |
|---|
| 82 | // |
|---|
| 83 | |
|---|
| 84 | #define NDS_EXPORTER_TITLE "LEXIExporter" |
|---|
| 85 | // Remember to change every release |
|---|
| 86 | #define NDS_EXPORTER_VERSION "1.0.3" |
|---|
| 87 | // Change only at config protocol break |
|---|
| 88 | #define NDS_EXPORTER_CONFIG_VERSION 10002 |
|---|
| 89 | |
|---|
| 90 | |
|---|
| 91 | |
|---|
| 92 | // |
|---|
| 93 | |
|---|
| 94 | extern HINSTANCE GetCurrentInstance(); |
|---|
| 95 | extern void RemoveIllegalChars(std::string& sString); |
|---|
| 96 | |
|---|
| 97 | // |
|---|
| 98 | |
|---|
| 99 | #endif // __stdafx_h__ |
|---|