Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
We need your help!
We need 1 more developer from Canada and 12 more from Australia to help us complete a research survey.
Support our site by taking a quick sponsored survey and win a chance at a $50 Amazon gift card. Click here to get started!
09 October 2013 - 06:13 AM
I offten use only uppercase fonts. Can I save space on texture?
23 February 2013 - 07:25 AM
I want register function
void StringUtils::removeSections( std::string* result, const std::string& html, const std::string& startStr, const std::string& endStr, bool withTags )
as script global function:
r = engine->RegisterGlobalFunction("void removeSections(string@, const string& in, const string& in, const string& in, bool)", asFUNCTION(StringUtils::removeSections), asCALL_CDECL); assert( r >= 0 );
and use it in script in that way:
removeSections(@strToRet, str, "<--", "-->", true);
print(strToRet + "\n");
But as i undestrund, to use "string@" the string must be the ref type. So I am confused, how make string Ref and Value type at the same time.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC