Collaboration diagram for Battlefield Error State:
|
Files | |
| file | bflderrstate.c |
| Implements the operating state for the battlefield error screen (STATE_CODES::STATE_BFLDERR). | |
| file | bflderrstate.h |
| Defines the operating state for the battlefield error screen (STATE_CODES::STATE_BFLDERR). | |
Functions | |
| int | BfldErrInit () |
| Initalizes the data needed for the error screen. | |
| int | BfldErrRun () |
| Displays the error screen. | |
| int | BfldErrUninit () |
| Unloads the media needed for the error screen. | |
| int BfldErrInit | ( | ) |
Initalizes the data needed for the error screen.
Definition at line 92 of file bflderrstate.c.
References AddRenderItem(), background, BfldErrResize(), COLOR_BLACK, COLOR_REGBACK, COLOR_TEXT, colorFmtInd, colorVals, dInfo, DrawTank(), FONT_MESSAGE, FONT_SCORE, LAYER_BACKGROUND, LAYER_TANKS, DisplayInfo_t::lh, DisplayInfo_t::luh, DisplayInfo_t::luw, DisplayInfo_t::lw, DisplayInfo_t::ph, DisplayInfo_t::pw, RenderItem_t::renderer, SolidFillRenderer(), startTime, STATE_ERROR, STATE_OK, STRING_FIRECONT, STRING_TITLE, strings, Player_t::tank, tanks, TEXTITEM_ERRCONT, TEXTITEM_TITLE, textItems, and TextRenderString().
Here is the call graph for this function:

| int BfldErrRun | ( | ) |
Displays the error screen.
Definition at line 141 of file bflderrstate.c.
References BfldErrResize(), PlaceRenderItem(), ProcessNetworkMessages(), ResizeWindow(), Player_t::rot, startTime, STATE_BFLDERR, STATE_MENUROOT, STATE_QUIT, Player_t::tank, and tanks.
Here is the call graph for this function:

| int BfldErrUninit | ( | ) |
Unloads the media needed for the error screen.
Definition at line 128 of file bflderrstate.c.
References background, RenderItem_t::data, GenericSurfaceRenderer(), RemoveRenderItem(), RenderItem_t::renderer, STATE_OK, Player_t::tank, tanks, and TextUnsetState().
Here is the call graph for this function:

1.5.2