Creates a placeholder screen that can be used for startup
| 1601 | |
| 1602 | // Creates a placeholder screen that can be used for startup |
| 1603 | void TelcomCreateStartupScreen(void) { |
| 1604 | TelcomStartScreen(DUMMY_SCREEN); |
| 1605 | |
| 1606 | TCBKGDESC backg; |
| 1607 | backg.color = BACKGROUND_COLOR; |
| 1608 | backg.caps = TCBGD_COLOR; |
| 1609 | backg.type = TC_BACK_STATIC; |
| 1610 | TCBMPDESC bmpdesc; |
| 1611 | bmpdesc.caps = 0; |
| 1612 | bmpdesc.type = TC_BMP_STATIC; |
| 1613 | bmpdesc.flags = 0; |
| 1614 | strcpy(bmpdesc.filename, "TelComInit.ogf"); |
| 1615 | /* |
| 1616 | $$TABLE_GAMEFILE "TelComInit.ogf" |
| 1617 | */ |
| 1618 | TCTEXTDESC textdesc; |
| 1619 | textdesc.type = TC_TEXT_FADE; |
| 1620 | textdesc.flags = TC_TEXTF_IN; |
| 1621 | textdesc.speed = 1.0f; |
| 1622 | textdesc.font = BBRIEF_FONT_INDEX; |
| 1623 | textdesc.caps = TCTD_TEXTBOX | TCTD_COLOR | TCTD_SPEED | TCTD_FONT; |
| 1624 | textdesc.textbox.left = 25; |
| 1625 | textdesc.textbox.right = 280; |
| 1626 | textdesc.textbox.top = 113; |
| 1627 | textdesc.textbox.bottom = 260; |
| 1628 | textdesc.color = GR_RGB(255, 255, 255); |
| 1629 | |
| 1630 | CreateBitmapEffect(&bmpdesc, MONITOR_MAIN, DUMMY_SCREEN); |
| 1631 | CreateTextEffect(&textdesc, TXT_TCPLEASEWAIT, MONITOR_MAIN, DUMMY_SCREEN); |
| 1632 | CreateBackgroundEffect(&backg, MONITOR_TOP, DUMMY_SCREEN); |
| 1633 | |
| 1634 | TelcomEndScreen(); |
| 1635 | } |
| 1636 | |
| 1637 | // Creates a placeholder screen that can be used for shutdown |
| 1638 | void TelcomCreateShutdownScreen(void) { |
no test coverage detected