* @brief Start rendering of screen, town variation * @param StartX Center of view in dPiece coordinate * @param StartY Center of view in dPiece coordinate */
| 949 | * @param StartY Center of view in dPiece coordinate |
| 950 | */ |
| 951 | void DrawView(int StartX, int StartY) |
| 952 | { |
| 953 | DrawGame(StartX, StartY); |
| 954 | if (automapflag) { |
| 955 | DrawAutomap(); |
| 956 | } |
| 957 | if (stextflag && !qtextflag) |
| 958 | DrawSText(); |
| 959 | if (invflag) { |
| 960 | DrawInv(); |
| 961 | } else if (sbookflag) { |
| 962 | DrawSpellBook(); |
| 963 | } |
| 964 | |
| 965 | DrawDurIcon(); |
| 966 | |
| 967 | if (chrflag) { |
| 968 | DrawChr(); |
| 969 | } else if (questlog) { |
| 970 | DrawQuestLog(); |
| 971 | } |
| 972 | if (!chrflag && plr[myplr]._pStatPts != 0 && !spselflag |
| 973 | && (!questlog || SCREEN_HEIGHT >= SPANEL_HEIGHT + PANEL_HEIGHT + 74 || SCREEN_WIDTH >= 4 * SPANEL_WIDTH)) { |
| 974 | DrawLevelUpIcon(); |
| 975 | } |
| 976 | if (uitemflag) { |
| 977 | DrawUniqueInfo(); |
| 978 | } |
| 979 | if (qtextflag) { |
| 980 | DrawQText(); |
| 981 | } |
| 982 | if (spselflag) { |
| 983 | DrawSpellList(); |
| 984 | } |
| 985 | if (dropGoldFlag) { |
| 986 | DrawGoldSplit(dropGoldValue); |
| 987 | } |
| 988 | if (helpflag) { |
| 989 | DrawHelp(); |
| 990 | } |
| 991 | if (msgflag) { |
| 992 | DrawDiabloMsg(); |
| 993 | } |
| 994 | if (deathflag) { |
| 995 | RedBack(); |
| 996 | } else if (PauseMode != 0) { |
| 997 | gmenu_draw_pause(); |
| 998 | } |
| 999 | |
| 1000 | DrawControllerModifierHints(); |
| 1001 | DrawPlrMsg(); |
| 1002 | gmenu_draw(); |
| 1003 | doom_draw(); |
| 1004 | DrawInfoBox(); |
| 1005 | DrawLifeFlask(); |
| 1006 | DrawManaFlask(); |
| 1007 | } |
| 1008 |
no test coverage detected