Introduce some infrastructure to permit games' print functions to

draw dotted lines. No puzzle yet uses this, but one's about to.

[originally from svn r8453]
This commit is contained in:
Simon Tatham
2009-02-22 12:05:38 +00:00
parent 9249f09619
commit 407f29c46f
7 changed files with 56 additions and 3 deletions

View File

@ -283,3 +283,8 @@ void print_line_width(drawing *dr, int width)
*/
dr->api->line_width(dr->handle, (float)sqrt(dr->scale) * width);
}
void print_line_dotted(drawing *dr, int dotted)
{
dr->api->line_dotted(dr->handle, dotted);
}