| 1 | /* |
| 2 | * PROPRIETARY INFORMATION. This software is proprietary to POWDER |
| 3 | * Development, and is not to be reproduced, transmitted, or disclosed |
| 4 | * in any way without written permission. |
| 5 | * |
| 6 | * Produced by: Jeff Lait |
| 7 | * |
| 8 | * POWDER Development |
| 9 | * |
| 10 | * NAME: piety.h ( POWDER Library, C++ ) |
| 11 | * |
| 12 | * COMMENTS: |
| 13 | * This handles most of the deity related code. |
| 14 | * All the piety access functions that alter the global |
| 15 | * piety values are triggered through here. |
| 16 | */ |
| 17 | |
| 18 | #ifndef __piety__ |
| 19 | #define __piety__ |
| 20 | |
| 21 | class SRAMSTREAM; |
| 22 | class MOB; |
| 23 | class ITEM; |
| 24 | |
| 25 | // Reset all the piety scores to zero for a new game. |
| 26 | void piety_init(); |
| 27 | |
| 28 | // Load piety & god choice. |
| 29 | void piety_load(SRAMSTREAM &is); |
| 30 | |
| 31 | // Save the current piety & god choice. |
| 32 | void piety_save(SRAMSTREAM &os); |
| 33 | |
| 34 | GOD_NAMES piety_chosengod(); |
| 35 | int piety_chosengodspiety(); |
| 36 | void piety_setgod(GOD_NAMES god); |
| 37 | |
| 38 | #endif |