#include <SDL_timer.h>
#include "actors.h"
#include "cheat.h"
#include "gamewin.h"
#include "Gump_button.h"
#include "items.h"
#include "mouse.h"
#include "Spellbook_gump.h"
#include "spellbook.h"
#include "game.h"
#include "Gump_manager.h"
#include <cstdio>
Include dependency graph for Spellbook_gump.cc:
Go to the source code of this file.
Classes | |
class | Page_button |
class | Bookmark_button |
class | Spell_button |
Defines | |
#define | SPELLBOOK (GAME_BG ? 43 : 38) |
#define | SPELLS (GAME_BG ? 33 : 28) |
#define | TURNINGPAGE (GAME_BG ? 41 : 36) |
#define | BOOKMARK (GAME_BG ? 42 : 37) |
#define | LEFTPAGE (GAME_BG ? 44 : 39) |
#define | RIGHTPAGE (GAME_BG ? 45 : 40) |
#define | SCROLLSPELLS 66 |
#define | CIRCLE (GAME_BG ? 0x545 : 0x551) |
#define | CIRCLENUM (GAME_BG ? 0x545 : 0x552) |
Functions | |
int | Get_circle (int spell) |
int | Get_spell_gump_shape (int spell, int &shape, int &frame) |
Variables | |
const int | REAGENTS = 842 |
#define BOOKMARK (GAME_BG ? 42 : 37) |
Definition at line 49 of file Spellbook_gump.cc.
#define CIRCLE (GAME_BG ? 0x545 : 0x551) |
#define CIRCLENUM (GAME_BG ? 0x545 : 0x552) |
#define LEFTPAGE (GAME_BG ? 44 : 39) |
Definition at line 50 of file Spellbook_gump.cc.
#define RIGHTPAGE (GAME_BG ? 45 : 40) |
Definition at line 51 of file Spellbook_gump.cc.
#define SCROLLSPELLS 66 |
Definition at line 52 of file Spellbook_gump.cc.
Referenced by Spellscroll_gump::Spellscroll_gump().
#define SPELLBOOK (GAME_BG ? 43 : 38) |
Definition at line 46 of file Spellbook_gump.cc.
#define SPELLS (GAME_BG ? 33 : 28) |
#define TURNINGPAGE (GAME_BG ? 41 : 36) |
Definition at line 48 of file Spellbook_gump.cc.
Referenced by Spellbook_gump::change_page(), and Spellbook_gump::paint().
int Get_circle | ( | int | spell | ) | [inline] |
int Get_spell_gump_shape | ( | int | spell, | |
int & | shape, | |||
int & | frame | |||
) | [inline] |
Definition at line 71 of file Spellbook_gump.cc.
const int REAGENTS = 842 |
Definition at line 41 of file Spellbook_gump.cc.
Referenced by Spellbook_object::can_do_spell(), Spellbook_object::do_spell(), and Spellbook_gump::set_avail().