| 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: encyc_support.h ( POWDER Library, C++ ) |
| 11 | * |
| 12 | * COMMENTS: This defines support functions for the encyclopedia. |
| 13 | */ |
| 14 | |
| 15 | #ifndef __encyc_support__ |
| 16 | #define __encyc_support__ |
| 17 | |
| 18 | // Views a certain enumerated key from the given |
| 19 | // book. Book should be something like "GOD" or "SPELL". |
| 20 | void |
| 21 | encyc_viewentry(const char *book, int key); |
| 22 | |
| 23 | // This will add the given entry to the pager. This lets you |
| 24 | // add your own commentary berfore / afterwards. |
| 25 | void |
| 26 | encyc_pageentry(const char *book, int key); |
| 27 | |
| 28 | // Returns true if the given entry exists. |
| 29 | bool |
| 30 | encyc_hasentry(const char *book, int key); |
| 31 | |
| 32 | // Displays a specific spell's info. |
| 33 | void |
| 34 | encyc_viewSpellDescription(SPELL_NAMES spell); |
| 35 | |
| 36 | // Displays a specific skill's info. |
| 37 | void |
| 38 | encyc_viewSkillDescription(SKILL_NAMES skill); |
| 39 | |
| 40 | #endif |
| 41 |