Engine:
authorsmxx
Wed, 03 Mar 2010 11:22:23 +0000
changeset 2920 5cf48744a700
parent 2919 70244c730ea0
child 2921 b7a636503298
Engine: * Simplified library name to look for to "lua" on all systems. This should resolve linking issues as long as the installed Lua version is 5.1 Frontend: * Added URL shortcut to Xfire Game SDK's webpage
hedgewars/LuaPas.pas
misc/xfire/Xfire Game SDK.url
misc/xfire/xfiregameclient.cpp
misc/xfire/xfiregameclient.h
--- a/hedgewars/LuaPas.pas	Wed Mar 03 06:30:51 2010 +0000
+++ b/hedgewars/LuaPas.pas	Wed Mar 03 11:22:23 2010 +0000
@@ -19,17 +19,9 @@
   lua_State = record end;
   Plua_State = ^lua_State;
 
-const
-{$IFDEF UNIX}
-  {$IFDEF DARWIN}
-    LuaLibName = 'lua';
-  {$ELSE}
-    LuaLibName = 'lua5.1.so';
-  {$ENDIF}
-{$ELSE}
-  LuaLibName = 'lua.dll';
-{$ENDIF}
-
+// only looking for "lua" might be dangerous but including version numbers
+// unfortunately causes trouble on some linux/unix systems.
+const LuaLibName = 'lua';
 
 (*****************************************************************************)
 (*                               luaconfig.h                                 *)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xfire/Xfire Game SDK.url	Wed Mar 03 11:22:23 2010 +0000
@@ -0,0 +1,5 @@
+[{000214A0-0000-0000-C000-000000000046}]
+Prop3=19,2
+[InternetShortcut]
+URL=http://www.xfire.com/cms/xf_game_sdk
+IDList=
--- a/misc/xfire/xfiregameclient.cpp	Wed Mar 03 06:30:51 2010 +0000
+++ b/misc/xfire/xfiregameclient.cpp	Wed Mar 03 11:22:23 2010 +0000
@@ -1,4 +1,4 @@
-/* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK.*/
+/* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK. */
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
@@ -118,4 +118,4 @@
 	}
 
 	return g_toucan_dll;
-}
\ No newline at end of file
+}
--- a/misc/xfire/xfiregameclient.h	Wed Mar 03 06:30:51 2010 +0000
+++ b/misc/xfire/xfiregameclient.h	Wed Mar 03 11:22:23 2010 +0000
@@ -1,4 +1,4 @@
-/* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK.*/
+/* This file is NOT open source. See "license.txt" to read the full license provided with the Xfire SDK. */
 
 #ifndef __XFIREGAMECLIENT_H__
 #define __XFIREGAMECLIENT_H__