Theme_Shrine initializes the shrine theme. Parameters: - t: theme number (index into themes array).
| 539 | // Parameters: |
| 540 | // - t: theme number (index into themes array). |
| 541 | void Theme_Shrine(int t) |
| 542 | { |
| 543 | char monstrnd[4] = { 6, 6, 3, 9 }; |
| 544 | |
| 545 | TFit_Shrine(t); |
| 546 | if (themeVar1 == 1) { |
| 547 | AddObject(OBJ_CANDLE2, themex - 1, themey); |
| 548 | AddObject(OBJ_SHRINER, themex, themey); |
| 549 | AddObject(OBJ_CANDLE2, themex + 1, themey); |
| 550 | } else { |
| 551 | AddObject(OBJ_CANDLE2, themex, themey - 1); |
| 552 | AddObject(OBJ_SHRINEL, themex, themey); |
| 553 | AddObject(OBJ_CANDLE2, themex, themey + 1); |
| 554 | } |
| 555 | PlaceThemeMonsts(t, monstrnd[leveltype - 1]); |
| 556 | } |
| 557 | |
| 558 | // Theme_MonstPit initializes the monster pit theme. |
| 559 | // |
no test coverage detected