21 lines
509 B
Rust
21 lines
509 B
Rust
|
use crate::stoneage::*;
|
||
|
|
||
|
pub fn draw_map_none(d: &impl DrawArea)
|
||
|
{
|
||
|
// TODO: draw middle image
|
||
|
|
||
|
// draw top border (these are separate so the bottom draws over the top)
|
||
|
d.rect(Rect{x: 0, y: 0, w: d.w(), h: 18}, CR_DARK_RED);
|
||
|
|
||
|
// draw top text
|
||
|
d.text((4, 14), CR_RED, "Map Required To Proceed");
|
||
|
|
||
|
// draw bottom border
|
||
|
d.rect(Rect{x: 0, y: d.h() - 18, w: d.w(), h: 18}, CR_DARK_RED);
|
||
|
|
||
|
// draw bottom text
|
||
|
d.text((4, d.h() - 4), CR_RED, "CAS.qterm//CyberAcme Systems Inc.");
|
||
|
}
|
||
|
|
||
|
// EOF
|