2010-11-18 10:39:59 +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 ( ) ;
< / 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;idl;bat" > < / SYMBOL >
< SYMBOL NAME = "INCLUDE_FILTER" TYPE = "text" VALUE = "h;hpp;hxx;hm;inl;inc" > < / SYMBOL >
< SYMBOL NAME = 'MAKEFILE_FILTER' TYPE = text VALUE = 'TMK3;ARM' > < / SYMBOL >
< SYMBOL NAME = 'RESOURCE_FILTER' TYPE = text VALUE = 'tr3;tts;TR3;TRG' > < / SYMBOL >
< SYMBOL NAME = "CCX_CURRENT_YEAR" TYPE = "text" VALUE = "2003" > < / SYMBOL >
<!-- Page 2 Controls -->
< SYMBOL NAME = 'CCX_USE_BOX2D' TYPE = "checkbox" VALUE = "true" > < / SYMBOL >
2010-11-19 14:43:13 +08:00
< SYMBOL NAME = 'CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE' TYPE = "checkbox" VALUE = "false" > < / SYMBOL >
2010-11-18 10:39:59 +08:00
< SYMBOL NAME = 'CCX_HAS_MAIN_FORM' TYPE = "checkbox" VALUE = "true" > < / SYMBOL >
< SYMBOL NAME = 'CCX_USE_UI_RESOURCE' TYPE = "checkbox" VALUE = "false" > < / SYMBOL >
< SYMBOL NAME = 'CCX_USE_TCOM_SUPPORT' TYPE = "checkbox" VALUE = "false" > < / SYMBOL >
<!-- 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-uphone Application Wizard< / H4 >
< P CLASS = "SUBHEAD" ID = "SUBHEAD" > This wizard generates a cocos2d-uphone 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 > < 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:< br / >
< br / >
< / SPAN > Cocos2d feature:< UL >
< LI CLASS = "LIST" >
< SPAN CLASS = "SideBtnHidden" ID = "CCX_PHYSICAL_ENGINE_SUMMARY" TITLE = "" >
< LABEL FOR = "CCX_PHYSICAL_ENGINE_SUMMARY" > < / LABEL >
< / SPAN >
< / LI >
< LI CLASS = "LIST" >
< SPAN CLASS = "SideBtnHidden" ID = "CCX_AUDIO_ENGINE_SUMMARY" TITLE = "" >
< LABEL FOR = "CCX_AUDIO_ENGINE_SUMMARY" > < / LABEL >
< / SPAN >
< / LI >
< / UL >
< / SPAN > Application feature:< UL >
< LI CLASS = "LIST" >
< SPAN CLASS = "SideBtnHidden" ID = "CCX_UI_RESOURCE_SUMMARY" TITLE = "" >
< LABEL FOR = "CCX_UI_RESOURCE_SUMMARY" > < / LABEL >
< / SPAN >
< / LI >
< LI CLASS = "LIST" >
< SPAN CLASS = "SideBtnHidden" ID = "CCX_TCOM_SUPPORT_SUMMARY" TITLE = "" >
< LABEL FOR = "CCX_TCOM_SUPPORT_SUMMARY" > < / LABEL >
< / SPAN >
< / LI >
< / UL >
< SPAN CLASS = "ItemText" ID = "FinishText" > Click < B > Finish< / B > from any window to accept the current settings.< / SPAN >
< br / >
< br / >
<!-- 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 -->
< SPAN CLASS = "ItemText" ID = "README_REMINDER" TITLE = "" > After you create the project, examine the project's files for more information about the classes and resources that are generated.< br / >
< 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()
{
if (window.external.FindSymbol("CCX_USE_BOX2D") & & window.external.FindSymbol("CCX_USE_CHIPMUNK"))
{
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Box2D and Chipmunk";
}
else if (window.external.FindSymbol("CCX_USE_BOX2D"))
{
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Box2D";
}
else if (window.external.FindSymbol("CCX_USE_CHIPMUNK"))
{
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "Use Physical Engine: Chipmunk";
}
else // none physical engine
{
CCX_PHYSICAL_ENGINE_SUMMARY.innerText = "None Physical Engine";
}
if (window.external.FindSymbol("CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE"))
{
CCX_AUDIO_ENGINE_SUMMARY.innerText = "Use Audio Engine: Simple Audio Engine in Cocos Denshion";
}
else
{
CCX_AUDIO_ENGINE_SUMMARY.innerText = "None Audio Engine";
}
if (window.external.FindSymbol("CCX_USE_UI_RESOURCE"))
{
CCX_UI_RESOURCE_SUMMARY.innerText = "Has UI Resource";
}
else
{
CCX_UI_RESOURCE_SUMMARY.innerText = "None UI Resource";
}
if (window.external.FindSymbol("CCX_USE_TCOM_SUPPORT"))
{
CCX_TCOM_SUPPORT_SUMMARY.innerText = "Has TCOM Support";
}
else
{
CCX_TCOM_SUPPORT_SUMMARY.innerText = "None TCOM Support";
}
}
< / 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 >