*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1178 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -40,7 +40,7 @@ void conline(const char *sf, bool highlight) // add a line to the console
|
||||
}
|
||||
}
|
||||
|
||||
const int CONSPAD = FONTH/3;
|
||||
#define CONSPAD (FONTH/3)
|
||||
|
||||
void conoutf(const char *s, ...)
|
||||
{
|
||||
@@ -50,7 +50,7 @@ void conoutf(const char *s, ...)
|
||||
puts(sp);
|
||||
s = sf;
|
||||
vector<char *> lines;
|
||||
text_block(s, VIRTW*2-2*CONSPAD-2*FONTH/3, lines);
|
||||
text_block(s, curfont ? VIRTW*2-2*CONSPAD-2*FONTH/3 : 0, lines);
|
||||
loopv(lines) conline(lines[i], i!=0);
|
||||
lines.deletecontentsa();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user