* The "known" should be TRUE for cast/pray, FALSE for study
* </pre>
*/
-static int get_spell(SPELL_IDX *sn, cptr prompt, OBJECT_SUBTYPE_VALUE sval, bool learned, REALM_IDX use_realm)
+static int get_spell(COMMAND_CODE *sn, cptr prompt, OBJECT_SUBTYPE_VALUE sval, bool learned, REALM_IDX use_realm)
{
int i;
SPELL_IDX spell = -1;
*/
void do_cmd_browse(void)
{
- int item, sval;
+ OBJECT_IDX item;
+ OBJECT_SUBTYPE_VALUE sval;
REALM_IDX use_realm = 0;
int j, line;
SPELL_IDX spell = -1;
*/
void do_cmd_study(void)
{
- int i, item;
+ int i;
+ OBJECT_IDX item;
OBJECT_SUBTYPE_VALUE sval;
int increment = 0;
bool learned = FALSE;
*/
void do_cmd_cast(void)
{
- int item;
+ OBJECT_IDX item;
OBJECT_SUBTYPE_VALUE sval;
SPELL_IDX spell;
REALM_IDX realm;
* @param force TRUEならば強制的に落馬する
* @return 実際に落馬したらTRUEを返す
*/
-bool rakuba(int dam, bool force)
+bool rakuba(HIT_POINT dam, bool force)
{
int i, y, x, oy, ox;
int sn = 0, sy = 0, sx = 0;