if (text) out << i << ':' << text << endl;
out << i << ':' << text << endl;
static void Write_text	(	ostream& out,	vector<char *>& strings		// Strings to write.	)	{	out << "# Written by Exult Textpack tool" << endl;	int cnt = strings.size();	for (int i = 0; i < cnt; i++)		{		char *text = strings[i];		if (strlen(text) + 1 > 1024)			{			cerr << "Text in entry " << i << " is too long"							<< endl;			exit(1);			}		if (text)			out << i << ':' << text << endl;		}	out.flush();	}