From a9e8b883ceda0cabf7066a39c3a66c68377a1750 Mon Sep 17 00:00:00 2001
From: GhostlyDeath
Date: Mon, 5 May 2008 03:44:28 +0000
Subject: Updated VC++ Project for added files; Manifest should have version
1.1.1.0 not 1.0.0.0; the rc files in the codeblocks folder have been updated
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1142
---
codeblocks/game-res.rc | 8 ++-
codeblocks/setup-res.rc | 16 +++--
msvc/ChocolateDoom.vcproj | 158 ++++++++++++++++++++++++++++++++++++++++++----
msvc/win32.rc | 7 ++
setup/setup-manifest.xml | 2 +-
src/w_file.h | 2 -
6 files changed, 167 insertions(+), 26 deletions(-)
diff --git a/codeblocks/game-res.rc b/codeblocks/game-res.rc
index 53ae4df9..5d0319bb 100644
--- a/codeblocks/game-res.rc
+++ b/codeblocks/game-res.rc
@@ -1,19 +1,21 @@
1 ICON "..\\data\\doom.ico"
1 VERSIONINFO
+PRODUCTVERSION 1,1,1,0
+FILEVERSION 1,1,1,0
FILETYPE 1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
- VALUE "FileVersion", ""
- VALUE "FileDescription", ""
+ VALUE "FileVersion", "1.1.1"
+ VALUE "FileDescription", "1.1.1"
VALUE "InternalName", "Chocolate-Doom"
VALUE "CompanyName", "Chocolate-Doom"
VALUE "LegalCopyright", "GNU General Public License"
VALUE "ProductName", "Chocolate-Doom"
- VALUE "ProductVersion", ""
+ VALUE "ProductVersion", "1.1.1"
}
}
}
diff --git a/codeblocks/setup-res.rc b/codeblocks/setup-res.rc
index 0c8abe80..0b74d1f9 100644
--- a/codeblocks/setup-res.rc
+++ b/codeblocks/setup-res.rc
@@ -1,19 +1,23 @@
1 ICON "..\\data\\setup.ico"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "setup-manifest.xml"
+
1 VERSIONINFO
+PRODUCTVERSION 1,1,1,0
+FILEVERSION 1,1,1,0
FILETYPE 1
{
BLOCK "StringFileInfo"
{
BLOCK "040904E4"
{
- VALUE "FileVersion", ""
- VALUE "FileDescription", ""
- VALUE "InternalName", "Chocolate-Setup"
- VALUE "CompanyName", "Chocolate-Setup"
+ VALUE "FileVersion", "1.1.1"
+ VALUE "FileDescription", "Chocolate-Doom Setup"
+ VALUE "InternalName", "chocolate-setup"
+ VALUE "CompanyName", "fraggle@gmail.com"
VALUE "LegalCopyright", "GNU General Public License"
- VALUE "ProductName", "Chocolate-Setup"
- VALUE "ProductVersion", ""
+ VALUE "ProductName", "Chocolate-Doom Setup"
+ VALUE "ProductVersion", "1.1.1"
}
}
}
diff --git a/msvc/ChocolateDoom.vcproj b/msvc/ChocolateDoom.vcproj
index 2660de5d..6302ac86 100644
--- a/msvc/ChocolateDoom.vcproj
+++ b/msvc/ChocolateDoom.vcproj
@@ -3865,20 +3865,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/msvc/win32.rc b/msvc/win32.rc
index d637d3f4..668bdb0a 100644
--- a/msvc/win32.rc
+++ b/msvc/win32.rc
@@ -51,3 +51,10 @@ BEGIN
END
END
+// GhostlyDeath - Preferebly for codeblocks (if it even uses this RC!)
+#ifdef __MINGW32__
+#ifdef CHOCOLATESETUP
+// RT_MANIFEST might NOT be defined
+1 24 "../setup/setup-manifest.xml"
+#endif
+#endif
diff --git a/setup/setup-manifest.xml b/setup/setup-manifest.xml
index dacaa311..74dd5493 100644
--- a/setup/setup-manifest.xml
+++ b/setup/setup-manifest.xml
@@ -2,7 +2,7 @@
-
diff --git a/src/w_file.h b/src/w_file.h
index 2eb0d492..e0dbb315 100644
--- a/src/w_file.h
+++ b/src/w_file.h
@@ -84,5 +84,3 @@ size_t W_Read(wad_file_t *wad, unsigned int offset,
void *buffer, size_t buffer_len);
#endif /* #ifndef __W_FILE__ */
-
-
--
cgit v1.2.3