//Copyright (C) 2007 SiegeLord
//See ReadMe.txt and License.txt for copying information

#include "engine.h"

//struct STextToken
//{
//	int start;
//	int end;
//	int start_x;
//};
//
//struct STextLine
//{
//	list<STextToken> tokens;
//	int width;
//};
//
//struct SText
//{
//	vector<STextLine> lines;
//	string txt;
//};

//void TokenizeText(SText* txt, float max_width, int start_line = 0);

int DrawTextLim(string* str, float x, float y, int start, float max_width, zColor color, FONT* fnt, int* out_width,
				   int* out_color, bool clip_words, bool draw);

void DrawText(const char* text, float x, float y, zColor color, FONT* fnt);
