4 // INFO: A function strzones all strings that are passed as params and strzones its return param if it
5 // INFO: is a string (except if the function knows that the string passed is a zone string).
6 // INFO: Generally, if you only call builtin functions, you can use a temp string
7 // INFO: You should know that the VM has 16 temp string buffers, so if you could count how many it takes
8 // INFO: before you have to strzone something
9 // TODO: convert altstring and property
10 string() String_Create;
11 string( string pStr ) String_Zone; // use this for constants
12 string( string pStr ) String_Normal; // strunzones pStr and returns a temp buffer version of it
13 string( string pStr, string pSet ) String_Set; // copies pSet to a new strzoned string
14 string( string pStr ) String_Free;
16 string( string pStr, string pApp ) String_Append;
17 string( string pStr, float pStart, float pLength ) String_Substring;
19 void( entity pEntity, .string pField ) String_EntityCreate;
20 void( entity pEntity, .string pField ) String_EntityZone;
21 void( entity pEntity, .string pField, string pSet ) String_EntitySet;
22 void( entity pEntity, .string pField ) String_EntityFree;