Theme_GoatShrine initializes the goat shrine theme. Parameters: - t: theme number (index into themes array).
| 850 | // Parameters: |
| 851 | // - t: theme number (index into themes array). |
| 852 | void Theme_GoatShrine(int t) |
| 853 | { |
| 854 | int xx, yy; |
| 855 | |
| 856 | TFit_GoatShrine(t); |
| 857 | AddObject(OBJ_GOATSHRINE, themex, themey); |
| 858 | for (yy = themey - 1; yy <= themey + 1; yy++) { |
| 859 | for (xx = themex - 1; xx <= themex + 1; xx++) { |
| 860 | if (dTransVal[xx][yy] == themes[t].ttval && !nSolidTable[dPiece[xx][yy]] && (xx != themex || yy != themey)) { |
| 861 | AddMonster(xx, yy, DIR_SW, themeVar1, TRUE); |
| 862 | } |
| 863 | } |
| 864 | } |
| 865 | } |
| 866 | |
| 867 | // Theme_Cauldron initializes the cauldron theme. |
| 868 | // |
no test coverage detected