added version info
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40392
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#else
|
||||
# include <ver.h>
|
||||
#endif
|
||||
#include "svnrev.h"
|
||||
#include "svn_version.h"
|
||||
|
||||
AppIcon ICON "pawn.ico"
|
||||
|
||||
@@ -13,10 +13,10 @@ AppIcon ICON "pawn.ico"
|
||||
* All strings MUST have an explicit \0. See the Windows SDK documentation
|
||||
* for details on version information and the VERSIONINFO structure.
|
||||
*/
|
||||
#define VERSION SMC_VERSION
|
||||
#define REVISION SMC_REVISION
|
||||
#define BUILD SMC_BUILD
|
||||
#define VERSIONSTR SMC_VERSTRING
|
||||
#define VERSION 1
|
||||
#define REVISION 0
|
||||
#define BUILD SVN_REVISION
|
||||
#define VERSIONSTR SVN_REVISION_STRING
|
||||
#define VERSIONNAME "smcomp.exe\0"
|
||||
#define VERSIONDESCRIPTION "SourcePawn Compiler\0"
|
||||
#define VERSIONPRODUCTNAME "smcomp\0"
|
||||
|
||||
@@ -309,7 +309,7 @@
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\svnrev.h"
|
||||
RelativePath="..\svn_version.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
||||
@@ -260,31 +260,6 @@ int main(int argc, char *argv[])
|
||||
spfw_next_section(spf);
|
||||
}
|
||||
|
||||
if (sections[FS_Libraries])
|
||||
{
|
||||
sp_file_libraries_t *libtbl;
|
||||
AMX_FUNCSTUBNT *stub;
|
||||
unsigned char *stubptr;
|
||||
uint32_t libraries = sections[FS_Libraries];
|
||||
|
||||
libtbl = (sp_file_libraries_t *)malloc(sizeof(sp_file_libraries_t) * libraries);
|
||||
stubptr = (unsigned char *)hdr + hdr->libraries;
|
||||
|
||||
for (i=0; i<libraries; i++)
|
||||
{
|
||||
stub = (AMX_FUNCSTUBNT *)stubptr;
|
||||
libtbl[i].name = stub->nameofs - (hdr->nametable + sizeof(uint16_t));
|
||||
|
||||
stubptr += hdr->defsize;
|
||||
}
|
||||
if (libraries)
|
||||
{
|
||||
sfwrite(libtbl, sizeof(sp_file_libraries_t), libraries, spf);
|
||||
}
|
||||
free(libtbl);
|
||||
spfw_next_section(spf);
|
||||
}
|
||||
|
||||
if (sections[FS_Nametable])
|
||||
{
|
||||
unsigned char *base;
|
||||
|
||||
@@ -65,9 +65,9 @@
|
||||
|
||||
#include "lstring.h"
|
||||
#include "sc.h"
|
||||
#include "svnrev.h"
|
||||
#include "svn_version.h"
|
||||
#include "sctracker.h"
|
||||
#define VERSION_STR "3.2." SVN_REVSTR
|
||||
#define VERSION_STR "3.2.3636"
|
||||
#define VERSION_INT 0x0302
|
||||
|
||||
int pc_functag = 0;
|
||||
@@ -1179,7 +1179,7 @@ static void setconfig(char *root)
|
||||
|
||||
static void setcaption(void)
|
||||
{
|
||||
pc_printf("SourcePawn Compiler " SMC_VERSTRING "\n");
|
||||
pc_printf("SourcePawn Compiler 1.0.0." SVN_REVISION_STRING "\n");
|
||||
pc_printf("Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2006 AlliedModders, LLC\n\n");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
#define SMC_VERSION 1
|
||||
#define SMC_REVISION 0
|
||||
#define SMC_BUILD 1
|
||||
#define SMC_VERSTRING "1.0.1.3636"
|
||||
|
||||
#define SVN_REV 3636
|
||||
#define SVN_REVSTR "3636"
|
||||
#define SVN_REVDATE "2006-08-14"
|
||||
#define SVN_REVSTAMP 20060814L
|
||||
Reference in New Issue
Block a user