#include "windows.h" /* for structs WinMeta, Win, init_win_meta(),
* draw_all_wins()
*/
#include "windows.h" /* for structs WinMeta, Win, init_win_meta(),
* draw_all_wins()
*/
* write_uint32_bigendian(), try_fopen(), try_fclose(),
* write_uint32_bigendian(), try_fopen(), try_fclose(),
*/
#include "map_objects.h" /* for structs MapObj, init_map_object_defs(),
* build_map_objects(), get_player()
*/
#include "map_objects.h" /* for structs MapObj, init_map_object_defs(),
* build_map_objects(), get_player()
* load_interface_conf(), load_game(), rrand()
*/
#include "wincontrol.h" /* get_win_by_id(), get_winconf_by_win() */
* load_interface_conf(), load_game(), rrand()
*/
#include "wincontrol.h" /* get_win_by_id(), get_winconf_by_win() */
#include "command_db.h" /* for init_command_db(), is_command_id_shortdsc() */
#include "control.h" /* for control_by_id(), player_control(),
* get_available_keycode_to_action()
#include "command_db.h" /* for init_command_db(), is_command_id_shortdsc() */
#include "control.h" /* for control_by_id(), player_control(),
* get_available_keycode_to_action()
if (0 == world.interactive)
{
file = try_fopen(recordfile, "r", f_name);
if (0 == world.interactive)
{
file = try_fopen(recordfile, "r", f_name);
try_fclose_unlink_rename(file, recordfile_tmp, recordfile, f_name);
}
world.mapseed = world.seed;
try_fclose_unlink_rename(file, recordfile_tmp, recordfile, f_name);
}
world.mapseed = world.seed;
if ( is_command_id_shortdsc(action, "drop")
|| is_command_id_shortdsc(action, "use"))
{
if ( is_command_id_shortdsc(action, "drop")
|| is_command_id_shortdsc(action, "use"))
{
if (EOF != action)
{
if ( is_command_id_shortdsc(action, "drop")
|| is_command_id_shortdsc(action, "use"))
{
if (EOF != action)
{
if ( is_command_id_shortdsc(action, "drop")
|| is_command_id_shortdsc(action, "use"))
{