Make glide64's version info reference from version.h
This commit is contained in:
parent
7a6a22b8ec
commit
d38de99bfa
|
@ -2,6 +2,8 @@
|
||||||
//
|
//
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
||||||
|
#include "Version.h"
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|
||||||
#include "WinResrc.h"
|
#include "WinResrc.h"
|
||||||
|
@ -67,34 +69,30 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 2,0,0,1
|
FILEVERSION VER_FILE_VERSION
|
||||||
PRODUCTVERSION 2,0,0,1
|
PRODUCTVERSION VER_PRODUCT_VERSION
|
||||||
FILEFLAGSMASK 0x17L
|
FILEFLAGSMASK 0x1fL
|
||||||
#ifdef _DEBUG
|
FILEFLAGS VER_FILEFLAGS
|
||||||
FILEFLAGS 0x1L
|
FILEOS VER_FILEOS
|
||||||
#else
|
FILETYPE VER_FILETYPE
|
||||||
FILEFLAGS 0x0L
|
FILESUBTYPE 0x0L
|
||||||
#endif
|
|
||||||
FILEOS 0x4L
|
|
||||||
FILETYPE 0x2L
|
|
||||||
FILESUBTYPE 0x0L
|
|
||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "StringFileInfo"
|
BLOCK "StringFileInfo"
|
||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "0c0904b0"
|
BLOCK "040904b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileDescription", "Glide 64 for Project64"
|
VALUE "FileDescription", VER_FILE_DESCRIPTION_STR "\0"
|
||||||
VALUE "FileVersion", "2, 0, 0, 1"
|
VALUE "FileVersion", VER_FILE_VERSION_STR "\0"
|
||||||
VALUE "InternalName", "Glide64"
|
VALUE "InternalName", VER_INTERNAL_NAME_STR "\0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2013"
|
VALUE "LegalCopyright", VER_COPYRIGHT_STR "\0"
|
||||||
VALUE "OriginalFilename", "Glide64.dll"
|
VALUE "OriginalFilename", VER_ORIGINAL_FILENAME_STR "\0"
|
||||||
VALUE "ProductName", "Glide 64 for Project64"
|
VALUE "ProductName", VER_PRODUCTNAME_STR
|
||||||
VALUE "ProductVersion", "2, 0, 0, 1"
|
VALUE "ProductVersion", VER_PRODUCT_VERSION_STR "\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Translation", 0xc09, 1200
|
VALUE "Translation", 0x409, 1200
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
|
@ -110,6 +110,7 @@
|
||||||
<ClInclude Include="rdp.h" />
|
<ClInclude Include="rdp.h" />
|
||||||
<ClInclude Include="TexBuffer.h" />
|
<ClInclude Include="TexBuffer.h" />
|
||||||
<ClInclude Include="Util.h" />
|
<ClInclude Include="Util.h" />
|
||||||
|
<ClInclude Include="Version.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="CRC.cpp" />
|
<ClCompile Include="CRC.cpp" />
|
||||||
|
|
|
@ -127,6 +127,7 @@
|
||||||
<ClInclude Include="rdp.h" />
|
<ClInclude Include="rdp.h" />
|
||||||
<ClInclude Include="TexBuffer.h" />
|
<ClInclude Include="TexBuffer.h" />
|
||||||
<ClInclude Include="Util.h" />
|
<ClInclude Include="Util.h" />
|
||||||
|
<ClInclude Include="Version.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="CRC.cpp">
|
<ClCompile Include="CRC.cpp">
|
||||||
|
|
|
@ -38,7 +38,8 @@
|
||||||
//****************************************************************
|
//****************************************************************
|
||||||
|
|
||||||
#include "Gfx #1.3.h"
|
#include "Gfx #1.3.h"
|
||||||
#include <Common/Version.h>
|
#include "Version.h"
|
||||||
|
#include <Common/std string.h>
|
||||||
#include <Settings/Settings.h>
|
#include <Settings/Settings.h>
|
||||||
|
|
||||||
#include <wx/fileconf.h>
|
#include <wx/fileconf.h>
|
||||||
|
@ -1459,9 +1460,9 @@ void CALL GetDllInfo ( PLUGIN_INFO * PluginInfo )
|
||||||
PluginInfo->Version = 0x0104; // Set to 0x0104
|
PluginInfo->Version = 0x0104; // Set to 0x0104
|
||||||
PluginInfo->Type = PLUGIN_TYPE_GFX; // Set to PLUGIN_TYPE_GFX
|
PluginInfo->Type = PLUGIN_TYPE_GFX; // Set to PLUGIN_TYPE_GFX
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
sprintf(PluginInfo->Name,"Glide64 For PJ64 (Debug): %s",VersionInfo(VERSION_PRODUCT_VERSION,hinstDLL).c_str());
|
sprintf(PluginInfo->Name, "Glide64 For PJ64 (Debug): %s", VER_FILE_VERSION_STR);
|
||||||
#else
|
#else
|
||||||
sprintf(PluginInfo->Name,"Glide64 For PJ64: %s",VersionInfo(VERSION_PRODUCT_VERSION,hinstDLL).c_str());
|
sprintf(PluginInfo->Name,"Glide64 For PJ64: %s", VER_FILE_VERSION_STR);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If DLL supports memory these memory options then set them to TRUE or FALSE
|
// If DLL supports memory these memory options then set them to TRUE or FALSE
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
/*
|
||||||
|
* Glide64 - Glide video plugin for Nintendo 64 emulators.
|
||||||
|
* Copyright (c) 2002 Dave2001
|
||||||
|
* Copyright (c) 2003-2009 Sergey 'Gonetz' Lipski
|
||||||
|
*
|
||||||
|
* 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; either version 2 of the License, or
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* 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 for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
#define STRINGIZE2(s) #s
|
||||||
|
#define STRINGIZE(s) STRINGIZE2(s)
|
||||||
|
|
||||||
|
#define VERSION_MAJOR 2
|
||||||
|
#define VERSION_MINOR 0
|
||||||
|
#define VERSION_REVISION 0
|
||||||
|
#define VERSION_BUILD 1
|
||||||
|
|
||||||
|
#define VER_FILE_DESCRIPTION_STR "Glide 64 for Project64"
|
||||||
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
||||||
|
#define VER_FILE_VERSION_STR STRINGIZE(VERSION_MAJOR) \
|
||||||
|
"." STRINGIZE(VERSION_MINOR) \
|
||||||
|
"." STRINGIZE(VERSION_REVISION) \
|
||||||
|
"." STRINGIZE(VERSION_BUILD) \
|
||||||
|
|
||||||
|
#define VER_PRODUCTNAME_STR "Glide64"
|
||||||
|
#define VER_PRODUCT_VERSION VER_FILE_VERSION
|
||||||
|
#define VER_PRODUCT_VERSION_STR VER_FILE_VERSION_STR
|
||||||
|
#define VER_ORIGINAL_FILENAME_STR VER_PRODUCTNAME_STR ".dll"
|
||||||
|
#define VER_INTERNAL_NAME_STR VER_PRODUCTNAME_STR
|
||||||
|
#define VER_COPYRIGHT_STR "Copyright (C) 2013"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#define VER_VER_DEBUG VS_FF_DEBUG
|
||||||
|
#else
|
||||||
|
#define VER_VER_DEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VER_FILEOS VOS_NT_WINDOWS32
|
||||||
|
#define VER_FILEFLAGS VER_VER_DEBUG
|
||||||
|
#define VER_FILETYPE VFT_APP
|
Loading…
Reference in New Issue