*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@980 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-26 23:06:37 +00:00
parent edd181435d
commit d5b3d27178
8 changed files with 22 additions and 20 deletions
+2 -4
View File
@@ -173,9 +173,8 @@ int text_visible(const char *str, int max)
}
// cut strings to fit on screen
vector<char *> text_block(const char *str, int max)
void text_block(const char *str, int max, vector<char *> &lines)
{
vector<char *> lines;
int visible;
while((visible = text_visible(str, max)))
{
@@ -191,7 +190,6 @@ vector<char *> text_block(const char *str, int max)
s_strncpy(t, str, visible+1);
str += visible;
}
return lines;
}
void draw_textf(const char *fstr, int left, int top, ...)
@@ -262,4 +260,4 @@ void draw_text(const char *str, int left, int top)
xtraverts += 4;
x += in_width + 1;
}
}
}