Added additional instructions to readme.txt
This commit is contained in:
parent
686dd6c335
commit
5b9e214b83
@ -19,6 +19,8 @@ cd ANGELSCRIPT_DIR\sdk\angelscript\projects\gnuc
|
||||
make
|
||||
|
||||
==> angelscript.a
|
||||
==>change stk-code/cmakefilelists.txt (ctrl + f "angelscript)
|
||||
==>change stk-code/src/scriptengine/scriptengine.cpp line 254 as appropriate
|
||||
}
|
||||
|
||||
IF WINDOWS{
|
||||
@ -26,6 +28,8 @@ IF WINDOWS{
|
||||
Load the VS Project, Build the .lib
|
||||
|
||||
==>angelscriptd.lib
|
||||
==>change stk/cmakefilelists.txt (ctrl + f "angelscript)
|
||||
==>change stk-code/src/scriptengine/scriptengine.cpp line 254 as appropriate
|
||||
}
|
||||
|
||||
Copy the generated library file (.a or .lib) to stk-code/dependencies/lib
|
||||
|
@ -145,7 +145,7 @@ int RunApplication(std::string scriptName)
|
||||
asIScriptFunction *func = engine->GetModule(0)->GetFunctionByDecl("void onTrigger()");
|
||||
if( func == 0 )
|
||||
{
|
||||
std::cout << "The function 'float calc(float, float)' was not found." << std::endl;
|
||||
std::cout << "The function 'void onTrigger()' was not found." << std::endl;
|
||||
ctx->Release();
|
||||
engine->Release();
|
||||
return -1;
|
||||
@ -333,4 +333,4 @@ void PrintString_Generic(asIScriptGeneric *gen)
|
||||
{
|
||||
std::string *str = (std::string*)gen->GetArgAddress(0);
|
||||
std::cout << *str;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user