Changes to CSRI API and project file to ease debugging.

Originally committed to SVN as r2281.
This commit is contained in:
Niels Martin Hansen 2008-07-23 20:25:52 +00:00
parent 7342c2b617
commit 4e456b1abb
2 changed files with 11 additions and 2 deletions

View File

@ -185,8 +185,13 @@ CSRIAPI void *csri_query_ext(csri_rend *rend, csri_ext_id extname)
// Get info for renderer // Get info for renderer
static struct csri_info csri_vsfilter_info = { static struct csri_info csri_vsfilter_info = {
#ifdef _DEBUG
"vsfilter_textsub_debug", // name
"2.38-0611-4-debug", // version (assumed version number, svn revision, patchlevel)
#else
"vsfilter_textsub", // name "vsfilter_textsub", // name
"2.38-0611-4", // version (assumed version number, svn revision, patchlevel) "2.38-0611-4", // version (assumed version number, svn revision, patchlevel)
#endif
// 2.38-0611 is base svn 611 // 2.38-0611 is base svn 611
// 2.38-0611-1 is with clipfix and fax/fay patch // 2.38-0611-1 is with clipfix and fax/fay patch
// 2.38-0611-2 adds CSRI // 2.38-0611-2 adds CSRI
@ -194,7 +199,7 @@ static struct csri_info csri_vsfilter_info = {
// 2.38-0611-4 fixes be1-dots and ugly-fade bugs and adds xbord/ybord/xshad/yshad tags // 2.38-0611-4 fixes be1-dots and ugly-fade bugs and adds xbord/ybord/xshad/yshad tags
"VSFilter/TextSub (SVN 611 + aegisub patches)", // longname "VSFilter/TextSub (SVN 611 + aegisub patches)", // longname
"Gabest", // author "Gabest", // author
"Copyright (c) 2004-2007 by Gabest and others" // copyright "Copyright (c) 2004-2008 by Gabest and others" // copyright
}; };
CSRIAPI struct csri_info *csri_renderer_info(csri_rend *rend) CSRIAPI struct csri_info *csri_renderer_info(csri_rend *rend)
{ {

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?> <?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject <VisualStudioProject
ProjectType="Visual C++" ProjectType="Visual C++"
Version="8,00" Version="8.00"
Name="vsfilter" Name="vsfilter"
ProjectGUID="{7A3950FD-A235-459A-ACA2-5170863CD32C}" ProjectGUID="{7A3950FD-A235-459A-ACA2-5170863CD32C}"
RootNamespace="vsfilter" RootNamespace="vsfilter"
@ -96,6 +96,8 @@
/> />
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Copy to Aegisub build CSRI directory"
CommandLine="copy $(TargetPath) $(ProjectDir)..\bin\csri\$(TargetName)-debug.$(TargetExt)"
/> />
</Configuration> </Configuration>
<Configuration <Configuration
@ -180,6 +182,8 @@
/> />
<Tool <Tool
Name="VCPostBuildEventTool" Name="VCPostBuildEventTool"
Description="Copy to Aegisub build CSRI directory"
CommandLine="copy $(TargetPath) $(ProjectDir)..\bin\csri\$(TargetFileName)"
/> />
</Configuration> </Configuration>
</Configurations> </Configurations>