diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-08-23 15:56:13 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-08-23 15:56:13 +0000 |
| commit | 092989dffc2a59c5b19f2f4470396ea308cd534c (patch) | |
| tree | a43622bd39277415ecfa41f1b09c8ad6b532a187 /Source/Core | |
| parent | 68957ed5e9611e5a246e99f003083d39e0d9adf1 (diff) | |
Added dummy Lua interface files. Now Dolphin links with Lua successfully.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4039 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Core.vcproj | 16 | ||||
| -rw-r--r-- | Source/Core/Core/Src/LuaInterface.cpp | 32 | ||||
| -rw-r--r-- | Source/Core/Core/Src/LuaInterface.h | 28 |
3 files changed, 74 insertions, 2 deletions
diff --git a/Source/Core/Core/Core.vcproj b/Source/Core/Core/Core.vcproj index 1a190287cd..7715cf5791 100644 --- a/Source/Core/Core/Core.vcproj +++ b/Source/Core/Core/Core.vcproj @@ -265,7 +265,7 @@ OmitFramePointers="true"
EnableFiberSafeOptimizations="false"
WholeProgramOptimization="false"
- AdditionalIncludeDirectories=".\Core\Core\Src\Debugger;..\Common\Src;..\DiscIO\Src;..\..\Core\InputCommon\Src;..\..\PluginSpecs;..\..\..\Externals\LZO;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\zlib"
+ AdditionalIncludeDirectories=".\Core\Core\Src\Debugger;..\Common\Src;..\DiscIO\Src;..\..\Core\InputCommon\Src;..\..\PluginSpecs;..\..\..\Externals\LZO;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\zlib;..\..\..\Externals\Lua"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_SECURE_SCL=0"
StringPooling="true"
RuntimeLibrary="0"
@@ -290,7 +290,7 @@ <Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)/Core.lib"
- AdditionalLibraryDirectories=""..\..\..\Externals\LZO\$(OutDir)\lzo.lib""
+ AdditionalLibraryDirectories=""..\..\..\Externals\LZO\$(OutDir)\lzo.lib";"..\..\..\Externals\Lua\$(OutDir)\Lua.lib""
/>
<Tool
Name="VCALinkTool"
@@ -2200,6 +2200,18 @@ </File>
</Filter>
</Filter>
+ <Filter
+ Name="Lua Interface"
+ >
+ <File
+ RelativePath=".\Src\LuaInterface.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\Src\LuaInterface.h"
+ >
+ </File>
+ </Filter>
<File
RelativePath=".\Src\ConfigManager.cpp"
>
diff --git a/Source/Core/Core/Src/LuaInterface.cpp b/Source/Core/Core/Src/LuaInterface.cpp new file mode 100644 index 0000000000..0837fa8966 --- /dev/null +++ b/Source/Core/Core/Src/LuaInterface.cpp @@ -0,0 +1,32 @@ +// Copyright (C) 2003 Dolphin Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// Official SVN repository and contact information can be found at
+// http://code.google.com/p/dolphin-emu/
+
+#include "LuaInterface.h"
+
+extern "C" {
+#include "lua.h"
+#include "lauxlib.h"
+#include "lualib.h"
+#include "lstate.h"
+};
+
+namespace Lua {
+
+
+
+
+};
diff --git a/Source/Core/Core/Src/LuaInterface.h b/Source/Core/Core/Src/LuaInterface.h new file mode 100644 index 0000000000..8d89188de1 --- /dev/null +++ b/Source/Core/Core/Src/LuaInterface.h @@ -0,0 +1,28 @@ +// Copyright (C) 2003 Dolphin Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// Official SVN repository and contact information can be found at
+// http://code.google.com/p/dolphin-emu/
+
+#ifndef __LUA_INTERFACE_H
+#define __LUA_INTERFACE_H
+
+namespace Lua {
+
+
+
+
+};
+
+#endif
|
