*** 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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user