* Initializes all the elements in an error window. * @param game Pointer to the core game. * @param id Language ID for the message to display. * @param palette Parent state palette. * @param color Color of the UI controls. * @param bg Background image. * @param bgColor Background color (-1 for Battlescape). */
| 39 | * @param bgColor Background color (-1 for Battlescape). |
| 40 | */ |
| 41 | ErrorMessageState::ErrorMessageState(Game *game, const std::string &id, SDL_Color *palette, Uint8 color, std::string bg, int bgColor) : State(game) |
| 42 | { |
| 43 | create(id, L"", palette, color, bg, bgColor); |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Initializes all the elements in an error window. |