mirror of https://github.com/axmolengine/axmol.git
lower-case for StartRuntime and ReloadRuntime
This commit is contained in:
parent
a73d6ea81c
commit
ea82fa33e6
|
@ -51,7 +51,7 @@ bool AppDelegate::applicationDidFinishLaunching()
|
||||||
sc->addRegisterCallback(JSB_register_opengl);
|
sc->addRegisterCallback(JSB_register_opengl);
|
||||||
sc->addRegisterCallback(jsb_register_chipmunk);
|
sc->addRegisterCallback(jsb_register_chipmunk);
|
||||||
|
|
||||||
StartRuntime();
|
startRuntime();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -231,7 +231,7 @@ void startScript()
|
||||||
ScriptingCore::getInstance()->runScript("cocos2d-jsb.js");
|
ScriptingCore::getInstance()->runScript("cocos2d-jsb.js");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ReloadScript()
|
void reloadScript()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -285,7 +285,7 @@ private:
|
||||||
string _jsSearchPath;
|
string _jsSearchPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
void StartRuntime()
|
void startRuntime()
|
||||||
{
|
{
|
||||||
vector<string> searchPathArray;
|
vector<string> searchPathArray;
|
||||||
searchPathArray = getSearchPath();
|
searchPathArray = getSearchPath();
|
||||||
|
|
|
@ -31,9 +31,9 @@ using namespace std;
|
||||||
|
|
||||||
#define _MAX_PATH_ 512
|
#define _MAX_PATH_ 512
|
||||||
|
|
||||||
void StartRuntime();
|
void startRuntime();
|
||||||
|
|
||||||
void ReloadScript();
|
void reloadScript();
|
||||||
|
|
||||||
// SimulatorConfig
|
// SimulatorConfig
|
||||||
typedef struct _SimulatorScreenSize {
|
typedef struct _SimulatorScreenSize {
|
||||||
|
|
|
@ -243,7 +243,7 @@ using namespace cocos2d;
|
||||||
|
|
||||||
- (IBAction) onReloadScript:(id)sender
|
- (IBAction) onReloadScript:(id)sender
|
||||||
{
|
{
|
||||||
ReloadScript();
|
reloadScript();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,7 @@ LRESULT CALLBACK SNewWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPar
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_CONTROL_RELOAD:
|
case ID_CONTROL_RELOAD:
|
||||||
ReloadScript();
|
reloadScript();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_HELP_ABOUT:
|
case ID_HELP_ABOUT:
|
||||||
|
|
Loading…
Reference in New Issue