/*
* React to global changes
*/
-static errr term_xtra_win_react(void)
+static errr term_xtra_win_react(player_type *player_ptr)
{
int i;
use_music = arg_music;
if (!arg_music) stop_music();
- else select_floor_music(p_ptr);
+ else select_floor_music(player_ptr);
}
/* Reset visuals */
#ifdef ANGBAND_2_8_1
- reset_visuals(p_ptr);
+ reset_visuals(player_ptr);
#else /* ANGBAND_2_8_1 */
reset_visuals(TRUE);
#endif /* ANGBAND_2_8_1 */
/*
+ * todo z-termに影響があるのでplayer_typeの追加は保留
* Do a "special thing"
*/
static errr term_xtra_win(int n, int v)
/* React to global changes */
case TERM_XTRA_REACT:
{
- return (term_xtra_win_react());
+ return (term_xtra_win_react(p_ptr));
}
/* Delay for some milliseconds */
if (arg_graphics != GRAPHICS_NONE)
{
arg_graphics = GRAPHICS_NONE;
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
}
if (arg_graphics != GRAPHICS_ORIGINAL)
{
arg_graphics = GRAPHICS_ORIGINAL;
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
}
if (arg_graphics != GRAPHICS_ADAM_BOLT)
{
arg_graphics = GRAPHICS_ADAM_BOLT;
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
}
if (arg_graphics != GRAPHICS_HENGBAND)
{
arg_graphics = GRAPHICS_HENGBAND;
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
}
}
arg_music = !arg_music;
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
break;
}
}
arg_sound = !arg_sound;
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
break;
}
use_bg = !use_bg;
init_bg();
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
Term_key_push(KTRL('R'));
break;
}
}
/* React to changes */
- term_xtra_win_react();
+ term_xtra_win_react(player_ptr);
/* Hack -- Force redraw */
Term_key_push(KTRL('R'));
}
+/*!
+ * todo WNDCLASSに影響があるのでplayer_type*の追加は保留
+ */
#ifdef __MWERKS__
LRESULT FAR PASCAL AngbandWndProc(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam);
}
+/*!
+ * todo WNDCLASSに影響があるのでplayer_type*の追加は保留
+ */
#ifdef __MWERKS__
LRESULT FAR PASCAL AngbandListProc(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam);