2010-11-16 11:25:33 +08:00
< HTML DIR = "ltr" >
< HEAD >
< TITLE > 'Cocos2d-win32 Application Wizard'< / TITLE >
< META NAME = "vs_targetSchema" CONTENT = "http://schemas.microsoft.com/intellisense/ie5" >
< META HTTP-EQUIV = "MSThemeCompatible" CONTENT = "Yes" >
< STYLE TYPE = "text/css" > @ i m p o r t u r l ( ) ;
2011-03-09 15:35:06 +08:00
.style1
{
color: Blue;
}
2010-11-16 11:25:33 +08:00
< / STYLE >
<!-- This closing tag is here only to avoid security warning -->
< / OBJECT >
< SCRIPT >
var strURL = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
strURL += "VCWizards/";
strURL += window.external.GetHostLocale();
strURL += "/NewStyles.css";
document.styleSheets(0).imports(0).href = strURL;
< / SCRIPT >
<!-- -->
<!-- The SYMBOL tag is used to set the default values for the user - defined symbols. -->
<!-- -->
< SYMBOL NAME = 'WIZARD_DIALOG_TITLE' TYPE = "text" VALUE = "Cocos2d-win32 Application Wizard" > < / SYMBOL >
< SYMBOL NAME = 'SOURCE_FILTER' TYPE = "text" VALUE = "cpp;c;cxx;def;odl;idl;hpj;bat;asm" > < / SYMBOL >
< SYMBOL NAME = "INCLUDE_FILTER" TYPE = "text" VALUE = "h;hpp;hxx;hm;inl;inc" > < / SYMBOL >
< SYMBOL NAME = "RESOURCE_FILTER" TYPE = "text" VALUE = "rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;png;manifest" > < / SYMBOL >
2011-03-09 15:35:06 +08:00
< SYMBOL NAME = "CC_CURRENT_YEAR" TYPE = "text" VALUE = "2003" > < / SYMBOL >
2010-11-16 11:25:33 +08:00
<!-- Page 2 Controls -->
2011-03-09 15:35:06 +08:00
< SYMBOL NAME = 'CC_USE_BOX2D' TYPE = "checkbox" VALUE = "true" > < / SYMBOL >
< SYMBOL NAME = 'CC_USE_CHIPMUNK' TYPE = "checkbox" VALUE = "false" > < / SYMBOL >
< SYMBOL NAME = 'CC_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE' TYPE = "checkbox" VALUE = "true" > < / SYMBOL >
< SYMBOL NAME = 'CC_HAS_MAIN_FORM' TYPE = "checkbox" VALUE = "true" > < / SYMBOL >
2010-11-16 11:25:33 +08:00
<!-- Page 3 Controls -->
< SYMBOL NAME = 'WTL_COMBO_VIEW_TYPE' TYPE = "select-one" VALUE = 'WTL_VIEWTYPE_GENERIC' > < / SYMBOL >
< / HEAD >
< BODY BGCOLOR = "buttonface" TOPMARGIN = "0" LEFTMARGIN = "0" RIGHTMARGIN = "0" BOTTOMMARGIN = "0" ONLOAD = "InitDocument(document);" ONKEYDOWN = "OnKey();" ONKEYPRESS = "OnPress();" >
< TABLE CLASS = "ONE" HEIGHT = "100%" WIDTH = "100%" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< COLGROUP >
< COL WIDTH = "178" >
< COL >
<!-- OPEN OF INTRODUCTORY INFORMATION TABLE// -->
< TR VALIGN = "top" >
< TD HEIGHT = "79" WIDTH = "100%" COLSPAN = "2" >
< TABLE CLASS = "TWO" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< COLGROUP >
< COL WIDTH = "12" >
< COL >
< COL WIDTH = "12" >
< TR >
< TD VALIGN = "top" HEIGHT = "12" WIDTH = "12" >
< / TD >
< TD VALIGN = "top" HEIGHT = "12" >
< / TD >
< TD VALIGN = "top" HEIGHT = "12" WIDTH = "12" >
< / TD >
< TD CLASS = "IMAGE" VALIGN = "bottom" WIDTH = "110" ROWSPAN = "2" >
< DIV CLASS = "SMALLA" ID = "Layer0" >
< IMG CLASS = "SMALLEST" SRC = "../../Images/Cocos2d-x.gif" WIDTH = "63" HEIGHT = "63" ALT = "" BORDER = "0" >
< / DIV >
< / TD >
< TD VALIGN = "top" HEIGHT = "12" WIDTH = "6" ROWSPAN = "2" >
< / TD >
< / TR >
< TR >
< TD VALIGN = "top" HEIGHT = "65" WIDTH = "12" >
< / TD >
< TD VALIGN = "top" HEIGHT = "65" >
< H4 CLASS = "HEAD" ID = "HEAD" > Welcome to the Cocos2d-win32 Application Wizard< / H4 >
< P CLASS = "SUBHEAD" ID = "SUBHEAD" > This wizard generates a cocos2d-win32 application project
with the properties you specify.< / P >
< / TD >
< TD VALIGN = "top" HEIGHT = "65" WIDTH = "12" >
< / TD >
< / TR >
< TR >
< TD VALIGN = "top" CLASS = "RULE" COLSPAN = "5" HEIGHT = "2" >
< TABLE BORDER = "0" WIDTH = "100%" HEIGHT = "1" CELLPADDING = "0" CELLSPACING = "0" >
< TR VALIGN = "top" >
< TD HEIGHT = "1" WIDTH = "100%" BGCOLOR = "buttonshadow" > < IMG SRC = "../../Images/spacer.gif" HEIGHT = "1" WIDTH = "1" ALT = "" > < / TD >
< TD HEIGHT = "1" WIDTH = "1" BGCOLOR = "window" > < IMG SRC = "../../Images/spacer.gif" HEIGHT = "1" WIDTH = "1" ALT = "" > < / TD >
< / TR >
< / TABLE >
< / TD >
< / TR >
< / TABLE >
< / TD >
< / TR >
<!-- CLOSE OF INTRODUCTORY INFORMATION TABLE// -->
<!-- OPEN OF NAVIGATION, CONTENT, AND BUTTON TABLES// -->
< TR VALIGN = "top" >
< TD CLASS = "THREE" VALIGN = "top" HEIGHT = "100%" WIDTH = "178" STYLE = "BACKGROUND-IMAGE: url(../../Images/Background_Cocos2d-x.gif)" >
<!-- OPEN OF NAVIGATION TABLE// -->
< TABLE CLASS = "THREE" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< COLGROUP >
< COL WIDTH = "12" >
< COL WIDTH = "166" >
< COL WIDTH = "1" >
< TR >
< TD VALIGN = "top" COLSPAN = "3" HEIGHT = "12" >
< / TD >
< / TR >
< TR >
< TD VALIGN = "top" HEIGHT = "100%" WIDTH = "12" >
< / TD >
< TD VALIGN = "top" HEIGHT = "100%" WIDTH = "165" >
<!-- OPEN OF NAVIGATIONAL LINKS// -->
< DIV CLASS = "LINKSELECTED" >
< SPAN CLASS = "VERTLINE1" > < IMG SRC = "../../Images/spacer.gif" WIDTH = "1" HEIGHT = "1" ALT = "" BORDER = "0" >
< / SPAN > < SPAN CLASS = "HORILINE1" >
< TABLE WIDTH = "167" HEIGHT = "100%" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< TR VALIGN = "top" >
< TD CLASS = "DOTTEDLINE" HEIGHT = "1" >
< / TD >
< / TR >
< TR VALIGN = "top" >
< TD HEIGHT = "100%" >
< IMG SRC = "../../Images/spacer.gif" WIDTH = "1" HEIGHT = "28" ALT = "" BORDER = "0" >
< / TD >
< / TR >
< TR VALIGN = "top" >
< TD CLASS = "DOTTEDLINE" HEIGHT = "1" >
< / TD >
< / TR >
< / TABLE >
< / SPAN >
< TABLE WIDTH = "160" HEIGHT = "28" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" CLASS = "LINKTEXTSELECTED" >
< TR VALIGN = "center" >
< TD WIDTH = "156" >
< SPAN ID = "Default" TITLE = "Examine an overview of selections" onClick = "Next(document, 'default.htm');" TABINDEX = "1" > Overview< / SPAN >
< / TD >
< TD WIDTH = "4" >
< IMG SRC = "../../Images/spacer.gif" HEIGHT = "1" WIDTH = "4" >
< / TD >
< / TR >
< / TABLE >
< / DIV >
< DIV CLASS = "LINK" >
< TABLE WIDTH = "166" HEIGHT = "28" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" CLASS = "LINKTEXT" >
< TR VALIGN = "center" >
< TD WIDTH = "162" >
< SPAN CLASS = "ACTIVELINK" ID = "Features" TITLE = "Specify features for the cocos2d-x application." onClick = "Next(document, 'features.htm');" TABINDEX = "1" >
Features< / SPAN >
< / TD >
< TD WIDTH = "4" >
< IMG SRC = "../../Images/spacer.gif" HEIGHT = "1" WIDTH = "4" >
< / TD >
< / TR >
< / TABLE >
< / DIV >
<!-- CLOSE OF NAVIGATIONAL LINKS// -->
< / TD >
< TD WIDTH = "1" >
< DIV CLASS = "VERTLINE" >
< IMG SRC = "../../Images/spacer.gif" WIDTH = "1" HEIGHT = "1" ALT = "" BORDER = "0" >
< / DIV >
< / TD >
< / TR >
< / TABLE >
<!-- CLOSE OF NAVIGATION TABLE// -->
< / TD >
< TD VALIGN = "top" HEIGHT = "100%" >
<!-- OPEN OF CONTENT AND BUTTON TABLE// -->
< TABLE CLASS = "ONE" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< COLGROUP >
< COL WIDTH = "100%" >
< TR VALIGN = "top" >
< TD HEIGHT = "100%" >
<!-- OPEN OF CONTENT// -->
< TABLE CLASS = "CONTENT" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< COL WIDTH = "12" > < COL WIDTH = "398" > < COL WIDTH = "12" >
< TR >
< TD VALIGN = "TOP" HEIGHT = "12" COLSPAN = "3" >
< / TD >
< / TR >
< TR >
< TD VALIGN = "TOP" WIDTH = "12" >
< / TD >
< TD VALIGN = "TOP" >
< SPAN CLASS = "ItemTextTop" ID = "PROJECT_SETTINGS" > These are the current project settings:< / SPAN >
< UL >
< LI CLASS = "LIST" >
2011-03-09 15:35:06 +08:00
< SPAN CLASS = "SideBtnHidden" ID = "CC_PHYSICAL_ENGINE_SUMMARY" TITLE = "" >
< LABEL FOR = "CC_PHYSICAL_ENGINE_SUMMARY" > < / LABEL >
2010-11-16 11:25:33 +08:00
< / SPAN >
< / LI >
< LI CLASS = "LIST" >
2011-03-09 15:35:06 +08:00
< SPAN CLASS = "SideBtnHidden" ID = "CC_AUDIO_ENGINE_SUMMARY" TITLE = "" >
< LABEL FOR = "CC_AUDIO_ENGINE_SUMMARY" > < / LABEL >
2010-11-16 11:25:33 +08:00
< / SPAN >
< / LI >
< / UL >
< SPAN CLASS = "ItemText" ID = "FinishText" > Click < B > Finish< / B > from any window to accept the current settings.< / SPAN >
< P CLASS = "ElementSpacer2" > < / P >
<!-- SPAN CLASS="ItemText" ID="README_REMINDER" TITLE="">After you create the project, see the project's readme.txt file for information about the project features and files that are generated.</SPAN -->
2011-03-09 15:35:06 +08:00
< SPAN CLASS = "ItemText" ID = "README_REMINDER" TITLE = "" > Learn more form
< a href = "http://www.cocos2d-x.org/wiki/cocos2d-x/Cocos2d-x_Application_Wizard_for_Visual_Studio_User_Guide" >
< span class = "style1" > Cocos2d-x Application Wizard for Visual Studio User Guide< / span > < / a >
.< br / >
2010-11-16 11:25:33 +08:00
< br / >
< B > Recommend< / B > to save the new project to cocos2d-x source' s root directory,
otherwise, modify the include directory and library directory menually.< / SPAN >
< / TD >
< TD VALIGN = "TOP" WIDTH = "12" >
< / TD >
< / TR >
< / TABLE >
<!-- CLOSE OF CONTENT// -->
< / TD >
< / TR >
< TR VALIGN = "bottom" >
< TD HEIGHT = "48" >
<!-- OPEN OF BUTTON HTML// -->
< TABLE HEIGHT = "48" BORDER = "0" CELLPADDING = "0" CELLSPACING = "0" >
< COLGROUP >
< COL WIDTH = "12" >
< COL >
< COL WIDTH = "75" >
< COL WIDTH = "4" >
< COL WIDTH = "75" >
< COL WIDTH = "4" >
< COL WIDTH = "75" >
< COL WIDTH = "12" >
< TR >
< TD VALIGN = "top" CLASS = "RULE" COLSPAN = "8" HEIGHT = "2" >
< TABLE BORDER = "0" WIDTH = "100%" HEIGHT = "1" CELLPADDING = "0" CELLSPACING = "0" >
< TR VALIGN = "top" >
< TD HEIGHT = "1" WIDTH = "100%" BGCOLOR = "buttonshadow" > < IMG SRC = "../../Images/spacer.gif" HEIGHT = "1" WIDTH = "1" ALT = "" > < / TD >
< TD HEIGHT = "1" WIDTH = "1" BGCOLOR = "window" > < IMG SRC = "../../Images/spacer.gif" HEIGHT = "1" WIDTH = "1" ALT = "" > < / TD >
< / TR >
< / TABLE >
< / TD >
< / TR >
< TR >
< TD VALIGN = "top" HEIGHT = "11" COLSPAN = "8" >
< / TD >
< / TR >
< TR >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "12" >
< / TD >
< TD VALIGN = "top" HEIGHT = "23" >
< / TD >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "75" >
< BUTTON CLASS = "BUTTONS" ID = "FinishBtn" ACCESSKEY = "F" onClick = "OnFinish(document);" type = "button" >
< U > F< / U > inish< / BUTTON >
< / TD >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "4" >
< / TD >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "75" >
< BUTTON CLASS = "BUTTONS" ID = "CancelBtn" ACCESSKEY = "C" onClick = "window.external.Finish(document, 'cancel');" type = "button" >
< U > C< / U > ancel< / BUTTON >
< / TD >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "4" >
< / TD >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "75" >
< BUTTON CLASS = "BUTTONS" ID = "HelpBtn" ACCESSKEY = "H" onClick = "window.external.OnHelp('vc.appwiz.custom.overview');" type = "button" >
< U > H< / U > elp< / BUTTON >
< / TD >
< TD VALIGN = "center" HEIGHT = "23" WIDTH = "12" >
< / TD >
< / TR >
< TR >
< TD VALIGN = "top" HEIGHT = "12" COLSPAN = "8" >
< / TD >
< / TR >
< / TABLE >
<!-- CLOSE OF BUTTON HTML// -->
< / TD >
< / TR >
< / TABLE >
<!-- CLOSE OF NAVIGATION, CONTENT, AND BUTTON TABLES// -->
< / TD >
< / TR >
< / TABLE >
< SCRIPT LANGUAGE = "JSCRIPT" >
var tab_array = new Array();
tab_array[0] = Default;
tab_array[1] = Features;
function InitDocument(document)
{
setDirection();
if (window.external.FindSymbol('DOCUMENT_FIRST_LOAD'))
{
// This function sets the default symbols based
// on the values specified in the SYMBOL tags above
window.external.SetDefaults(document);
}
// Load the document and initialize the controls with the appropriate symbol values
window.external.Load(document);
// Do additional initialization
OnInit();
}
function Next(document, linkto)
{
window.external.Next(document, linkto);
}
function OnFinish(document)
{
OnWizFinish(document);
}
function OnInit()
{
2011-03-09 15:35:06 +08:00
if (window.external.FindSymbol("CC_USE_BOX2D") & & window.external.FindSymbol("CC_USE_CHIPMUNK"))
2010-11-16 11:25:33 +08:00
{
2011-03-09 15:35:06 +08:00
CC_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Box2D and Chipmunk";
2010-11-16 11:25:33 +08:00
}
2011-03-09 15:35:06 +08:00
else if (window.external.FindSymbol("CC_USE_BOX2D"))
2010-11-16 11:25:33 +08:00
{
2011-03-09 15:35:06 +08:00
CC_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Box2D";
2010-11-16 11:25:33 +08:00
}
2011-03-09 15:35:06 +08:00
else if (window.external.FindSymbol("CC_USE_CHIPMUNK"))
2010-11-16 11:25:33 +08:00
{
2011-03-09 15:35:06 +08:00
CC_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Chipmunk";
2010-11-16 11:25:33 +08:00
}
else // none physical engine
{
2011-03-09 15:35:06 +08:00
CC_PHYSICAL_ENGINE_SUMMARY.innerText = "None Physical Engine";
2010-11-16 11:25:33 +08:00
}
2011-03-09 15:35:06 +08:00
if (window.external.FindSymbol("CC_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE"))
2010-11-16 11:25:33 +08:00
{
2011-03-09 15:35:06 +08:00
CC_AUDIO_ENGINE_SUMMARY.innerText = "Use Audio Engine: Simple Audio Engine in Cocos Denshion";
2010-11-16 11:25:33 +08:00
}
else
{
2011-03-09 15:35:06 +08:00
CC_AUDIO_ENGINE_SUMMARY.innerText = "None Audio Engine";
2010-11-16 11:25:33 +08:00
}
}
< / SCRIPT >
< SCRIPT ID = "INCLUDE_SCRIPT" LANGUAGE = "JSCRIPT" > < / SCRIPT >
< SCRIPT ID = "INCLUDE_COMMON" LANGUAGE = "JSCRIPT" > < / SCRIPT >
<!--
Common.js is a script file which contains the helper functions
used by the wizards. Include this line if you want to
call these functions from your html scripts.
//-->
< SCRIPT >
var strPath = window.external.FindSymbol("PRODUCT_INSTALLATION_DIR");
strPath += "VCWizards/";
strPath += window.external.GetHostLocale();
var strScriptPath = strPath + "/Script.js";
var strCommonPath = strPath + "/Common.js";
document.scripts("INCLUDE_SCRIPT").src = strScriptPath;
document.scripts("INCLUDE_COMMON").src = strCommonPath;
< / SCRIPT >
< / BODY >
< / HTML >