mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Allow a maximum of 26 lines, with L suffix
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
299ed90493
commit
1183083355
@@ -24,6 +24,8 @@ textboxclass::textboxclass(void)
|
||||
|
||||
rand = 0;
|
||||
|
||||
large = false;
|
||||
|
||||
print_flags = PR_FONT_LEVEL;
|
||||
}
|
||||
|
||||
@@ -117,7 +119,10 @@ void textboxclass::addline(const std::string& t)
|
||||
{
|
||||
lines.push_back(t);
|
||||
resize();
|
||||
if ((int) lines.size() >= 12) lines.clear();
|
||||
if ((int)lines.size() > (large ? 26 : 11))
|
||||
{
|
||||
lines.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void textboxclass::pad(size_t left_pad, size_t right_pad)
|
||||
|
||||
Reference in New Issue
Block a user