2000-02-03  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* NEWS: Updated.

	* configure.in: Change VERSION to 1.3.5.  Also update configure,
	etc.

2000-02-02  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* libhp/player.cc (change_scene): Use script::find_scene.
	(scene_xcall): Likewise.
	(close): Delete s.
	(open): Create a file_script for s.  Use static_cast on s.
	(data_prefix): Use static_cast on s.
	(player): Initialize s.

	* libhp/script.cc: Include config.h.
	(operator*, operator++, cursor_iterator, open_scene, arrange,
	open, close, frame_size, title, set_path, make_index): Removed.
	(script): Remove body.

	* libhp/Makefile.am (libhp_a_SOURCES): Add fscript.cc.

	* libhp/fscript.cc: New file.
	(operator*, operator++, cursor_iterator, find_scene, configure,
	open, ~file_script, file_script, make_index, set_search_path): New
	functions.

	* include/hyperplay/player.h (class player): Change member s to
	pointer.  Use file_script::set_search_path.

	* include/hyperplay/script.h (class script): Removed members
	cursor_iterator, begin_cursor, end_cursor, _path, _data_dir,
	data_dir, open, close, arrange, open_scene, file, scene_token,
	scene_map, scenes, make_index, and frame_size.  Add new members
	frame_width_a, frame_height_a, title_a, frame_width, frame_height,
	title, set_frame_size, set_title, configure, and find_scene.  Make
	the constructor protected.

	* include/hyperplay/file.h: Remove pragma pack's.
	(class chunk): Moved to scene.h.
	(class file_script): New class.

	* include/hyperplay/scene.h (class chunk): Moved from file.h.

	* include/hyperplay/view.h (class gadget_manager): Add comments.

	* include/hyperplay/gadget.h: Removed.
	* include/hyperplay/sound.h: Removed.

	* include/hyperplay/view.h (struct frame, class gadget, class
	gadget_manager, class sound_manager): Moved from gadget.h and
	sound.h.

2000-01-30  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/gadget.h (class gadget): Rename nested type
	vertex to point.  Also change all users.
	(class gadget_manager): Add new member load_image.
	(load_image): New function.

	* include/hyperplay/gtk.h (class gtk_frame): Remove member
	set_view.  Modify constructor.

	* libhpgtk/frame.cc (gtk_frame): Add view * argument.  Also change
	all callers.
	(set_view): Removed.

	* libhp/view.cc (set_main_frame): Remove call to frame::set_view.

	* include/hyperplay/gadget.h (struct frame): Moved from view.h.
	Remove member set_view.

	* include/hyperplay/view.h (struct frame): Removed.

	* libhp/Makefile.am (noinst_LIBRARIES): Replace libhpcore with
	libhp.  Also change all users.

	* libhp: Moved from lib/core.
	* libhpgtk: Moved from lib/gtk.
	* lib/Makefile.am: Removed.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add gadget.h and
	sound.h.

	* TODO: Modified.

	* include/hyperplay/view.h (class view): Add new member gm.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Remove shape.cc.
	Replace visualobj.cc with gadget.cc.  Add gmanager.cc.

	* lib/core/gmanager.cc: New file.

	* lib/core/shape.cc: Removed.

	* lib/core/gadget.cc: Renamed from visualobj.cc.
	(gadget::shape::inside): Moved from shape.cc.

	* include/hyperplay/visual.h (class shape): Removed and replaced
	by class gadget::shape.  Also change all users.
	(class object): Removed and replaced by class gadget.  Also change
	all users.

	* include/hyperplay/sound.h: New file.
	(class sound_manager): New class.

	* include/hyperplay/gadget.h: New file.
	(class gadget): New class.
	(class gadget_manager): New class.

1999-11-18  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* TODO: Modified.

1999-11-16  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* TODO: Modified.

	* NEWS: Modified.

1999-11-14  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* NEWS: Updated.

	* configure.in: Set VERSION to 1.3.4.

1999-10-16  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/core/file.cc (check_file_signature): Pass pointer instead of
	array to equal.

	* NEWS: Update.

	* README: Change doc.

	* include/hyperplay/timer.h (class timer): Change less<entry> to
	entry_less.
	* lib/core/timer.cc (timer): Updated.

1999-09-16  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* NEWS: Update.

	* configure.in: Set VERSION to 1.3.3.

1999-09-15  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/gtk/frame.cc: Add throw() to all glue functions.

	* TODO: Update.

	* NEWS: Update.

	* configure.in: Add AC_ISC_POSIX.  Remove
	include/hyperplay_gtk/Makefile from AC_OUTPUT.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add gtk.h.

	* include/Makefile.am (SUBDIRS): Remove hyperplay_gtk.

	* include/hyperplay/gtk.h: Moved from
	include/hyperplay_gtk/frame.h.  Also change all uses.

	* include/hyperplay_gtk/frame.h: Add comments.

	* bin/gtk/xhpplay.cc: Add comments.
	(display_help): Modify message text.

	* lib/gtk/frame.cc (handle_expose_event): New function, replacing
	a version of update_area with GdkDrawable argument.
	(handle_motion_notify_event, handle_button_press_event,
	handle_timeout): Changed to non-static functions with local glue
	functions.
	(handle_expose_event, handle_destroy): New functions with local
	glue functions.
	(create_widget): Use the glue functions as the handlers.
	(gtk_frame): Likewise.
	(~gtk_frame): Remove gtk_idle_remove_by_data.
	(redraw_widget, remove_widget): Removed.
	(handle_timeout): Do not use any idle handler.

	* include/hyperplay_gtk/frame.h (class gtk_frame): Replace static
	handler functions with equivalent non-static functions.  Remove
	update_area with a GdkDrawable argument.

	* TODO: Update.

	* bin/gtk/xhpplay.cc: Change `--scripts-dir' option to
	`--script-path'.
	(player_app): Set script search path.
	(main): Do not set scripts directory.

	* include/hyperplay/player.h (class player): Add member
	set_script_path.

	* lib/core/script.cc (SCRIPT_PATH_ENV_NAME): New macro.
	(open): Use search path.
	(set_path): New function.
	(script): Set initial search path.
	(set_sripts_dir): Removed.

	* include/hyperplay/script.h (class script): Remove member
	static_scripts_dir and set_scripts_dir, and add members set_path
	and _path.

	* bin/gtk/xhpplay.cc: Add gettext support.

	* bin/gtk/Makefile.am (INCLUDES): Add define for LOCALEDIR.

	* acconfig.h: Add gettext defs.

	* configure.in (ALL_LINGUAS): Add gettext support.

	* Makefile.am (SUBDIRS): Add intl and po.

	* bin/gtk/xhpplay.cc (main): Fix message typo.

1999-09-14  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* bin/gtk/xhpplay.cc (main): Add check for too many arguments.
	(main): Do not set scripts directory by default.

	* lib/core/script.cc: Add DEFAULT_SCRIPTS_DIR.

	* lib/core/Makefile.am (INCLUDES): Add define for PKGDATADIR.

	* NEWS: Add new news.

	* bin/gtk/Makefile.am (bin_PROGRAMS): Change xhp to xhpplay.
	(xhpplay_SOURCES): Change main.cc to xhpplay.cc.

	* bin/gtk/xhpplay.cc: Renamed from main.cc.

	* TODO: Add new entries.

	* lib/core/player.cc (player): Initialize _state to STOPPED.
	(play): Set _state to PLAYING.
	(advance): Check if this player is playing.
	(close): Set _state to STOPPED.

	* include/hyperplay/player.h (class player): Add enum player_state
	and member _state.

	* bin/gtk/main.cc (class player_app): New class.
	(run, create_window, player_app): New functions.
	(main): Use player_app.

	* README: Add notes about the mailing list.

	* configure.in: Add description for _GNU_SOURCE.

	* Makefile.am (dist-snapshot, distcheck-snapshot): Removed.

	* configure.in: Add AC_CONFIG_SUBDIRS for hpsak.

	* Makefile.am (SUBDIRS): Add @subdirs@.

1999-09-11  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* bin/gtk/main.cc (main): Set scripts directory with
	script::set_scripts_dir.  Modify call to player::open.

	* lib/core/player.cc (open): Remove the second argument.  Use new
	script::open method.
	(data_prefix): Use script::data_dir.

	* include/hyperplay/player.h (class player): Remove member
	a_data_prefix.  Remove the second argument of open.

	* lib/core/script.cc (open): Use static_scripts_dir.
	(script) [const string &]: Removed.
	(set_scripts_dir): New function.

	* include/hyperplay/script.h (class script): Add members
	static_scripts_dir, set_scripts_dir, _data_dir, data_dir.  Remove
	constructor with argument, and modify argument of open.

1999-09-10  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Move config.h to the top directory from include.
	Add more tests.

	* TODO: Add entry.

	* configure.in: Set VERSION to 1.3.2.

	* NEWS: Add news.

	* lib/core/player.cc (open): Append / to prefix.

	* bin/gtk/main.cc (main): Remove call of add_player.
	(parse_options): Add `--script-dir' option.
	(display_help): Add text for `--script-dir'.
	(main): Change argc test condition.
	(main): Use script-dir.

	* lib/gtk/frame.cc: Use _view instead of _player.
	(set_view): New function.
	(add_player): Removed.

	* include/hyperplay_gtk/frame.h (class gtk_frame): Add member
	_view and set_view, and remove _player and add_player.

	* include/hyperplay/view.h (struct frame): Replace member
	add_player to set_view.
	(class view): Change destructor virtual.
	(class view): Add member tick and advance.

	* lib/core/view.cc (set_main_frame): Call set_view for
	_main_frame.

	* bin/gtk/main.cc (main): Use class player instead of class
	gtk::player.

	* lib/gtk/frame.cc (add_player): Change argument to class player.

	* include/hyperplay_gtk/frame.h (class gtk_frame): Change member
	player to _player.  Also change all users.
	(class gtk_frame): Change argument of add_player to class player.

	* include/hyperplay_gtk/Makefile.am (noinst_HEADERS): Remove
	player.h.

	* include/hyperplay_gtk/player.h: Removed.

	* lib/gtk/Makefile.am (libhpgtk_a_SOURCES): Remove player.cc.

	* lib/gtk/player.cc: Removed.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Rename playerbase.cc
	to player.cc.

	* lib/core/player.cc: Renamed from playerbase.cc.

	* include/hyperplay/view.h (struct frame): Change argument of
	class player_base to class player.

	* lib/core/playerbase.cc: Rename functions of class player_base to
	class player.

	* include/hyperplay/player.h (class player): Renamed from class
	player_base.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Remove
	playerimpl.h.

	* include/hyperplay/playerimpl.h: Removed.

	* lib/core/playerbase.cc (play, close, open): New functions,
	copying from class basic_player.
	(invisible_1, image_1, poly_1, place_1, variation_1, map_1,
	cursor_1, bind_1, bind_event_1, refresh_1, sound_1, play_sound_1,
	music_1, music_repeat_1, play_music_1, stop_music_1): New
	functions, copying from class basic_player.
	(add_commands): New function.
	(create_interpreter): Use add_commands to add commands.

	* include/hyperplay/player.h (class player_base): Add members
	open, close, and play.
	(class basic_player): Removed.

1999-09-04  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/gtk/frame.cc (handle_idle): Remove unnecessary cast.

	* include/hyperplay/playerimpl.h (advance): Move to class
	player_base.

	* include/hyperplay/player.h (basic_player): Move member advance
	to player_base.

	* lib/gtk/frame.cc (handle_button_press_event): Remove unnecessary
	casts.
	(handle_motion_notify_event): Likewise.

	* lib/core/view.cc (~view): Add code from old basic_player's
	destructor.
	(view): Initialize new members.

	* include/hyperplay/playerimpl.h (clear_frame,
	add_modified_region, refresh, assign, set_shape, put, select,
	set_visible, bind, notify_motion, press_button): Moved to class
	view in view.cc
	(~basic_player, basic_player): Removed.

	* include/hyperplay/player.h (class basic_player): Move members
	managed_objects, layers, on_layer, min_modified_x, max_modified_x,
	min_modified_y, max_modified_y, clear_frame, refresh,
	add_modified_region, clear_modified_region, modified, assign,
	set_shape, put, select, set_visible, bind, notify_motion, and
	press_button to class view.  Removed constructor and destructor.

	* include/hyperplay/playerimpl.h: Use main_frame() instead of
	_main_frame.

	* include/hyperplay/view.h (class view): Make _main_frame private.

	* bin/gtk/main.cc (main): Call add_player here.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add view.h.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Add view.cc.

	* lib/core/playerbase.cc (set_main_frame): Removed.
	(player_base): Remove initialize of _main_frame.

	* lib/core/view.cc: New file.
	(set_main_frame, view): New function.

	* include/hyperplay/player.h: Move NLAYERS, event_type, and struct
	frame to view.h.
	(class player_base): Add view to base class.  Move struct layer,
	members _main_frame, main_frame, and set_main_frame to class view.

	* include/hyperplay/view.h: New file.
	(class view): New class.

	* include/hyperplay/playerimpl.h: Use _main_frame instead of scr.
	(basic_player): Remove initialize of scr.

	* lib/core/playerbase.cc (set_main_frame): Moved from class
	basic_player.
	(player_base): Initialize _main_frame.

	* include/hyperplay/player.h: Move NLAYERS out of class.
	(class basic_player): Remove typedef frame_type.
	(class player_base): Move struct layer from basic_player.
	(class player_base): Move member scr of basic_player as
	_main_frame.
	(class player_base): Move members main_frame and set_main_frame
	from basic_player.

	* bin/gtk/main.cc (main): Make f of type gtk::gtk_frame.

	* include/hyperplay/playerimpl.h (set_main_frame): New function.
	(~basic_player): Remove delete scr.
	(basic_player): Leave scr unset.

	* include/hyperplay/player.h (class basic_player): Add member
	set_main_frame.  Rename member frame to main_frame.

	* include/hyperplay/playerimpl.h: Remove player_fns methods.

	* include/hyperplay/player.h (struct player_fns): Removed.

	* ChangeLog: Doc fix.

	* include/hyperplay_gtk/player.h (struct
	frame_traits<gtk::gtk_frame>): Removed.

	* include/hyperplay/player.h (struct frame_traits): Removed.

	* lib/core/image.cc: Renamed from visualimage.cc.
	* lib/core/visualobj.cc: Renamed from objectbase.cc.
	* lib/core/Makefile.am (libhpcore_a_SOURCES): Change file names.

	* include/hyperplay/playerimpl.h: Change all use of object_type
	and visual::basic_image.

	* lib/gtk/player.cc: Remove include "hyperplay/imageimpl.h".

	* include/hyperplay/player.h (basic_player): Remove typedef
	object_type.  Also change all uses to visual::object.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Add visualimage.cc.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Remove
	imageimpl.h.

	* lib/core/objectbase.cc: Change class name object_base to object.

	* lib/core/visualimage.cc: Moved from
	include/hyperplay/imageimpl.h and changed to normal source.
	Untemplateize functions and remove constructor.

	* include/hyperplay/visual.h (class object): Merged object_base
	and basic_object.
	(class image, class text): Untemplateize.
	(image): Add template constructor.

	* include/hyperplay/imageimpl.h (draw): Change argument.

	* include/hyperplay/visual.h (class basic_object): Change argument
	of draw.  Also change derived classes.

	* lib/gtk/frame.cc: Add static_casts.
	(add_player): Change argument.

	* include/hyperplay_gtk/frame.h (class gtk_frame): Change member
	player to player_base *.  Change argument of add_player.

	* bin/gtk/main.cc (main): Add dynamic_cast.

	* include/hyperplay/player.h (struct frame): Add members
	add_player, set_size, draw_rgb, and draw_rgba.
	(class basic_player): Change members scr and frame to class frame
	*.

	* lib/gtk/frame.cc (handle_button_press_event): Return if button
	is unknown.
	(update_area): Use gtk_widget_queue_draw_area.

	* include/hyperplay_gtk/frame.h (class gtk_frame): Renamed from
	frame.  Also change all users.
	(class gtk_frame): Add frame to virtual base.  Rename member
	update to update_area.

	* include/hyperplay/player.h (struct frame): New struct.

	* bin/gtk/Makefile.am (xhp_SOURCES): Add getopt.c and getopt1.c.
	(noinst_HEADERS): Add getopt.h.
	(INCLUDES): Add definition of PKGDATADIR.

	* bin/gtk/main.cc (_): New macro.
	(parse_options, display_help): New functions.
	(main): Handle options.
	(main): Abort if an unhandled exception is caught.

	* bin/gtk/getopt.c, bin/gtk/getopt1.c, bin/gtk/getopt.h: New file
	from glibc.

	* Rename subdirectory prog to bin.
	* Makefile.am (SUBDIRS): Changed.
	* configure.in: Change AC_OUTPUT list.

1999-06-17  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* Makefile.am (dist-snapshot distcheck-snapshot): Change version
	numbering for snapshots.

	* configure.in: Set VERSION to 1.3.1.

	* README: Modified.

	* NEWS: Modified.

	* TODO: Modified.

	* lib/gtk/frame.cc (create_widget): Connent "button_press_event"
	to its handler.
	(handle_button_press_event): Add code to call press_button of the
	player.

	* include/hyperplay/playerimpl.h (press_button): New funtion.
	Also change the class definition.

	* include/hyperplay/player.h (class basic_player): Update members.

	* include/hyperplay/playerimpl.h (set_shape): New function.
	(poly): Removed.
	(poly_1): Implemented.

	* lib/core/objectbase.cc (set_shape): New function.  Also change
	the class definition.

	* lib/core/playerbase.cc (struct hplay_commands): Remove struct's
	execute_1 and if_else_1.
	(create_interpreter): Remove replaced commands.

	* lib/core/interp.cc (if_1, do_1): New functions.
	(interpreter): Add new commands.

	* include/hyperplay/playerimpl.h: Reformat functions.
	Remove `using namespace interp' from unnamed namespace.
	(bind_1): Make a block before the switch.

	* lib/core/interp.cc: Reformat functions.
	(dyadic_1): Handler code error in the switch statement.

	* include/hyperplay/interp.h (class interpreter): Change the type
	of command_handler to pass context using reference instead of
	pointer.  Also change all users.

	* prog/gtk/Makefile.am (xhp_LDADD): Remove use of libhpinterp.a.

	* lib/core/Makefile.am (noinst_LIBRARIES): Change from
	lib_LIBRARIES.
	(noinst_LIBRARIES): Remove libhpinterp.a from the list.
	(libhpcore_a_SOURCES): Add interp.cc to the list.

	* lib/gtk/frame.cc (handle_button_press_event): New function.
	Also change the class definition.
	(handle_motion_notify_event): Add assertion check.
	(create_widget): Add GDK_BUTTON_PRESS_MASK to the interested
	events.

	* TODO: Modified.

	* lib/core/hppng.cc (open): Add gamma correction code.

	* lib/gtk/frame.cc (draw_rgba): Improve alpha blending.

1999-06-15  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Remove include/hplay/Makefile from output.

	* lib/core/hppng.cc: Include <cerrno>.

	* lib/core/chunk.cc (store, load): Use size_t for vector
	construction.

1999-06-13  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* TODO: Modified.

	* include/hyperplay/visual.h (class object_base): Modify members.

	* include/hyperplay/playerimpl.h (notify_motion): Use
	object_base::inside.

	* lib/gtk/frame.cc (update): Fix adjustments.
	(update): Add log message.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Add objectbase.cc.

	* lib/core/objectbase.cc: New file.

	* lib/core/hppng.cc (read): Get address of rows.

	* include/hyperplay/playerimpl.h (clear_frame): Reset on_layer.
	(put): Eval the leave binding if pointer is on the layer.
	(bind, notify_motion): New functions.
	(bind_1): Implemented.
	(basic_player): Initialize on_layer.

	* lib/gtk/frame.cc (handle_motion_notify_event): New function.
	(create_widget): Connect "motion_notify_event" to a handler.

	* include/hyperplay/player.h (enum event_type): New enum.
	(struct layer): Add event_bindings.
	(class basic_player): Add member on_layer.

	* TODO: Modified.

	* NEWS: Modified.

	* lib/gtk/frame.cc (update): Add arguments for update area.  Also
	change all callers.

	* include/hyperplay/playerimpl.h (add_modified_region): New
	function.
	(refresh): Call clear_modified_region.
	(put, select): Call add_modified_region.
	(advance): Call refresh only if modified.
	(basic_player): Initialize new members.
	(refresh): Add test for mapped.
	(select): Do nothing if not changed.
	(set_visible): New function.  Also change class definition.
	(map_1): Implement the function.

	* include/hyperplay/player.h (class basic_player): Add members
	min_modified_x, max_modified_x, min_modified_y, and
	max_modified_y.
	(class basic_player): Add add_modified_region,
	clear_modified_region, and modified.

	* lib/core/hppng.cc (read, open, ~png_reader, png_reader): New
	functions.

	* include/hyperplay/imagefile.h (namespace file): New namespace.
	(class png_reader): Add members.

	* include/hyperplay/playerimpl.h (refresh): Call Frame:update.
	(select): New function.  Also change class definition.
	(image_1): Use class png_reader.
	(variation_1): Implement the function.

	* include/hyperplay/visual.h (class raw_image): Change type of
	pixel_size.

	* prog/gtk/Makefile.am (bin_PROGRAMS): Rename gtkhplay to xhp.
	Also change automake macros.

	* include/hyperplay/imageimpl.h (draw, basic_image): Implement the
	function.
	(~basic_image): New function.

	* include/hyperplay/playerimpl.h (image_1): Use class
	visual::raw_image.

	* lib/core/timer.cc: Fix comments.

	* include/hyperplay/visual.h (class basic_object): Change
	arguments order of draw.  Also change derived classes and all
	users.
	(class basic_image): Change members.
	(class basic_image): Change constructor arguments, add destructor.

	* lib/gtk/frame.cc (draw_rgb, draw_rgba): Change arguments order.
	Also change the header and all users.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Add rawimage.cc.

	* lib/core/rawimage.cc: New file.

1999-06-11  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/visual.h (class raw_image): Add friend
	declaration, and change the destructor protected.

	* include/Makefile.am (noinst_HEADERS): Removed.

	* include/rcptr.h: Removed.

	* include/hyperplay_gtk/player.h (frame_traits<gtk::frame>):
	Remove use of rc_base.

	* include/hyperplay/player.h: Remove #include "rcptr.h"

	* include/hyperplay/Makefile.am (noinst_HEADERS): Change the file
	order.

	* lib/core/world.cc: Include "config.h", and change "" to <> for
	hyperplay headers.
	* lib/core/scene.cc: Likewise.
	* lib/core/color.cc: Likewise.

	* configure.in: Move config.h into include.

	* include/hyperplay/visual.h (class raw_image): Moved from
	imagefile.h and renamed from image_buffer.

	* lib/core/Makefile.am (lib_LIBRARIES): Change the build order.
	(libhpcore_a_SOURCES): Change the file order.

	* lib/core/hppng.cc: #if'd out.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Remove hppnglib.c
	from the list.

	* lib/core/hppnglib.cc: Removed.

	* include/Makefile.am (SUBDIRS): Remove hplay from the list.

	* include/hplay/png.h: Removed.
	* include/hplay/view.h: Removed.  Also change all uses of
	hplay_point to use visual::point instead.
	* include/hplay/Makefile.am: Removed.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add imagefile.h.

	* include/hyperplay/imagefile.h: New file.

	* lib/gtk/frame.cc (draw_rgb, draw_rgba): New functions.

1999-06-10  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/gtk/frame.cc (set_size): Reallocate rgb_buf.
	(~frame): Deallocate rgb_buf.
	(frame): Allocate rgb_buf.
	(redraw_widget): Use gdk_draw_rgb_image.
	(update): New functions.
	(refresh): Removed.
	(redraw_widget): Use frame::update.
	(remove_widget): Change code using remove.

	* include/hyperplay_gtk/frame.h (class frame): Remove member
	frame_image, and add rgb_buf.

	* prog/gtk/main.cc (main): Call gdk_rgb_init.

1999-06-08  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Add checks for -lz, -lpng, and <png.h>.

	* include/hyperplay/playerimpl.h (image_1, place_1): Implement the
	functions.
	(refresh, put): New functions.
	(advance): Use basic_player::refresh.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add imageimpl.h.

	* include/hyperplay/imageimpl.h: New file.

	* include/hyperplay/visual.h (struct point): Moved out of class
	shape.
	(class object_base): Implement constructor.
	(class basic_image): Add member subimages and the constructor.

	* lib/core/shape.cc (inside): Bug fix and small optimization.

	* lib/core/interp.cc: Include "config.h".

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Add shape.cc.

	* lib/core/shape.cc: New file.

	* include/hyperplay/visual.h (class shape): New class.
	(class object_base): Add member shape and remove default
	constructor.

1999-06-07  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/visual.h (class basic_object): Add pure
	virtual draw.
	(class basic_image, basic_text): Add member draw.

	* include/hyperplay/playerimpl.h (advance): Revert the last
	change.

	* lib/gtk/frame.cc: Change TIMEOUT_INTERVAL to 20.

	* lib/gtk/frame.cc (~frame): Remove idle handler using handler
	data.
	(frame): Remove code to add an idle handler.
	(handle_idle): Return FALSE for this handler to be removed.
	(handle_timeout): Add an idle handler after tick.

	* include/hyperplay_gtk/frame.h (class frame): Remove
	idle_handler_id.

	* include/hyperplay/playerimpl.h (advance): Do not refresh if
	nothing is processed.

	* lib/gtk/frame.cc (refresh): Add log message.

	* lib/core/playerbase.cc (var_1, set_var_1): New function.
	(struct property_1, set_property_1): Removed.
	(create_interpreter): Change commands.

	* include/hyperplay/player.h (class player_base): Add member
	functions var and set_var.

	* lib/core/world.cc (var, set_var): New function.  Also change the
	class definition.

	* include/hyperplay/interp.h (class context): Push a zero to
	o_stack at construction.

	* include/hyperplay/playerimpl.h (advance): Use reset_timer.
	(reschedule_1): Removed.
	(create_interpreter): Remove "reschedule.1".

	* lib/core/playerbase.cc (after_1): Reformat code.
	(sync_time_1): New function.
	(create_interpreter): Add commands.

	* include/hyperplay/player.h (class player_base): Add member functions sync_time and reset_timer, and remove timer.

	* lib/core/timer.cc (tick): Call block::eval.

	* lib/core/interp.cc (make_block): Removed.

	* include/hyperplay/interp.h (class block): Moved out of class
	interpreter.  Also change all users.

	* include/hyperplay/playerimpl.h (basic_player): Call
	Frame::add_player.

	* lib/gtk/frame.cc (add_player): Renamed from add_timer, and
	rewrote.
	(~frame): Remove idle and timeout handlers.
	(frame): Change initializations.
	(frame): Add timeout and idle handlers.
	(handle_idle, hanle_timeout): New function.

	* include/hyperplay_gtk/frame.h (class frame): Add members
	timeout_handler_id, idle_handler_id, and player, and remove
	event_timer.

	* include/hyperplay/player.h (class basic_player): Change advance
	to public.
	(class player_base): Add member tick.

	* lib/core/timer.cc (schedule): #if out code to add new entry to
	pending_entries.

1999-06-06  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/playerimpl.h (after_1): Removed.
	(create_interpreter): Remove "after.1".

	* lib/core/playerbase.cc: Add support for Nana.
	(after_1): New function.
	(create_interpreter): Add new command and reorder.

	* include/hyperplay/player.h (class player_base): Add member
	schedule.

	* include/hyperplay/playerimpl.h (basic_player): Call
	Frame::add_timer.
	(advance): Call clear_frame and timer::reset.

	* lib/gtk/frame.cc (frame): Initialize event_timer.
	(add_timer): New function.

	* include/hyperplay_gtk/frame.h (class frame): Add member
	event_timer.

	* lib/core/timer.cc (tick): Update timestamp.
	(reset): Update epoch.

	* include/hyperplay/player.h (class player_base): Change member
	event_timer mutable, and add member function timer.

	* include/hyperplay/playerimpl.h (clear_frame): Renamed from
	erase.  Also change the class definition and all users.

	* lib/core/Makefile.am (libhpcore_a_SOURCES): Add timer.cc.

	* lib/core/timer.cc: New file.

	* include/hyperplay/player.h (class player_base): Add member
	event_timer.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add timer.h.

	* include/hyperplay/timer.h: New file.

	* lib/core/script.cc (arrange): Use interpreter::configure.

	* include/hyperplay/interp.h (class interpreter): Change bind
	protected, and change the destructor virtual.

	* lib/core/interp.cc (configure): New function.

	* lib/gtk/player.cc: Add support for Nana.

	* include/hyperplay/playerimpl.h: Add logging for command
	handlers.

	* include/hyperplay/interp.h: Move byte_type definition to
	types.h.  Also change all users.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add types.h.

	* include/hyperplay/types.h: New file.

	* lib/gtk/player.cc (define_commands): Removed.

	* include/hyperplay/playerimpl.h (erase): New function.
	(assign): Changed for new members.
	(basic_player): Call erase, and remove call to define_commands.
	(~basic_player): Delete all the managed objects.

	* include/hyperplay/player.h (class basic_player): Add struct
	layer and members managed_objects and layers, and remove
	component_type, object_table and members ot, define_commands.
	(class basic_player): Add typedef-name object_type.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add visual.h.

	* include/hyperplay/visual.h: New file.

1999-06-05  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/player.h (class player_base): Change the order
	of members, and include inline function definitions.

	* lib/core/playerbase.cc (struct call_1, xcall_1): Remove the use
	of argument interp.

	* lib/core/interp.cc (abort): New function.
	(stop): Removed.  Also change all users to use context::abort.

	* include/hyperplay/interp.h (class context): Change the order of
	data members.

	* lib/core/interp.cc (dispatch): New function.
	(execute): Use interpreter::dispatch.
	(interpreter): Use stricter types.

	* include/hyperplay/interp.h (class interpreter): Remove friend
	for class context.

	* include/hyperplay/playerimpl.h (invisible_1, image_1, poly_1,
	place_1, variation_1, map_1, cursor_1, bind_1, bind_event_1,
	after_1, reschedule_1, refresh_1, sound_1, play_sound_1, music_1,
	music_repeat_1, play_music_1, stop_music_1): New functions.
	(create_interpreter): New function.

	* lib/core/playerbase.cc (create_interpreter): New function.
	(set_interp): Remove calls to add_command.

	* include/hyperplay/player.h (class player_base): Add
	interp::command_data to base classes.

	* lib/core/interp.cc (bind): Change exception.

	* prog/gtk/main.cc (main): Make exception message more
	descriptive.

	* include/hyperplay/player.h: Include "rcptr.h".

	* include/hyperplay/interp.h: Remove use of "rcptr.h".
	(class command): Remove rc_base from
	base classes.

	* lib/core/interp.cc (define): Removed.
	(interpreter): Clear command bindings.

	* lib/core/playerbase.cc (change_scene): Use
	interpreter::create_context.

	* include/hyperplay/interp.h (class context): Change constructor
	protected.

	* lib/core/playerbase.cc (struct immediate_1, pop_1, duplicate_1,
	binary_1, object_1, end_object_1): Removed.
	(set_interp): Remove commands.

	* lib/core/interp.cc (pop_1, duplicate_1, dyadic_1,
	begin_domain_1, end_domain_1): New function.
	(interpreter): Add new commands.

	* lib/core/script.cc (arrange): Modify signature and use
	interpreter::bind.  Also update all callers.

	* lib/core/playerbase.cc (define): Removed.
	(player_base): Remove calls of define.

	* include/hyperplay/script.h (class script): Remove typedef
	command_table.

	* include/hyperplay/player.h (class player_base): Remove member ct.

	* lib/core/playerbase.cc (set_interp): Call add_command for each
	command.

	* lib/core/interp.cc (create_context, bind, add_command): New
	functions.
	(~interpreter): Delete elements of command_objects.
	(immediate_1): New function.
	(interpreter): Add "immediate.1" command.

	* include/hyperplay/interp.h (class interpreter): Add members:
	named_commands and command_objects.

	* lib/core/interp.cc (define(int, command_handler, command_data)):
	New overriding function.
	(define(int, const rc_ptr<>)): Use the new function.
	(execute): Changed for new commands.
	(glue_command): New function.
	Add support for Nana.

	* include/hyperplay/interp.h (namespace interp): New namespace.
	Also change all uses of names in this file.
	(struct command_data): New class.
	(class context): Add interp function.
	(class command): Moved out of class interpreter.  Also change all
	uses.
	(class command): Add command_data as virtual base class.
	(class interpreter): Change type of commands.  Also change all
	uses.

	* Makefile.am (dist-snapshot distcheck-snapshot): Add
	distcheck-snapshot.

	* configure.in: Remove PRCS keyword substitution.

1999-04-29  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/gtk/frame.cc (redraw_widget, remove_widget): Modify log
	message format.

	* configure.in: Add `--with-nana'.

1999-04-28  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/gtk/frame.cc [HAVE_NANA_H]: Include <cstdio>.
	[!HAVE_NANA_H] (I): Remove arg list.
	(create_widget): Replace pointer test with assertion.
	(create_widget): Add a created widget to widgets vector.

1999-04-26  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/playerimpl.h (open): Set the interpreter.

	* lib/core/playerbase.cc (change_scene): Update the use of the
	interpreter.
	(set_interp): New function.
	(player_base): Initialize the new data member.

	* include/hyperplay/player.h (class player_base): Keep the pointer
	to an interpreter.  Change the member private.
	(class player_base): Add members interp and set_interp.

	* prog/gtk/main.cc (main): Call p.play.

	* include/hyperplay/player.h (template class basic_player):
	Updated.

	* include/hyperplay/playerimpl.h (play): Remove arguments and the
	open code.
	(open): Add initialization code moved from play.

	* prog/gtk/Makefile.am (gtkhplay_LDADD): Update the library dir.

	* configure.in: Update the AC_OUTPUT list and the AC_INIT file.

	* lib/Makefile.am (SUBDIRS): Add core.

	* Makefile.am (SUBDIRS): Remove hplay.

	* lib/core: Moved from ../hplay.

1999-04-25  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* lib/gtk/frame.cc: Add logging via Nana.

	* prog/gtk/main.cc (main): Connect "delete_event".

	* lib/gtk/frame.cc (after_realize): Removed.  Also update the
	class definition.

	* include/hyperplay_gtk/frame.h (class frame): Update members.

	* lib/gtk/frame.cc (set_size): Do nothing if the size is
	unchanged.
	(set_size): Recreate frame_image.
	(frame): Restroy frame_image.
	(frame): Create frame_image
	(redraw_widget): New function.
	(on_expose_event): Removed.
	(create_widget): Connect "expose_event".
	(remove_widget): Add variable widget.

	* prog/gtk/main.cc (main): Use gtk::frame::create_widget.

	* lib/gtk/frame.cc (create_widget): New function.
	(widget): Removed.
	(remove_widget): New function.
	(on_destroy): Removed.

	* include/hyperplay_gtk/frame.h (class frame): Replace member
	drawing_area with widgets.

	* include/hyperplay_gtk/player.h (template struct frame_traits):
	Rename content_type to component_type.
	* include/hyperplay/player.h (template class basic_player):
	Likewise.  Also update implementation.

1999-04-23  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/playerimpl.h (play): Set the frame size.

	* lib/gtk/frame.cc (set_size): Fix function name.

	* include/hyperplay_gtk/frame.h (class frame): Add new member
	function set_size.

	* lib/gtk/frame.cc (set_size): New function.

	* include/hyperplay/player.h (template class basic_player): Change
	data member private from protected.

	* prog/gtk/main.cc (main): Use gtk::player instead of gtk_player.
	(main): Remove the use of player::widget.

	* include/hyperplay/playerimpl.h (poly): Comment out all code.
	(advance): Comment out some code.
	(play): Comment out some code.
	(close, open): New function.
	(basic_player): Create new frame.

	* include/hyperplay/player.h (template class basic_player):
	Comment out member t.
	(template class basic_player): Add member functions: frame, open,
	close.
	
	* lib/gtk/player.cc (widget, close, open, gtk_player,
	~gtk_player): Removed.
	Instantiate basic_player<gtk::frame>.

	* include/hyperplay_gtk/player.h (class gtk_player): Removed.
	(namespace gtk): Typedef player.

	* lib/gtk/frame.cc (refresh): New function.

	* include/hyperplay_gtk/frame.h (_HYPERPLAY_GTK_FRAME_H): Renamed
	from HPLAYX_SCREEN_H.
	Modify comments.
	(namespace hyperplay): Add `using namespace std'.
	(class frame): Remove timer_type.
	(class frame): Add member function refresh.

	* include/hyperplay_gtk/player.h (_HYPERPLAY_GTK_PLAYER_H):
	Renamed from _HYPERPLAY_GTKPLAYER_H.

	* include/hyperplay_gtk/Makefile.am (noinst_HEADERS): Modify the
	file name.

	* include/hyperplay_gtk/frame.h: Renamed from screen.h.  Also
	change all users.

	* lib/gtk/Makefile.am (libhpgtk_a_SOURCES): Modify the file name.

	* lib/gtk/frame.cc: Renamed from screen.cc.

	* lib/gtk/screen.cc: Include <cstddef>.

	* include/hyperplay_gtk/screen.h (class frame): Renamed from
	hplayx_screen.  Also change all references.

	* include/hyperplay_gtk/Makefile.am (hpgtkincludedir): New macro.

	* include/hyperplay/Makefile.am (hpincludedir): Renamed from
	hpgtk_includedir.  Modify the directory.

1999-04-22  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Move config.h to the top dir.

	* include/hyperplay/player.h: Rename template parameter Screen to
	Frame.

	* hplay/Makefile.am (libhpcore_a_SOURCES): Change file order.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add
	playerimple.h.
	(hpgtk_includedir): New macro.

	* prog/gtk/Makefile.am (gtkhplay_LDADD): Change the library name.
	(gtkhplay_LDADD): Use top_builddir.

	* lib/gtk/Makefile.am: Rename libhplayx.a to lbhpgtk.a.

	* lib/Makefile.am (SUBDIRS): Add gtk.

	* Makefile.am (SUBDIRS): Remove hplayx.

	* configure.in: Change the output list.

	* lib/gtk: Moved from hplayx.

	* hplay/Makefile.am (libhpcore_a_SOURCES): Change the file list.

	* hplay/playerbase.cc: Renamed from playbase.cc.

	* hplayx/player.cc: Include <hyperplay/playerimpl.h>.

	* include/hyperplay/player.h: Move template implementation to
	playerimpl.h.

	* include/hyperplay/playerimpl.h: New file.

	* include/hyperplay/player.h (template struct player_fns): Renamed
	from hplay_player_fns.

	* include/hyperplay_gtk/player.h (struct frame_traits): New struct
	specialization.
	(struct frame): Removed.
	
	* include/hyperplay/player.h (template class basic_player):
	Renamed from hplay_player.  Also change all references.
	(template struct hplay_player_fns): Remove the second parameter
	Frame.
	(template class basic_player): Remove the second parameter Frame.
	(template struct frame_traits): New struct template.
	(template class basic_player): Remove or replace all uses of
	Frame.

	* hplay/playbase.cc (HPLAY_IMPLEMENTATION): Removed.
	Add support for "config.h".
	Modify comments.
	Add `using namespace std'.

	* include/hyperplay/player.h: Remove pragmas.
	(namespace hyperplay): Add `using namespace std'.
	(namespace hyperplay): Move HPLAY_API decls first.
	(class player_base): Renamed from hplay_player_base.  Also change
	all references.

	* Makefile.am (SUBDIRS): Add lib.

	* configure.in: Add lib/Makefile to output.

	* lib/Makefile.am: New file.

	* include/hyperplay/player.h (_HYPERPLAY_PLAYER_H): Renamed from
	HPLAY_PLAYER_H.
	Put declarations in namespace hyperplay.
	Remove hyperplay:: prefix.

	* hplayx/player.cc: Add support for "config.h".

	* hplayx/screen.cc: Remove pragma.
	(HPLAY_IMPLEMENTATION): Removed.
	Modify comments.
	Add support for "config.h".

	* include/hyperplay_gtk/player.h (gtk_player): Add prefix
	gtk:: to hplayx_screen.
	* hplayx/player.cc: Likewise.

	* hplayx/screen.cc: Add `using namespace's.

	* include/hyperplay_gtk/screen.h: Modify comments.
	Remove pragma.
	(class hplayx_screen): Put in hyperplay::gtk.

1999-04-21  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* acconfig.h: Modify comments.

	* README: Modified.

	* TODO: Modified.

	* include/hplayx: Removed.
	* include/Makefile.am (SUBDIRS): Remove hplayx.
	* configure.in: Remove the Makefile from output.

	* include/hyperplay_gtk/screen.h: Moved from include/hplayx.  Also
	change all #include's.
	* include/hyperplay_gtk/Makefile.am (noinst_HEADERS): Add
	screen.h.
	* include/hplayx/Makefile.am (noinst_HEADERS): Remove screen.h.

	* include/hyperplay_gtk/player.h: Moved from include/hplayx.  Also
	change all #include's.
	* include/hyperplay_gtk/Makefile.am (noinst_HEADERS): Add
	player.h.
	* include/hplayx/Makefile.am (noinst_HEADERS): Remove player.h.

	* prog/gtk/main.cc: Undefine const.

	* include/hyperplay_gtk/Makefile.am: New file.
	* include/Makefile.am (SUBDIRS): Add hyperplay_gtk.
	* configure.in: Add the new Makefile to output.

1999-04-20  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* misc/environment.h: Removed.  Also remove all use of class
	environment.
	* misc/Makefile.am: Removed.

	* hplay/Makefile.am (INCLUDES): Remove -I${top_srcdir}/misc.
	* hplayx/Makefile.am (INCLUDES): Likewise.
	* prog/gtk/Makefile.am (INCLUDES): Likewise.

	* configure.in: Remove misc/Makefile from output.

	* Makefile.am (SUBDIRS): Remove misc.

	* NEWS.ja: Modified.

	* Makefile.am (EXTRA_DIST): Add VERSION-ID.

	* VERSION-ID: New file.

	* NEWS: Modified.

	* prog/gtk/main.cc (main): Make prefix.

	* hplayx/player.cc (environment): Remove use of g_debug.
	(open): Add the second argument.  Also update the header.

	* prog/gtk/main.cc: Include <cstdio>.

	* configure.in: Use config.h.
	Define _GNU_SOURCE.
	Require GTK+ 1.2.0 or later.
	* acconfig.h: New file.

	* hplayx/Makefile.am (bin_PROGRAMS, xhplay_SOURCES, xhplay_LDADD):
	Removed.

	* prog/Makefile.am: New file.
	* prog/gtk/Makefile.am: New file.
	* configure.in: Add the new Makefiles to output.
	* Makefile.am (SUBDIRS): Add prog.

1999-02-18  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hyperplay/player.h: Update the header comments.

	* hplay/interp.cc: Update the header comments.  Remove pragma.
	Modify include.
	(execute): Moved from interpreter to context.  Update all uses
	too.

	* include/hyperplay/interp.h: Move byte_type out of interpreter.
	(class context): Moved out of interpreter.  Update all refs too.
	(class context): Add interp member.

	* include/hyperplay/player.h: Moved from include/hplay/player.h.
	Update all refs too.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove player.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add player.h.

	* include/hplayx/player.h (class gtk_player): Renamed from
	hplayx_player.  Update all refs too.

	* hplayx/player.cc (close): New function.  Update the header too.
	(open): Open the document and the script.
	(widget): Use the frame size from the script.

	* hplayx/main.cc (main): Catch exceptions.

	* hplay/file.cc (close): Do not close if not open.

	* hplayx/player.cc: Add using namespace's for std and hyperplay.
	Update the header comment.
	(HPLAY_IMPLEMENTATION): Removed.
	Remove pragma for GNU C++.

	* include/hplayx/player.h: Update the header comments.
	(_HYPERPLAY_GTKPLAYER_H): Renamed from HPLAYX_PLAYER_H.
	Remove pragma for GNU C++.
	(class hplayx_player): Moved in namespace hyperplay.  Update all
	refs too.
	(struct frame): Renamed from hplayx_frame and moved into namespace
	hyperplay::gtk.  Update all refs too.

1999-02-17  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* Makefile.am (dist-snapshot): Suffix with x.

	* hplayx/main.cc: Update the header comment really.
	(main): Use hplayx_player::open.

	* include/hyperplay/world.h: Remove hyperplay:: prefix.
	* include/hyperplay/document.h: Likewise.

	* hplay/interp.cc: Add using namespace's for std and hyperplay.

	* include/hyperplay/interp.h: Update the header comment.
	(_HYPERPLAY_INTERP_H): Renamed from HPLAY_INTERPRETER_H.
	Remove pragma for GNU CC.
	Modify include's.
	Enclose decls into namespace hyperplay.
	(class interpreter): Renamed from hplay_interpreter.  Update all
	refs too.

	* include/hyperplay/interp.h: Moved from
	include/hplay/interpreter.h.  Update all refs too.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove interpreter.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add interp.h.

	* hplayx/main.cc (main): Test for an argument.

	* include/hplay/player.h: Remove #ifdef HPLAY_IMPLEMENTATION.

	* include/rcptr.h: Add #include <cstdlib>.

	* hplayx/main.cc: Update the header comments.
	Add using namespace's for std and hyperplay.
	(main): Open the main document.

	* hplay/document.cc: Update the header comments.  Modify
	include's.
	Remove hyperplay:: prefixes from names.

	* include/hyperplay/document.h: Update the header comment.
	(_HYPERPLAY_DOCUMENT_H): Renamed from HPLAY_DOCUMENT_H.
	(class document): Renamed from hplay_document, and put into
	namespace hyperplay.  Update all refs too.

	* include/hyperplay/document.h: Moved from
	include/hplay/document.h.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove document.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add document.h.

	* include/hyperplay/world.h (class world): Modified based on map.
	Update all refs too.

	* include/hyperplay/world.h (class world): Renamed from
	hplay_world.  Update all refs too.

	* include/hyperplay/world.h (domain): Modified to typedef.  Update
	all refs too.

	* include/hyperplay/Makefile.am (noinst_HEADERS): Add scene.h.

	* hplay/world.cc: Update the header comments.
	(HPLAY_IMPLEMENTATION): Removed.
	Remove #pragma for GNU CC.

	* hplay/scene.cc: Include scene.h instead of script.h.

	* include/hyperplay/scene.h: New file.
	* include/hyperplay/script.h (class scene): Moved to scene.h.

	* include/hyperplay/world.h (class variable): Moved from
	domain::property.  Update all refs.

	* include/hyperplay/world.h (class domain): Moved out from
	hplay_world::object.  Update all refs.

	* TODO: Updated.

	* include/hyperplay/world.h (namespace hyperplay): Enclose decls
	into the namespace.  Update all refs.
	* hplay/world.cc: Add using namespace's for std and hyperplay.
	* hplay/playbase.cc: Add using namespace hyperplay.

	* include/hyperplay/world.h: Update the header comments.
	(_HYPERPLAY_WORLD_H): Renamed from HPLAY_WORLD_H.
	Remove #pragma for GNU CC.

	* include/hyperplay/world.h: Moved from include/hplay/world.h.
	Update all refs.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove world.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add world.h.

1999-02-12  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplay/Makefile.am (noinst_LIBRARIES): Rename libhplay.a to
	libhpcore.a.
	(lib_LIBRARIES): Renamed from noinst_LIBRARIES.

	* hplayx/Makefile.am (xhplay_LDADD): Updated.

	* hplay/scene.cc: New file.
	* hplay/script.cc: Remove code for class chunk.
	* hplay/Makefile.am (libhplay_a_SOURCES): Add scene.cc.

	* include/hyperplay/script.h (class scene): Moved out of class
	script.  Update all uses too.

	* hplay/Makefile.am (libhplay_a_SOURCES): Reorder files.

	* hplay/script.cc: Update the header comments.

	* include/hyperplay/script.h: Update the header comments.
	(_HYPERPLAY_SCRIPT_H): Renamed form HPLAY_SCRIPT_H.
	Enclose decls in namespace hyperplay.
	(class script): Renamed from hplay_script.  Update all uses too.

	* include/hplay/script.h: Moved to include/hyperplay/script.h.
	Update all uses too.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove script.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add script.h.

	* hplay/chunk.cc (chunk): Make constructors out-of-line.

	* hplay/Makefile.am (libhplay_a_SOURCES): Reorder files.

	* hplay/chunk.cc: New file.
	* hplay/file.cc: Remove code for class chunk.

	* hplay/color.cc: Update the header comments.
	(fade): Update using max_value.

	* include/hyperplay/color.h (struct color): Add max_value.

	* include/hyperplay/file.h (class chunk): Moved out of data_file.
	Update all uses too.

	* include/hyperplay/color.h: Add using namespace std.

	* include/hyperplay/file.h: Update the copyright comments.
	(_HYPERPLAY_FILE_H): Renamed from HPLAY_FILE_H.
	Enclose decls in namespace hyperplay.
	(class data_file): Renamed from hplay_file.
	Update all uses too.

	* include/hplay/file.h: Moved to include/hyperplay/file.h.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove file.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add file.h.
	* hplay/file.cc: Update #include.
	* include/hplay/document.h: Likewise.
	* include/hplay/script.h: Likewise.
	* include/hplay/world.h: Likewise.

	* include/hplayx/player.h (hplayx_frame>): Remove use of auto_ptr.
	* hplayx/player.cc: Update all accesses for it.

	* hplayx/Makefile.am (xhplay_LDADD): Add ../hplay/libhpinterp.a.

	* include/hplay/document.h: Remove #include <auto_ptr.h>.

1999-02-11  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* include/hplay/file.h (class hplay_file): Remove use of auto_ptr.
	Update all accesses.
	* include/hplay/player.h (class hplay_player): Likewise.

	* hplay/hppng.cc: Add #include <stdexcept>.
	* hplay/hppnglib.cc: Likewise.

	* hplay/Makefile.am (INCLUDES): Add -D__HYPERPLAY__
	* hplayx/Makefile.am (INCLUDES): Likewise.

	* include/hyperplay/color.h (color_component_type): Renamed from
	hplay_color_value.
	(struct color): Renamed from hplay_color.
	Update all uses.
	(struct transparent_color): Renamed from hplay_alpha_color.
	Update all uses.

	* include/rcptr.h: Moved from include/rcptr.h.
	Modify the copyright comments.
	(class rc_ptr): Remove operator== and operator!=.
	* include/Makefile.am (noinst_HEADERS): Add rcptr.h.

	* include/hplay/color.h: Move to include/hyperplay/color.h.
	Update all includes.
	* include/hyperplay/color.h: Update the copyright comments.
	(__HYPERPLAY_COLOR_H): Rename the include-once macro.
	(hyperplay): Enclose decls in namespace hyperplay.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove color.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add color.h.

	* include/hplay/interpreter.h (hplay_interpreter): Use
	std::runtime_error instead of hplay_error.
	* hplay/document.cc (script_name): Likewise.
	* hplay/hppng.cc (hplay_png_reader): Likewise.
	* hplay/script.cc (arrange): Likewise.
	* hplay/playbase.cc (save): Likewise.
	(load): Likewise.
	* hplay/hppnglib.cc (libpng): Likewise.
	(create_struct): Likewise.
	(error): Likewise.
	* hplay/file.cc (store): Likewise.
	(load): Likewise.
	(read): Likewise.
	(advance): Likewise.
	(check_file_signature): Likewise.
	(read_uint32): Likewise.
	(extract): Likewise.
	(close): Likewise.
	(open): Likewise.
	(hplay_file): Likewise.

	* hplay/error.cc: Removed.
	* hplay/Makefile.am (libhplay_a_SOURCES): Remove error.cc.

	* include/hyperplay/defs.h (class hplay_error): Removed.

	* hplay/Makefile.am (noinst_LIBRARIES): Add libhpinterp.a.
	(libhpinterp_a_SOURCES): Add interp.cc, moving from
	libhplay_a_SOURCES.

	* include/hplay/def.h: Moved to include/hyperplay/defs.h.
	Update all includes.
	* include/hyperplay/defs.h: Modify the copyright comments.
	Modify the include-once macro.
	* include/hplay/Makefile.am (noinst_HEADERS): Remove def.h.
	* include/hyperplay/Makefile.am (noinst_HEADERS): Add defs.h.
	
	* NEWS: Updated.

1999-02-10  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* NEWS: Updated.

	* hplayx/hplayx: Moved to include/hplayx.
	* hplayx/Makefile.am (SUBDIRS): Removed.
	* include/Makefile.am (SUBDIRS): Add hplayx.
	* configure.in: Update AC_OUTPUT.

	* Makefile.am (AUTOMAKE_OPTIONS): Removed.

	* include/hplay/def.h: Include <stdexcept> instead of
	<stdexcept.h>.

	* TODO: Updated.

	* include/hplay/file.h: Include <string> instead of <nstring.h>.
	* include/hplay/script.h: Likewise.
	* include/hplay/interpreter.h: Likewise.
	* include/hplay/player.h: Likewise.
	* include/hplay/world.h: Likewise.
	* include/hplay/document.h: Likewise.
	* include/hplay/def.h: Likewise.

	* hplay/*.cxx: Renamed to .cc suffix.
	* hplay/Makefile.am (libhplay_a_SOURCES): Updated.
	* configure.in: Adjust AC_INIT.

	* hplayx/Makefile.am (INCLUDES): Remove -I${top_srcdir}/common.

	* common/Makefile.am: Removed.
	* Makefile.am (SUBDIRS): Remove common.
	* configure.in: Remove common/Makefile.
	Adjust AC_INIT.

	* common: Move contents into hplay.
	* hplay/Makefile.am (libhplay_a_SOURCES): Adjust paths.
	(VPATH): Removed.
	(INCLUDES): Remove -I${top_srcdir}/common.

	* common/Makefile.am (dist-hook): Target removed.

	* common/hplay: Move contents into include/hplay.
	* include/hplay/Makefile.am (noinst_HEADERS): Adjust paths.

	* include/Makefile.am (SUBDIRS): Add hplay.
	* hplay/Makefile.am (SUBDIRS): Removed.
	(INCLUDES): Add -I${top_srcdir}/include.
	* hplayx/Makefile.am (INCLUDES): Edit ${top_srcdir}/hplay to
	${top_srcdir}/include.
	* configure.in: Adjust AC_OUTPUT.

	* hplay/hplay: Moved to include/hplay.

	* Makefile.am (SUBDIRS): Remove ww, hplaywin, win32, watcom, and
	demo.
	* configure.in: Likewise for AC_OUTPUT Makefiles.

	* COPYING.LIB: Removed.

	* Makefile.am (dist-snapshot): New target.

1998-11-16  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Add include/Makefile and
	include/hyperplay/Makefile to AC_OUTPUT.
	* Makefile.am (SUBDIRS): Add include.

	* include/Makefile.am: New file.
	* include/hyperplay/Makefile.am: New file.

	* NEWS: Update.
	* NEWS.ja: Update.

1998-06-03  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* NEWS: Add ProjectVersion.
	* NEWS.ja: Likewise.

1998-05-27  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/player.cc (open): New function.
	* hplayx/hplayx/player.h (class hplayx_player): Update class.

	* NEWS.ja: Renamed from NEWS.
	* NEWS: New file.
	* Makefile.am (EXTRA_DIST): Add NEWS.ja.

	* NEWS: Add news.

	* configure.in: Omit stl/Makefile from AC_OUTPUT.
	* Makefile.am (SUBDIRS): Omit stl.

1998-05-20  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* os2/*: Removed.
	* Makefile.am (EXTRA_DIST): Add README-unix.ja.
	(SUBDIRS): Omit os2.
	* configure.in: Use `AM_PATH_GTK' instead of `AC_PATH_XTRA'.
	Omit os2/Makefile from `AC_OUTPUT'.
	* hplayx/Makefile.am (INCLUDES): Use `GTK_CFLAGS' instead of
	`X_CFLAGS'.
	(GTK_LIBS): Removed.

Sat Dec  6 16:36:34 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/screen.cc (on_expose_event): New function.
	(widget): Connect "expose_event".

	* hplayx/hplayx/screen.h (class hplayx_screen): Add static signal
	functions: on_destroy, after_realize, and on_expose.

	* hplayx/screen.cc (widget): Pass this to signal functions.
	(hplayx_screen): Initialize frame_image.
	(after_realize): Create GDK image.
	(on_destroy): Destroy GDK image.

	* hplayx/hplayx/screen.h (class hplayx_screen): Add frame_image.

Sat Dec  6 16:29:08 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* README-unix.ja: Change egcs to lower case.

	* README-unix.ja: New file.
	* Makefile.am (EXTRA_DIST): Add README-unix.ja.
	* README.ja: Add notes for interim releases.

Thu Nov 27 21:02:05 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/hplayx/screen.h (class hplayx_screen): Add members: width
	and height.
	* hplayx/screen.cc (widget): Use them.
	(hplayx_screen): Initialize width and height.

	* hplayx/screen.cc (after_realize): New function.
	(on_destroy): New function.
	(widget): Connect signals to the new functions.

Wed Nov 26 20:54:26 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/hplayx/player.h (class hplayx_player): Add screen.
	(class hplayx_player): Remove widget.
	(class hplayx_player): Update functions.

	* hplayx/player.cc (widget): Rename get_widget.
	(widget): Use hplayx_screen object.
	(~hplayx_player): Remove widget destruction.
	(hplayx_player): Remove widget initialization.

	* hplayx/hplayx/screen.h (class hplayx_screen): Add new members.

	* hplayx/screen.cc (widget): New function.
	(hplayx_screen): New function.
	(~hplayx_screen): New function.

Wed Nov 26 19:19:25 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/hplayx/screen.h: Add pragma.

	* hplayx/screen.cc: New file.
	* hplayx/Makefile.am (libhplayx_a_SOURCES): Add screen.cc.

	* hplayx/main.cc (main): Get widget from player.

	* hplayx/hplayx/player.h (class hplayx_player): Add new members.

	* hplayx/player.cc: Add pragma.
	(get_widget): New function.
	(~hplayx_player): Destroy widget.
	(hplayx_player): Initialize widget to NULL.

	* hplayx/hplayx/player.h: Add pragma.
	(struct hplayx_screen): Move to hplayx/hplayx/screen.h.

	* hplayx/hplayx/screen.h: New file.
	* hplayx/hplayx/Makefile.am (noinst_HEADERS): Add screen.h.

Wed Nov 26 17:55:48 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/hplayx/player.h: Put copyright.
	* hplayx/main.cc: Likewise.
	* hplayx/player.cc: Likewise.

	* COPYING.LIB: Got new version from the GNU archives.

Tue Nov 25 20:12:47 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Remove testdata/Makefile from AC_OUTPUT.
	* Makefile.am (SUBDIRS): Drop testdata.

Tue Nov 25 18:48:23 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplay/hplay/color.h: Move from common/hplay.
	* hplay/hplay/world.h: Likewise.
	* hplay/world.cc: Move from common.
	* hplay/hplay/Makefile.am (noinst_HEADERS): Update.
	* hplay/Makefile.am (libhplay_a_SOURCES): Update.

	* configure.in: Add hplay/hplay/Makefile.

	* hplay/Makefile.am (noinst_HEADERS): Move to
	hplay/hplay/Makefile.am.
	(SUBDIRS): Add hplay.
	* hplay/hplay/Makefile.am: New file.

Mon Nov 24 23:39:51 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* hplayx/hplayx/Makefile.am (noinst_HEADERS): Add player.h.

	* hplayx/main.cc (main): Create toplevel.
	(main): Create player.

	* hplayx/Makefile.am (INCLUDES): Add include dirs.
	(noinst_LIBRARIES): Build libhplayx.a.
	(libhplayx_a_SOURCES): Add player.cc.
	(xhplay_LDADD): Add libhplayx.a.

	* common/playbase.cxx (struct hplay_commands): Do not use eassert
	but assert.

	* common/hplay/player.h (hplay_player): Use value_type for vector
	initialization.

Mon Nov 24 20:03:41 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* configure.in: Drop win/Makefile from AC_OUTPUT.
	Add hplayx/hplayx/Makefile to AC_OUTPUT.
	* Makefile.am (SUBDIRS): Drop win.

	* Move files from win to hplaywin.
	* hplaywin/Makefile.am (EXTRA_DIST): Update.

	* hplayx/Makefile.am: New file.
	* hplayx/main.cc: New file.

	* configure.in: Add hplayx/Makefile to AC_OUTPUT.
	* Makefile.am (SUBDIRS): Add hplayx and reorder.

Mon Nov 24 19:23:26 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* common/document.cxx: Remove `#include <eassert.h>'.

	* common/file.cxx (key_type): Do not use eassert.
	(store): Likewise.
	(load): Likewise.
	(read): Likewise.
	(advance): Likewise.
	(check_file_signature): Likewise.
	(extract): Likewise.
	(close): Likewise.
	(open): Likewise.
	(hplay_file): Likewise.
	(hplay_file): Likewise.

	* common/hplay/player.h (play): Do not use eassert.

	* common/script.cxx (scene): Do not use eassert.
	(operator*): Likewise.
	(operator++): Likewise.
	(cursor_iterator): Likewise.
	(make_index): Likewise.

	* hplaywin/Makefile.am (INCLUDES): Removed.
	(EXTRA_LIBRARIES): Removed.
	(EXTRA_PROGRAMS): Removed.
	(hplay_LDADD): Removed.
	(noinst_HEADERS): Removed.
	(VPATH): Removed.
	(libhplayw_a_SOURCES): Removed.
	(hplay_SOURCES): Removed.
	(EXTRA_DIST): Add all source files.

	* hplay/color.c: Move common/color.cxx.
	* hplay/Makefile.am (libhplay_a_SOURCES): Update.

	* configure.in: Undef WINELIB, MCIDEVICEID, and MCIERROR.

Mon Nov 24 18:27:17 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* common/hplay/file.h (operator!=): New function.

Mon Nov 24 13:29:10 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* common/hplay/script.h [!__GNUC__] (operator!=): Do not define.

	* common/script.cxx (arrange): Do not use local class.

	* common/hplay/player.h (struct hplay_player_fns): Use typename.

	* common/hplay/interpreter.h (class hplay_trivial_command): Add
	typedefs.

	* hplay/error.cc (what): Add throw-spec.

	* hplay/Makefile.am (noinst_LIBRARIES): Build libhplay.a.

Mon Nov 24 12:33:18 1997  Kaz Sasayama  <Kaz.Sasayama@hypercore.co.jp>

	* win/hplayw/sensor.h: Remove `#include <bool.h>'.
	* win/hplayw/timer.h: Likewise.
	* win/hplayw/timekeeper.h: Likewise.
	* win/hplayw/audio.h: Likewise.

	* hplay/error.cc: Move from common/error.cxx.
	* hplay/Makefile.am (libhplay_a_SOURCES): Move error.cc.

	* configure.in: Let PRCS update VERSION.

Sat Sep 27 22:17:36 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Makefile.am (SUBDIRS): Add watcom.

	* configure.in: Output watcom/Makefile.

	* Makefile.am (EXTRA_DIST): Omit DIST and makedist.
	(dist-hook): Removed.

	* watcom/Makefile.am: New file.
	* watcom/DIST: Removed.
	* DIST: Removed.
	* makedist: Removed.

	* Makefile.am (SUBDIRS): Change subdirs.

	* configure.in: Define WINELIB, MCIDEVICEID and MCIERROR.
	Change output Makefiles.
	* configure: Regenerate.

	* Move hplaylib/win/* to hplaywin.
	* Move hplaylib/* to hplay.

Thu Jun 19 10:55:40 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* hplaylib/win/winmain.cc (WinMain): Use GetFullPathName to find a 
	file name prefix.
	(WinMain): Set locale to the system default.

Wed Jun 18 13:15:52 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/winmain.cxx: Removed.
	* hplaylib/win/Makefile.am (hplay_SOURCES): Use local file.
	* hplaylib/win/winmain.cc: New file.

Wed Jun 18 13:06:34 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* hplaylib/Makefile.am (VPATH): Remove @top_srcdir@/win.
	(SUBDIRS): New macro.
	(INCLUDES): Remove win and ww.
	(EXTRA_PROGRAMS): Removed.
	(libhplay_a_SOURCES): Removed ../win/*.
	(hplay_SOURCES): Removed.
	(hplay_LDADD): Removed.
	(noinst_HEADERS): Removed ../win/hplayw/*.
	Makefile.in generated by automake.

	* configure.in: Add hplaylib/win/Makefile to AC_OUTPUT.  configure 
	and other files regenerated.
	* hplaylib/win/Makefile.am: New file.  Makefile.in regenerated.

Mon Jun 16 12:42:14 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Makefile.am (SUBDIRS): Add stl.
	* configure.in: Add stl/Makefile and ww/ww/Makefile.

	* win/Makefile.am (EXTRA_DIST): Remove winmain.cxx.
	win/Makefile.in regenerated.
	* hplaylib/Makefile.am (EXTRA_PROGRAMS): New macro.
	(hplay_SOURCES): New macro.
	(hplay_LDADD): New macro.
	hplaylib/Makefile.in regenerated.

	* DIST: Remove common and win.
	Remove html.

	* hplaylib/Makefile.am (libhplay_a_SOURCES): Add
	../win/waudio.cxx.

	* win/DIST: Removed.
	* win/res/DIST: Removed.
	* win/Makefile.am: New file.  Generate win/Makefile.in by
	automake.

	* win/hplayw/DIST: Removed.
	* hplaylib/Makefile.am (noinst_HEADERS): Include hplayw/ headers.

	* common/DIST: Removed.
	* common/hplay/DIST: Removed.
	* common/Makefile.am (dist-hook): New file.  Generate Makefile.in
	by automake.

	* win/Makefile.in (distdir): Make ${distdir}/hplayw.

	* hplaylib/Makefile.am (noinst_HEADERS): New macro.
	hplaylib/Makefile.in regenerated.

	* common/Makefile.in (distdir): Make ${distdir}/hplay.

	* DIST: Remove win32, os2, and demo.
	* Makefile.am (SUBDIRS): Include win32 and os2.  Makefile.in
	regenerated.

Fri Jun 13 12:06:24 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* doc/ChangeLog: New file.
	* win32/ChangeLog: New file.
	* os2/ChangeLog: New file.

	* makedist (getlist): Do not warn but die if `link' failed.

	* doc/Makefile.in (HTMLS): Add file.html.
	(DISTFILES): Add guide.sgml, file.sgml, file.html and others.
	(commands.html): Remove ${srcdir}/ prefix.
	(file.html): New target.
	* doc/file.sgml: New file.
	* doc/guide.sgml: New file.

	* os2/config.wat (CC): Remove -bt=os2.
	(CXX): Likewise.
	[ndef __OS2__] (CC): Append -bt=os2.
	[ndef __OS2__] (CXX): Likewise.
	* win32/config.wat (CC): Remove -bt=nt.
	(CXX): Likewise.
	[ndef __NT__] (CC): Append -bt=nt.
	[ndef __NT__] (CXX): Likewise.

	* os2/makefile.wat (srcpath): Remove ..\libpng and ..\zlib.
	(!include ..\watcom\zlib.mif): Removed.
	(!include ..\watcom\libpng.mif): Removed.
	(hplayrun_LDADD): Remove libpng$(libext) and zlib$(libext).
	(hplay_LDADD): Likewise.
	* os2/config.wat (LIBPNG): New macro.
	(ZLIB): New macro.
	(LIBS): Add $(LIBPNG) $(ZLIB).

	* win32/makefile.wat (srcpath): Remove ..\libpng and ..\zlib.
	(!include ..\watcom\zlib.mif): Removed.
	(!include ..\watcom\libpng.mif): Removed.
	(hplayrun_LDADD): Remove libpng$(libext) and zlib$(libext).
	(hplay_LDADD): Likewise.
	* win32/config.wat (LIBPNG): New macro.
	(ZLIB): New macro.
	(LIBS): Add $(LIBPNG) $(ZLIB).

	* INSTALL: Replace with a copy from automake.

	* win/DIST: Add INSTALL.
	* win/INSTALL: New file.  Content was moved from INSTALL.

Thu Jun 12 14:25:19 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* ChangeLog: Doc fix.

	* common/hplay/png.h (class hplay_png_reader): Update decl.
	* common/hppng.cxx [hplay_png_reader::] (read_data): Change the
	arg 3 to png_size_t.

Mon Jun  9 18:10:40 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Makefile.am (SUBDIRS): Added common and win.

	* DIST: Remove hplayw.
	* configure.in: Remove hplayw/Makefile from AC_OUTPUT.

	* hplaylib/Makefile.am: New file.

	* DIST: Remove non-directory files.
	* Makefile.am (EXTRA_DIST): New macro.
	(dist-hook): Redirect makedist output to /dev/null.

	* Makefile.in: Updated.
	* Makefile.am (AUTOMAKE_OPTIONS): New def.
	(dist-hook): New target.
	(dist-zip): New target.

	* AUTHORS: New file.

	* Makefile.in: Generated by automake.
	* configure: Regenerated by autoconf.

	* Makefile.am: New file.
	* aclocal.m4: New file.
	* configure.in: Modified for automake.  Add hplaylib subdir.

	* Branch version 1.2 development tree.

	* Version 1.1.17.

	* README: Update version.
	* NEWS: Add news.

	* DIST: Add SPONSORS.
	* SPONSORS: New file.

	* configure: Regenerated.
	* configure.in (VERSION): Updated.

Wed Jun  4 08:58:20 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win32/makefile.wat (COMMON_CXXFLAGS): Remove `-zo'.
	* os2/makefile.wat (COMMON_CXXFLAGS): Likewise.

	* common/file.cxx (operator==): Fix argument types.

Sat May 17 12:06:37 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.16.

	* NEWS: Doc update.
	* README: Doc update.

	* configure: Remade.
	* configure.in (VERSION): Changed.

	* win/winmain.cxx (WinMain): Use the new _fns class.
	* win/hplayw.cxx (x): Typedef to emit template code.
	* win/hplayw/player.h (hplayw_player_fns): New typedef.
	* common/hplay/player.h (struct hplay_player_fns): New class.
	(class hplay_player): Do not export.
	[hplay_player_fns] (play): New function.
	[hplay_player_fns] (wait): New function.
	[hplay_player_fns] (destroy): New function.
	[hplay_player_fns] (create): New function.

	* common/hplay/def.h (HPLAY_API): Removed `__cdecl' from
	definition.

Wed May  7 16:07:35 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.15.

	* README: Update for 1.1.15.

	* Makefile.in (distdir): Create subdir before recurse.

	* configure: Regenerated by autoconf.
	* configure.in (VERSION): Changed to 1.1.15.

	* os2/makefile.wat (WCC): Removed.
	(WPP): Removed.
	(.c$(objext)): Use CC.
	(.cxx$(objext)): Use CXX.
	(.cpp$(objext)): Likewise.
	* os2/config.wat (WCC): Rename CC.
	(WPP): Rename CXX.
	(CC): New macro.
	(CXX): New macro.
	(LDFLAGS): New macro.

	* win32/makefile.wat (.c$(objext)): Use CC.
	(.cxx$(objext)): Use CXX.
	(.cpp$(objext)): Likewise.
	* win32/config.wat (CC): New macro.
	(CXX): New macro.
	(LDFLAGS): New macro.

	* NEWS: Added new page for the next version.

	* README: Doc update.

Mon May  5 15:39:19 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wwindow.cxx [hplayw_window] (process_WM_ACTIVATE): Test the
	window visiblity.

	* Makefile.in (SUBDIRS): Added doc to the list.
	* configure: Regenerated by autoconf.
	* configure.in: Added doc/Makefile to AC_OUTPUT.

	* win32/makefile.wat (TARGET_WLINKFLAGS): Changed to win95.
	* os2/makefile.wat (TARGET_WLINKFLAGS): Changed style.

	* doc/Makefile.in: New file.
	* doc/commands.sgml: New file.
	* doc/commands.html: New file.
	* doc/commands-1.html: New file.

Mon Apr 14 09:24:16 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.14.

	* configure: Regenerated.
	* configure.in (VERSION): Updated.

	* README: Updated for distribution.
	* NEWS: Minor mod.

	* win/hplayw.cxx (define_commands): Fixed a wrong name.

Fri Apr 11 16:21:52 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx [hplayw_commands] (struct play_music_1): New
	class.
	[hplayw_commands] (struct stop_music_1): New class.
	[hplay_player<>] (define_commands): Define `play_music.1' and
	`stop_music.1'.

	* win/hplayw/audio.h (class hplayw_audio_desc): Updated with new
	member functions.
	* win/waudio.cxx [hplayw_audio_desc] (music): Do not play.
	[hplayw_audio_desc] (music_repeat): Likewise.
	[hplayw_audio_desc] (play_music): New function.
	[hplayw_audio_desc] (stop_music): New function.

Wed Apr  9 09:19:52 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* NEWS: Updated for the next version.

	* common/playbase.cxx [hplay_commands] (xcall_1): New class.
	[hplay_player_base] (hplay_player_base): Define `xcall.1'.

	* common/hplay/world.h (hplay_world): Member decl updated.
	* common/world.cxx [hplay_world] (save): Changed the arg to
	const.

	* common/hplay/file.h (hplay_file): Member decl updated.
	* common/file.cxx [hplay_file] (store): Changed to const.

	* common/hplay/script.h (hplay_script): Member decl updated.
	[hplay_script] (scene): Changed `*stream' const.  Member decl
	updated.
	[hplay_script::scene_token] (apply): Changed the arg const.
	* common/script.cxx [hplay_script] (open_scene): Changed to const.
	[scene] (scene): Changed the third arg const.

	* common/hplay/player.h (hplay_player_base): Member decl added.
	* common/playbase.cxx (scene_xcall): New function.

	* common/world.cxx (load): Worlds weren't actually loaded.

	* common/playbase.cxx [hplay_commands] (set_next_scene_1): New
	class.
	[hplay_player_base] (hplay_player_base): Define
	`set_next_scene.1'.

	* common/hplay/player.h (hplay_player_base): Removed `dc'.
	[hplay_player<>] (play): Do not use `dc'.
	* common/document.cxx [hplay_document] (get): Removed.
	(context_table): Removed.
	[hplay_document] (context_table_size): Removed.
	[hplay_document] (context_table_begin): Removed.
	[hplay_document] (context_table_end): Removed.
	[hplay_document] (latest_context): Removed.
	[hplay_document] (save): Removed.
	[hplay_document] (scan): Removed.
	[hplay_document] (close): Do not use contexts.
	[hplay_document] (open): Likewise.
	[hplay_document] (hplay_document): Likewise.
	* common/hplay/document.h [hplay_document] (context): Removed.
	(hplay_document): Changed member order.

	* common/playbase.cxx [hplay_commands::save_1] (operator()): Added 
	assertion for a pointer.
	[hplay_commands::load_1] (operator()): Likewise.
	[hplay_commands] (current_scene_1): New class.
	[hplay_commands] (next_scene_1): Moved.
	[hplay_player_base] (hplay_player_base): Define `current_scene.1'.

	* common/hplay/player.h (hplay_player_base): Some members
	renamed.  All references changed.
	[hplay_player_base] (current_scene): New function.
	[hplay_player_base] (continued): New function.
	[hplay_player<>] (advance): Simplified using the new functions.
	* common/playbase.cxx [hplay_player_base] (change_scene): New
	function.
	[hplay_player_base] (define): Changed the third arg unnamed.
	[hplay_player_base] (save): Moved.
	[hplay_player_base] (load): Likewise.

	* Makefile.in (distdir): Do not depend on update.

	* common/playbase.cxx [hplay_commands] (load_1): New class.
	[hplay_player_base] (hplay_player_base): Define `load.1'.

Tue Apr  8 09:06:55 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h (hplay_player_base): Updated with new
	member function.
	[hplay_player<>] (assign): Changed the third arg. anonymous.
	* common/playbase.cxx [hplay_player_base] (save): Modified error
	string.
	[hplay_player_base] (load): New function.

	* common/playbase.cxx [hplay_commands::set_property_1]
	(operator()): Error string fixed.
	[hplay_commands::save_1] (operator()): Error string fixed.

	* common/world.cxx [hplay_file::chunk] (load): Implemented.

	* common/file.cxx [hplay_file::chunk] (store): Flush after write.

	* common/world.cxx (hplay_pack_long): New function.
	[hplay_world] (save): Implemented.

	* common/file.cxx [hplay_file::chunk] (store): Fill unused space
	with null chars.
	(for_read_write): New object.
	[hplay_file] (open): Open for read and write.
	[hplay_file] (hplay_file): Likewise.

	* common/hplay/player.h (hplay_player_base): Added decl for new
	function.
	* common/playbase.cxx [hplay_player_base] (save): New function.
	[struct hplay_commands] (save_1): New class.
	[hplay_player_base] (hplay_player_base): Define `save.1'.

	* common/hplay/document.h (hplay_document): Added decls for member 
	function.
	* common/document.cxx [hplay_document] (world_end): New function.

	* common/hplay/document.h (hplay_document): Decls for member
 	function.
	* common/document.cxx: Removed `#pragram pack'.
	[hplay_document] (script_name): References to hplay_file::toc
	replaced.
	[hplay_document] (scan): Likewise.
	[hplay_document] (open): Likewise.
	[hplay_document] (hplay_document): Likewise.
	[hplay_document] (world_chunk): New function.

	* common/hplay/script.h (hplay_script): References to toc
	replaced.
	* common/script.cxx: References to hplay_file::toc replaced.
	[hplay_script] (arrange): References to file.toc_* funcs replaced.
	[hplay_script] (open): Likewise.
	[hplay_script] (frame_size): Likewise.
	[hplay_script] (title): Likewise.
	[hplay_script] (hplay_script): Likewise.

	* common/hplay/file.h [hplay_file] (toc): Definition moved to
	protected.
	[hplay_file] (size_type): New typedef name.
	[hplay_file] (iterator): New typedef name.
	[hplay_file] (const_iterator): New typedef name.
	(hplay_file): Decls for new member functions.

	* common/file.cxx [hplay_file] (size): Renamed from toc_size.
	[hplay_file] (begin): Rename from toc_begin.  New for non-const.
	[hplay_file] (end): Likewise.

	* common/hplay/file.h [hplay_file] (chunk): Type of `s' changed
	from istream.  Constructor changed.
	(hplay_file): Type of `fs' changed.

	* common/file.cxx: Updated copyright year.
	[hplay_file::chunk] (store): Implemented.
	[hplay_file] (hplay_file): Use fstream.

	* configure: Regenerated.
	* configure.in (AC_OUTPUT): Added misc/Makefile, common/Makefile,
 	win/Makefile, win32/Makefile, and os2/Makefile.  Move the top
 	Makefile to the end.

	* Makefile.in: Added copyright info.
	(SUBDIRS): New macro.
	(distdir): New macro.  Use of ${PACKAGE}-${VERSION} substituted.
	(all): Use for-loop.
	(update): Likewise.
	(install): New target.
	(uninstall): New target.
	(clean mostlyclean): New targets.
	(distclean): New target.
	(dist): Do not depend on update.  Remove distdir here.
	(${distdir}.zip): Depend on distdir.  Do not remove distdir.
	(distdir): New target.

	* hplayw/Makefile.in (install): New target.
	(uninstall): New target.
	(mostlyclean): New target.
	(distclean): New target.
	(distdir): New target.
	(update): New target.

	* os2/DIST: Include Makefile.in.
	* os2/Makefile.in: New file.

	* win32/DIST: Include Makefile.in.
	* win32/Makefile.in: New file.

	* win/DIST: Include Makefile.in.
	* win/Makefile.in: New file.

	* common/DIST: Include Makefile.in.
	* common/Makefile.in: New file.

Mon Apr  7 12:33:40 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/playbase.cxx [hplay_commands::object_1] (operator()):
 	Refer object map via function call.
	[hplay_commands::property_1] (operator()): Likewise.
	[hplay_commands::set_property_1] (operator()): Likewise.
	* common/hplay/world.h: Removed unused `#include's.
	[hplay_world] (object_name_type): Renamed from `object_id'.
	[hplay_world] (object_name_compare): New typedef name.
	[hplay_world] (class relation): Removed.
	(class hplay_world): Added decls for the new member functions.
	`object_map' renamed to `object_map_'.
	[hplay_world] (object_map): New functions.
	* common/world.cxx [hplay_world] (save): New function.
	[hplay_world] (load): New function.

	* common/hplay/file.h: Put `#pragma pack' around definition.
	[hplay_file] (class chunk): Added decl for new member function.
	* common/file.cxx: Removed `#pragma pack (4)'.
	[hplay_file::chunk] (store): New function.

	* os2/dllmain.cxx: Modified the file comments.
	* os2/main.c: Modified the file comments.

	* win32/dllmain.cxx: Modified the file comments.

	* win/hplayw.cxx: Modified the file comments.
	* win/waudio.cxx: Modified the file comments.
	* win/wcolormap.cxx: Modified the file comments.
	* win/wframe.cxx: Modified the file comments.
	* win/wimage.cxx: Modified the file comments.
	* win/winmain.cxx: Modified the file comments.
	* win/wpng.cxx: Modified the file comments.
	* win/wscreen.cxx: Modified the file comments.
	* win/wsensor.cxx: Modified the file comments.
	* win/wtimekeep.cxx: Modified the file comments.
	* win/wtimer.cxx: Modified the file comments.
	* win/wwindow.cxx: Modified the file comments.

	* win/hplayw/audio.h: Modified the file comments.
	* win/hplayw/colormap.h: Modified the file comments.
	* win/hplayw/frame.h: Modified the file comments.
	* win/hplayw/image.h: Modified the file comments.
	* win/hplayw/player.h: Modified the file comments.
	* win/hplayw/screen.h: Modified the file comments.
	* win/hplayw/sensor.h: Modified the file comments.
	* win/hplayw/timekeeper.h: Modified the file comments.
	* win/hplayw/timer.h: Modified the file comments.
	* win/hplayw/visual.h: Modified the file comments.
	* win/hplayw/window.h: Modified the file comments.

	* common/color.cxx: Modified the file comments.
	* common/document.cxx: Modified the file comments.
	* common/error.cxx: Modified the file comments.
	* common/file.cxx: Modified the file comments.
	* common/hppng.cxx: Modified the file comments.
	* common/hppnglib.cxx: Modified the file comments.
	* common/interp.cxx: Modified the file comments.
	* common/playbase.cxx: Modified the file comments.
	* common/script.cxx: Modified the file comments.
	* common/world.cxx: Modified the file comments.

	* common/hplay/color.h: Modified the file comments.
	* common/hplay/def.h: Modified the file comments.
	* common/hplay/document.h: Modified the file comments.
	* common/hplay/file.h: Modified the file comments.
	* common/hplay/interpreter.h: Modified the file comments.
	* common/hplay/player.h: Modified the file comments.
	* common/hplay/png.h: Modified the file comments.
	* common/hplay/script.h: Modified the file comments.
	* common/hplay/view.h: Modified the file comments.
	* common/hplay/world.h: Modified the file comments.

Sat Apr  5 13:25:15 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* README: Revised.

Wed Apr  2 10:32:43 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.13.

	* README: Revised for new release.

	* NEWS: Added news for 1.1.13.

	* win/hplayw.cxx [hplay_player<>] (wait): Removed `advance' before
 	the main loop.

	* win/waudio.cxx (NONE): New macro.
	[hplayw_audio_desc] (sound): Use NULL.
	[hplayw_audio_desc] (music): Likewise.
	[hplayw_audio_desc] (music_repeat): Likewise.
	[hplayw_audio_desc] (hplayw_audio_desc): Test the audio availability with
	temporary objects.

Tue Apr  1 09:04:35 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* configure: Regenerated.
	* configure.in (VERSION): Incremented.

	* win/wscreen.cxx [hplayw_screen] (refresh): Do not erase the
 	window on color change.

	* win/hplayw.cxx [hplayw_commands::refresh_1] (operator()): Code
 	re-enabled.

	* win/hplayw.cxx [hplayw_commands] (struct bind_1): New class.
	[hplay_player<>] (define_commands): Define `bind.1'.

	* win/wwindow.cxx [hplayw_window] (process_WM_LBUTTONDOWN):
 	Rewritten to call the frame's method directly.
	[hplayw_window] (process_WM_RBUTTONDOWN): Likewise.

	* win/hplayw/screen.h (class hplayw_screen): Decls updated.
	* win/wscreen.cxx [hplayw_screen] (button1): Removed.
	[hplayw_screen] (button2): Removed.
	[hplayw_screen] (frame): New function.

	* win/hplayw/frame.h [hplayw_frame] (enum event): New enum.
	[hplayw_frame] (class layer): `button1_proc' and `button2_proc'
	replaced by `binding' array.  New member function decls added.
	(class hplayw_frame): New member `cursor_point' and
	`cursor_over_layer' added.  Member function decls updated.
	* win/wframe.cxx (frame): New typedef.
	[hplayw_frame::layer] (enter): New function.
	[hplayw_frame::layer] (leave): New function.
	[hplayw_frame] (clear): Raise leave events if necessary.
	[hplayw_frame] (place): Raise leave events if necessary.  Handle the
	cursor position.
	[hplayw_frame] (variation): Comments added.
	[hplayw_frame] (map): Handle the cursor position.
	[hplayw_frame] (bind): New function.
	[hplayw_frame] (bind_button1): Rewritten using `bind'.
	[hplayw_frame] (bind_button2): Likewise.
	[hplayw_frame] (handle_cursor): New function.
	[hplayw_frame] (point): Changed to non-const.  Set `cursor_point' and
	call `handle_cursor'.
	[hplayw_frame] (notify_button1): Substitute the old `button1'.
	[hplayw_frame] (notify_button2): Likewise.
	[hplayw_frame] (hplayw_frame): Initialize the new member.

	* win/wpng.cxx [hplayw_png_image] (draw): Fix for unsigned
 	overflows.

	* win/wscreen.cxx [hplayw_screen] (refresh): Redraw if colors
 	changed.  Pass the update area to the frame.

	* win/hplayw/window.h (class hplayw_window): Member updated.
	* win/wwindow.cxx [hplayw_window] (repaint_all): New function.

	* win/hplayw/frame.h (class hplayw_frame): Member updated.
	* win/wframe.cxx [hplayw_frame] (draw): Rewritten without
 	`for_each'.  Two `point_type' args added.

	* win/wpng.cxx [hplayw_png_image::info_cache] (cache_data): New
 	function.
	[hplayw_png_image] (draw): Use `cache_data'.  Clip drawing by the
	update area.
	* win/hplayw/visual.h [hplayw_visual_object] (draw): Two
 	`point_type' args added.

	* win/hplayw/timer.h (class hplayw_timer): New member `working'
 	added.
	* win/wtimer.cxx [hplayw_timer] (schedule): Push directly to `pq'
 	if not `working'.
	[hplayw_timer] (tick): Set `working' while processing.

	* win/hplayw/timer.h (class hplayw_timer): New members `delay' and
 	`added_list' added.
	* win/wtimer.cxx [hplayw_timer] (schedule): Push new entries to
 	`added_list'.
	[hplayw_timer] (reset): Set `delay' to 0.
	[hplayw_timer] (tick): Handle `delay'.  Move new entries from
	`added_list' to `pq'.
	[hplayw_timer] (reschedule): New function.

Mon Mar 31 09:36:23 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx [hplayw_commands::refresh_1] (operator()):
 	Comment out code.

	* win/hplayw.cxx (NONE): New macro.
	(next_message): New function.
	[hplay_player<>] (wait): Rewritten using `next_message'.

	* win/hplayw.cxx [hplayw_commands::music_repeat_1] (operator()):
 	Changed repeat positions to variable length.

	* win/hplayw.cxx [hplayw_commands] (struct music_repeat_1): New
 	class.
	[hplay_player<>] (define_commands): Define `music_repeat.1'.

	* win/hplayw/screen.h (class hplayw_screen): Decls updated.
	* win/wscreen.cxx [hplayw_screen] (window): New function.

	* win/hplayw/window.h (class hplayw_window): Updated.
	* win/wwindow.cxx [hplayw_window] (system_window): New function.

Fri Mar 28 10:25:25 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/audio.h (class hplayw_audio_desc): Member function
 	updates.
	* win/waudio.cxx [hplayw_audio_desc] (music_repeat): New function.

	* common/playbase.cxx: Doc fix.
	* common/hplay/player.h: Doc fix.

	* common/hplay/player.h (class hplay_player): All references to
 	`Frame::object_type' changed.  `odelete' removed.
	[hplay_player<>] (object_table): Definition changed.
	[hplay_player<>] (assign): Lifetime management code removed.
	[hplay_player<>] (poly): Null test changed.
	[hplay_player<>] (~hplay_player): Code removed.

	* win/hplayw/frame.h [hplayw_frame] (object_type): Removed.
	[hplayw_frame] (class layer): `content's type changed.  All relevant
	args. changed, too.
	* win/wframe.cxx [hplayw_frame] (place): `content's type changed.
  	Null tests changed.
	[hplayw_frame] (variation): Null tests changed.
	[hplayw_frame] (map): Likewise.
	[hplayw_frame] (draw): Likewise.
	[hplayw_frame] (unique_colors): Likewise.

	* win/hplayw/visual.h (class hplayw_visual_object): Derived from
 	`rc_base'.

	* common/hplay/player.h (class hplay_player_base): `cdelete'
 	removed.  Function decls updated.
	* common/playbase.cxx [hplay_player_base] (define): Changed the
 	second arg. type.  Removed code for object lifetime management.
	[hplay_player_base] (~hplay_player_base): Removed object deletion code.

	* common/hplay/script.h [hplay_script] (command_table): Changed
 	template argument.

	* common/hplay/interpreter.h (class hplay_interpreter): Member
 	function decls updated.  `commands' type changed.
	[hplay_interpreter] (class command): Derived from `rc_base'.
	* common/interp.cxx: Comments added.
	[hplay_interpreter] (define): Changed the second arg. type.
	[hplay_interpreter] (execute): Changed for rc_ptr.

Tue Mar 25 14:11:36 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.12.

	* README: Revised.

	* configure: Regenerated by autoconf.
	* configure.in (VERSION): Changed from 1.1.11.

	* configure.in: Blank lines and generated comments removed.

	* configure.in: Test file for AC_INIT changed.

	* NEWS: New news added.

	* win/hplayw.cxx [hplayw_commands::sound_1] (operator()): Changed
 	not to play immediately.
	[hplayw_commands] (struct play_sound_1): New class.
	[hplayw_commands] (struct music_1): New class.
	[hplay_player<>] (hplay_player): Define `play_sound.1' and `music.1'.

	* win/waudio.cxx [hplayw_audio_desc] (sound): Renamed from
 	`open_sound'.  Assign 0 to `sound_mci' before open.  Cue after
 	open.
	[hplayw_audio_desc] (music): Renamed from `play' and coded.
	[hplayw_audio_desc] (hplayw_audio_desc): Initialize `music_disabled'.
	Check for a sequencer device.
	* win/hplayw/audio.h (class hplayw_audio_desc): `mci' renamed to
 	`sound_mci'.  `music_disabled' and `music_mci' added.

Mon Mar 24 13:24:28 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/file.cxx [hplay_file] (close): A kluge for a broken
 	string class removed.

	* win/hplayw.cxx [hplayw_commands::sound_1] (operator()): A call
 	to `hplayw_audio_desc::sound' replaced.

	* win/hplayw/audio.h (class hplayw_audio_desc): Member function
 	decls updated.
	* win/waudio.cxx [hplayw_audio_desc] (set_prefix): A kluge for the
 	string class removed.
	[hplayw_audio_desc] (open_sound): New function.
	[hplayw_audio_desc] (play_sound): New function.
	[hplayw_audio_desc] (hplayw_audio_desc): Comments added.

	* win/hplayw/audio.h: Doc fix.

	* win/hplayw/audio.h: Comments added.

	* win/winmain.cxx (WinMain): Comments added.

Thu Mar 20 12:03:22 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wimage.cxx [hplayw_image_desc] (hplayw_image_desc):
 	`use_count' initialization removed.
	(unuse): Removed.
	(use): Removed.
	* win/hplayw/image.h (class hplayw_image_desc): Use `rc_base' as a
 	base.  `use_count' removed.
	(class hplayw_image): Use `rc_ptr' as a base.  `d' removed.
	[hplayw_image] (null): Removed.
	[hplayw_image] (operator*): Removed.
	[hplayw_image] (operator->): Removed.
	[hplayw_image] (create): Rewritten using `assign'.
	[hplayw_image] (operator=): Removed.
	[hplayw_image] (~hplayw_image): Removed.
	[hplayw_image] (hplayw_image): Removed.

	* win/wcolormap.cxx [hplayw_colormap_desc] (hplayw_colormap_desc):
 	`use_count' initialization removed.
	(unuse): Removed.
	(use): Removed.
	* win/hplayw/colormap.h (class hplayw_colormap_desc): Use
 	`rc_base' as a base.  `use_count' removed.
	(class hplayw_colormap): Use `rc_ptr' as a base.  `d' removed.
	[hplayw_colormap] (null): Removed.
	[hplayw_colormap] (operator*): Removed.
	[hplayw_colormap] (operator->): Removed.
	[hplayw_colormap] (create): Rewritten using `assign'.
	[hplayw_colormap] (operator=): Removed.
	[hplayw_colormap] (~hplayw_colormap): Removed.
	[hplayw_colormap] (hplayw_colormap): Removed.

	* win/waudio.cxx [hplayw_audio_desc] (hplayw_audio_desc):
 	`use_count' initialization removed.
	(unuse): Removed.
	(use): Removed.
	* win/hplayw/audio.h (class hplayw_audio_desc): Use `rc_base' as a
 	base.  `use_count' removed.
	(class hplayw_audio): Use `rc_ptr' as a base.
	[hplayw_audio] (null): Removed.
	[hplayw_audio] (operator*): Removed.
	[hplayw_audio] (operator->): Removed.
	[hplayw_audio] (create): Rewritten using `assign'.
	[hplayw_audio] (operator=): Removed.
	[hplayw_audio] (~hplayw_audio): Removed.
	[hplayw_audio] (hplayw_audio): Removed.

Wed Mar 19 20:02:54 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wwindow.cxx (hplayw_message_param1_type): New typedef.  Most
 	uses of `WPARAM' replaced.
	(hplayw_message_param2_type): New typedef.  Most uses of `LPARAM'
	replaced.
	(hplayw_message_result_type): New typedef.  Most uses of `LRESULT'
	replaced.

	* win/hplayw.cxx [hplay_player] (wait): Catch an exception and
 	show a message box.
	[hplayw_commands] (sound_1): New class.
	[hplay_player] (define_commands): Define `sound.1'.

	* win/waudio.cxx [hplayw_audio_desc] (set_prefix): New function.
	[hplayw_audio_desc] (sound): Test the value of `sound_disabled'.
	[hplayw_audio_desc] (hplayw_audio_desc): Initialize new members.  Test 
	the availability of the wave audio device.
	* win/hplayw/audio.h (class hplayw_audio): `prefix_' and
 	`sound_disabled' added.
	[hplayw_audio] (create): New argument added.

	* common/hplay/player.h [hplay_player] (play): Set the file name
 	prefix for audio.  The cursor definition rewritten without
 	for_each.

Tue Mar 18 10:53:30 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* ChangeLog: Doc fix.

	* win/waudio.cxx (close_dev): Removed.  All references removed.
	[hplayw_audio_desc] (sound): Rewritten using `ww_mci'.
	[hplayw_audio_desc] (hplayw_audio_desc): `devid' initialization
	removed.
	* win/hplayw/audio.h: Include <ww/mci.h> instead of <mmsystem.h>.
	(hplayw_audio_desc): `devid' replaced by `mci'.

	* win/wscreen.cxx: Export `hplayw_screen' if `HPLAY_DLL' is
 	defined.
	[hplayw_screen] (audio): New function.

	* win/hplayw/screen.h (hplayw_screen): `audio_type' and `audio_'
 	added.

	* win/waudio.cxx: `#include <mmsystem.h>' removed.
	[hplayw_audio_desc] (hplayw_audio_desc): `devid' was not initialized.

	* win/hplayw/audio.h: `#include <mmsystem.h>' added.

Sun Mar 16 12:15:36 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* os2/config.wat (LIBS): Include `mmpm2.lib'.

	* win/wmake.mif (hplay_OBJS): Link `waudio$(objext)'.
	* win/DIST: Include `waudio.cxx'.
	* win/waudio.cxx: New file.

	* win/hplayw/DIST: Include `audio.h'.
	* win/hplayw/audio.h: New file.

Sat Mar 15 12:48:19 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win32/makefile.wat: Use `config.mif' for configuration
 	parameters.
	* win32/DIST: Include `config.wat'.
	* win32/config.wat: New file.

Fri Mar 14 16:01:48 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wimage.cxx: Comments added.

Wed Mar 12 15:57:11 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.11.

	* README: Updated for 1.1.11.
	* NEWS: Updated for 1.1.11.

	* configure: Regenerated.
	* configure.in (VERSION): Set to 1.1.11.

	* os2/main.c: Copyright comments added.

	* common/hppng.cxx: Copyright year updated.

	* common/script.cxx [hplay_script] (arrange): Do not derive `f'
 	from `unary_function'.  Typedef `command_table' if GNU C++?
  	Rename local `data' to `dat'.

	* common/playbase.cxx [hplay_player_base] (~hplay_player_base): Do
 	not derive `f' from `unary_function'.

	* common/world.cxx: Added `#pragma implementation' for GNU C++.
	* common/hplay/world.h: Added `#pragma interface' for GNU C++.
  	Include <nstring.h> if GNU C++.

	* common/interp.cxx: Added `#pragma implementation' for GNU C++.
  	Reorder `#include's.
	* common/hplay/interpreter.h: Added `#pragma interface' for GNU
 	C++.  Include <nstring.h> if GNU C++.

	* configure: Regenerated.
	* Makefile.in (all): Make in `ww' and `hplayw'.
	* configure.in: `AC_PROG_RANLIB' added.  `ww/Makefile' and
 	`hplayw/Makefile' added to the output.

	* DIST: Include `hplayw'.
	* hplayw/DIST: New file.
	* hplayw/Makefile.in: New file.

	* DIST: Include `configure.in', `configure', `Makefile.in', and
 	`makedist'.

Tue Mar 11 10:38:52 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wcolormap.cxx (sqr_dist): New function.
	[hplayw_colormap_desc] (find): Choose a nearest color if no exact
	matches.

	* win/wpng.cxx [hplayw_png_image] (draw): Rewritten to cache image
 	info.
	* win/hplayw/visual.h [hplayw_png_image] (info_cache):
 	`image_size' and `rows' added.

Fri Mar  7 11:45:34 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* os2/makefile.wat: Move configuration options to config.wat.
	* os2/DIST: Include the new file.
	* os2/config.wat: New file.

Thu Mar  6 20:16:21 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/winmain.cxx (WinMain): Handle quoted file names properly.

Wed Mar  5 12:36:51 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* os2/makefile.wat (hplayrun.exe): Do not run $(RC) if not on
 	OS/2.
	(hplay00$(dllext)): Likewise.

Mon Mar  3 15:20:00 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.10.
	* README: Update.

	* win32/makefile.wat (CFLAGS): `-hc' removed.
	(CXXFLAGS): Likewise.
	(WLINKFLAGS): Changed to Watcom debug format.

Sat Mar  1 11:09:19 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx [hplayw_commands] (fade_1): Define only if
 	`HPLAY_ALPHA' defined.
	[hplay_player<hplayw_screen,hplayw_frame>] (hplay_player): Do not
	define `fade.1' (not HPLAY_ALPHA).
	* win/wscreen.cxx [hplayw_screen] (refresh_palette): Do not use
 	fade if `HPLAY_ALPHA' not defined.
	[hplayw_screen] (fade): Define only if `HPLAY_ALPHA' defined.
	[hplayw_screen] (time_callback): Do not fade if `HPLAY_ALPHA' not
	defined.
	[hplayw_screen] (hplayw_screen): Do not initialize members for
	fading (not `HPLAY_ALPHA').

	* os2/makefile.wat: Update for production builds.
	* win32/makefile.wat: Update for production builds.

	* configure: Regenerated.

	* win/wscreen.cxx [hplayw_screen] (refresh): Changes reflected.
	* win/hplayw/frame.h (hplayw_frame): Changes reflected.
	* win/wframe.cxx [hplayw_frame] (draw): The last two arguments
 	removed.

	* NEWS: Update for 1.1.10.

	* win/wscreen.cxx [hplayw_screen] (hplayw_screen): Initialize
 	`new_fade_value'.  Create the palette with non-reserved entries.

	* configure.in: Generate `demo/Makefile'.
	* Makefile.in (update): Update in `demo'.

	* DIST: Include `demo'.

	* win/wscreen.cxx [hplayw_screen] (refresh_palette): Do not offset
 	palette index.
	* win/wcolormap.cxx [hplayw_colormap_desc] (find): Do not add one
 	to the index.

Fri Feb 28 09:27:58 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wscreen.cxx [hplayw_screen] (refresh_palette): Use `store'
 	to update `palette'.
	[hplayw_screen] (fade): Do not realize the palette.
	[hplayw_screen] (time_callback): Likewise.
	[hplayw_screen] (refresh): Update colors only if necessary.
	[hplayw_screen] (draw): Call `refresh_palette' before
	`realize_palette'.

	* win/wcolormap.cxx [hplayw_colormap_desc] (store): Do not use
 	`PC_RESERVED'.
	[hplayw_colormap_desc] (hplayw_colormap_desc): Initialize `colors'
	with normal blacks.

	* win/wframe.cxx [hplayw_frame] (place): Set `colors_changed_'.
	[hplayw_frame] (unique_colors): Clear `colors_changed_'.  Do not
	exclude unmapped contents for colors.
	[hplayw_frame] (colors_changed): New function.
	[hplayw_frame] (hplayw_frame): Initialize `colors_changed_'.
	* win/hplayw/frame.h (hplayw_frame): `colors_changed_' added.

	* DIST: Exclude win386.

	* win/wscreen.cxx [hplayw_screen] (refresh): Pass the changed area
 	to the frame.
	* win/hplayw/frame.h (hplayw_frame): Changes reflected.
	* win/wframe.cxx [hplayw_frame] (draw): Two new args added.

	* win/wwindow.cxx [hplayw_window] (process_WM_PAINT): Make the
 	window erased when repaint.

	* common/hppng.cxx [hplay_png_reader] (hplay_png_reader): Check
 	for color type.

	* win/wscreen.cxx [hplayw_screen] (fade): Fade immediately if TIME
 	is zero.
	[hplayw_screen] (hplayw_screen): Remove non-reserved palette entries.

	* win/wframe.cxx [hplayw_frame] (changed_area): Get value from
 	`changed_low' and `changed_high'.
	[hplayw_frame] (clear_changed): New function.
	[hplayw_frame] (change): New function.
	[hplayw_frame] (place): Update the changed area.
	[hplayw_frame] (variation): Likewise.
	[hplayw_frame] (map): Likewise.
	[hplayw_frame] (draw): Clear the changed area by `clear_changed'.
	[hplayw_frame] (reset_colors): Update the changed area.
	[hplayw_frame] (set_color): Likewise.
	[hplayw_frame] (hplayw_frame): Initialize the new member.

	* win/hplayw/frame.h (hplayw_frame): `changed_low' and
 	`changed_high' added replacing `changed'.

	* win/wpng.cxx [hplayw_png_image] (size): New function.
	* win/hplayw/visual.h [hplayw_visual_object] (size): New function.

Thu Feb 27 09:58:22 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wscreen.cxx [hplayw_screen] (refresh): Use `w.repaint'.
	* win/hplayw/window.h (hplayw_window): Changes reflected.
	* win/wwindow.cxx [hplayw_window] (repaint): Rename `invalidate'.
  	Invalidate only required area.

	* win/hplayw/frame.h: Update copyright year.
	* win/hplayw/timer.h: Update copyright year.
	* win/hplayw/visual.h: Update copyright year.
	* win/wframe.cxx: Update copyright year.
	* win/wpng.cxx: Update copyright year.
	* win/wtimer.cxx: Update copyright year.
	* common/document.cxx: Update copyright year.
	* common/hplay/document.h: Update copyright year.
	* common/hplay/interpreter.h: Update copyright year.
	* common/hplay/script.h: Update copyright year.
	* common/interp.cxx: Update copyright year.
	* common/playbase.cxx: Update copyright year.
	* common/script.cxx: Update copyright year.

	* win/wframe.cxx [hplayw_frame] (draw): Removed (`ww_dc').
	* win/hplayw/frame.h [hplayw_frame] (layer): `cache' removed.  All
 	references removed.
	[hplayw_frame::layer] (layer): Removed (copy).
	[hplayw_frame::layer] (operator=): Removed.

	* win/wpng.cxx (init_bmih): Removed.
	(read_image): Removed.
	[hplayw_png_image] (draw): Removed (`ww_dc').
	* win/hplayw/visual.h [hplayw_visual_object] (cache): Removed.
	[hplayw_visual_object] (draw): Removed (`ww_dc').  All derived classes 
	changed, too.

	* win/wpng.cxx [hplayw_png_image] (draw): Use `ic->image_data' to
 	keep image data.
	* win/hplayw/visual.h [hplayw_png_image] (info_cache):
 	`image_data' added.

	* win/wscreen.cxx [hplayw_screen] (refresh): `offscreen' use
 	changed.
	[hplayw_screen] (draw): Likewise.
	[hplayw_screen] (hplayw_screen): `offscreen' init changed.
	* win/hplayw/screen.h (hplayw_screen): The type of `offscreen'
 	changed.

	* win/wimage.cxx (init_bmih): New function.
	[hplayw_image_desc] (draw): New function.
	[hplayw_image_desc] (hplayw_image_desc): Initialize `size_'.
	* win/hplayw/image.h (hplayw_image_desc): `size_' added.
	[hplayw_image_desc] (size): New function.

	* win/hplayw/frame.h (hplayw_frame): Changes reflected.
	* win/wframe.cxx [hplayw_frame] (draw): New function
 	(`hplayw_image').

	* win/wpng.cxx [hplayw_png_image] (draw): The `hplayw_image &' arg
 	changed.
	* win/hplayw/visual.h [hplayw_visual_object] (draw): Change the
 	`hplayw_image &' arg to const.  All derived classes changed.

	* win/wpng.cxx [hplayw_png_image] (draw): New function
 	(`hplayw_image').
	* win/hplayw/visual.h [hplayw_visual_object] (draw): New function
 	(`hplayw_image').

	* win/wmake.mif (hplay_OBJS): Compile the new file.
	* win/DIST: Include the new file.
	* win/wimage.cxx: New file.

	* win/hplayw/DIST: Include the new file.
	* win/hplayw/image.h: New file.

	* win/wscreen.cxx [hplayw_screen] (refresh_palette): Rewritten to
 	use `colormap'.
	[hplayw_screen] (set_colors): Likewise.
	[hplayw_screen] (refresh): Likewise.
	[hplayw_screen] (hplayw_screen): Likewise.
	* win/hplayw/screen.h (hplayw_screen): `colors' replaced with
 	`colormap'.

	* win/hplayw/frame.h (hplayw_frame): Changes reflected.
	* win/wframe.cxx [hplayw_frame] (draw): Two `const hplay_color *'
 	args replaced with a `const hplayw_colormap &'.

	* win/wpng.cxx [hplayw_png_image] (draw): Args changed like the
 	base class.  Rewritten using the colormap and cached colors.
	* win/hplayw/visual.h [hplayw_visual_object] (draw): Two `const
 	hplay_color *' args replaced with a `const hplayw_colormap &'.
  	All derived classes changed.
	(hplayw_text): `#if 0'-`#endif' placed around the declaration.

	* win/wcolormap.cxx: Add comments.
	[hplayw_colormap_desc] (find): Type error fixed.
	[hplayw_colormap_desc] (store): Assert the args is not null.  Type
	error fixed.

	* win/hplayw/colormap.h [hplayw_colormap_desc] (begin): New
 	function.
	[hplayw_colormap_desc] (end): New function.
	[hplayw_colormap] (null): New function.
	[hplayw_colormap] (operator*): Assert the object is not null.
	[hplayw_colormap] (operator->): Likewise.

	* win/wmake.mif (hplay_OBJS): Compile the new file.
	* win/DIST: Include the new file.
	* win/wcolormap.cxx: New file.

	* win/hplayw/DIST: Include the new file.
	* win/hplayw/colormap.h: New file.

Wed Feb 26 09:45:06 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wwindow.cxx [hplayw_window] (process_WM_QUERYNEWPALETTE):
 	Invalidate the window if `arrange_palette' returns true.

	* win/wscreen.cxx [hplayw_screen] (fade): A zero-division bug
 	fixed.

	* win/wscreen.cxx [hplayw_screen] (refresh_palette): Call
 	`reserve' on `pes'.
	[hplayw_screen] (fade): Rewritten for "smooth" fading.
	[hplayw_screen] (time_callback): Process fading.
	* win/hplayw/screen.h (hplayw_screen): Add `new_fade_value',
 	`fade_grad' and `fade_end_time'.

Tue Feb 25 09:40:57 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/window.h (hplayw_window): Changes reflected.
	* win/wwindow.cxx [hplayw_window] (process_WM_PALETTECHANGED):
 	Replace `process_WM_PALETTEISCHANGING'.  All references changed.

	* win/wwindow.cxx [hplayw_window] (process_WM_QUERYNEWPALETTE):
 	Rewritten using `arrange_palette'.
	* win/hplayw/screen.h (hplayw_screen): Changes reflected.
	* win/wscreen.cxx [hplayw_screen] (arrange_palette): New function.
	[hplayw_screen] (hplayw_screen): Do not set the palette of `w' to
	`palette'.
	* win/hplayw/window.h (hplayw_window): Remove `p'.
	[hplayw_window] (palette): Removed.

	* win/wscreen.cxx [hplayw_screen] (fade): Realize the palette.
	[hplayw_screen] (draw): Select the palette.

	* win/wwindow.cxx [hplayw_window] (process_WM_PAINT): Do not
 	select a palette here.
	[hplayw_window] (process_WM_ACTIVATE): Call `DefWindowProc'.

Mon Feb 24 18:19:34 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx [hplay_player<hplayw_screen,hplayw_frame>]
 	(wait): Do not post a quit message here.

	* win/wscreen.cxx [hplayw_screen] (fade): Select the palette.
	[hplayw_screen] (refresh): Use the new `ww_dc'.
	[hplayw_screen] (draw): Likewise.

	* win/hplayw/window.h: Changes reflected.
	* win/wwindow.cxx [hplayw_window] (new_memory_dc): Removed.
	[hplayw_window] (dc): New function.
	[hplayw_window] (new_bitmap): Use the new `ww_dc'.
	[hplayw_window] (reserve_palette): Likewise.
	[hplayw_window] (process_WM_QUERYNEWPALETTE): Likewise.
	[class_data] (new_window): Likewise.

Sat Feb 22 08:44:41 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* os2/dllmain.cxx (__dll_initialize): Call `dll_initialize' of
 	`hplayw_window'.
	* win32/dllmain.cxx (DllMain): Call `dll_initialize' of
 	`hplayw_window'.

	* win/wscreen.cxx (hplayw_screen): Rewrite using `hplayw_window'.
	* win/hplayw/screen.h (hplayw_screen): Rewrite using `hplayw_window'.

	* win/wwindow.cxx [hplayw_window] (new_memory_dc): New function.
	[hplayw_window] (new_bitmap): New function.
	[hplayw_window] (invalidate): New function.
	[hplayw_window] (open): Added an extra argument.  Set `min_size'.
	Show the new window here.
	[USE_MORE_COLORS, hplayw_window] (reserve_palette): New function.
	[hplayw_window] (process_WM_LBUTTONDOWN): New function.
	[hplayw_window] (process_WM_RBUTTONDOWN): New function.
	[hplayw_window] (process_WM_MOUSEMOVE): New function.
	[hplayw_window] (process_WM_PALETTEISCHANGING): New function.
	[hplayw_window] (process_WM_QUERYNEWPALETTE): New function.
	[hplayw_window] (process_WM_PAINT): New function.
	[FULL_SCREEN, hplayw_window] (process_WM_WINDOWPOSCHANGING): New function.
	[!FULL_SCREEN, hplayw_window] (process_WM_GETMINMAXINFO): New function.
	[hplayw_window] (process_WM_WINDOWPOSCHANGED): New function.
	[hplayw_window] (process_WM_SETFOCUS): New function.
	[hplayw_window] (process_WM_KILLFOCUS): New function.
	[hplayw_window] (process_WM_ACTIVATE): Minimize when inactivated.
	[hplayw_window] (process_WM_TIMER): New function.
	[hplayw_window] (process_WM_DESTROY): Post a quit message.
	[hplayw_window] (hplayw_window): Added two new arguments.  Initialize
	members.
	[HPLAY_DLL, hplayw_window] (dll_initialize): New function.
	[hplayw_window] (method_map_init): All methods added.

	* win/hplayw/window.h (hplayw_window): Add `min_size',
 	`draw_origin', `p', `t', `tk', `s' members.
	[hplayw_window] (palette): New function.

Fri Feb 21 09:47:32 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wmake.mif (hplay_OBJS): Compile `wwindow.cxx'.
	* win/DIST: Include the new file.
	* win/wwindow.cxx: New file.

	* win/hplayw/DIST: Include the new file.
	* win/hplayw/window.h: New file.

	* win/wscreen.cxx [hplayw_screen] (time_callback): Set
 	`current_time'.
	* win/hplayw/screen.h [hplayw_screen] (current_time): New object.

	* win/wscreen.cxx [hplayw_screen] (hplayw_screen): Rewrite the
 	timekeeper initialization.

Thu Feb 20 13:52:58 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* configure: Regenerated.

	* win/wscreen.cxx [hplayw_screen] (handle_WM_TIMER): Use `tk'.
	[hplayw_screen] (handle_WM_SETFOCUS): Resume `tk'.
	[hplayw_screen] (handle_WM_KILLFOCUS): Pause `tk'.
	[hplayw_screen] (time_callback): New function.
	[hplayw_screen] (hplayw_screen): Initialize `tk'.

	* win/hplayw/screen.h [hplayw_screen] (tk): New object.

	* win/wtimekeep.cxx [hplayw_timekeeper] (connect): New function.

	* win/wmake.mif (hplay_OBJS): Compile `wtimekeep.cxx'.

	* win/DIST: Include the new file.  Forgot to include `wtimer.cxx'.
	* win/wtimekeep.cxx: New file.

	* win/hplayw/DIST: Include `timekeeper.h'.  Forgot to include
 	`timer.h'.
	* win/hplayw/timekeeper.h: New file.

Wed Feb 19 07:25:52 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx [hplay_player<hplayw_screen,hplayw_frame>]
 	(wait): Call `advance' only if idle.

	* win/wscreen.cxx [hplayw_screen] (refresh): Fix a typo.

	* configure.in (VERSION): Incremented.

	* win/hplayw.cxx [hplayw_commands] (fade_1): New class.
	[hplay_player<hplayw_screen,hplayw_frame>] (define_commands): Define
	`fade.1'.

	* win/wframe.cxx (number_of_colors): Removed.
	(colors): Removed.
	[hplayw_frame] (reset_colors): Reset `ct' to empty.
	[hplayw_frame] (hplayw_frame): Initialize `ct' to empty.

	* win/wscreen.cxx [hplayw_screen] (refresh_palette): Rewrite
 	without a special `transform'.

	* win/wscreen.cxx [hplayw_screen] (hplayw_screen): Set the first
 	pal. entry to black, the last white.

	* win/wpng.cxx [hplayw_png_image] (draw): Replace `PALETTEENTRY'
 	with `hplay_color'.
	* win/hplayw/visual.h: Replace `PALETTEENTRY' with `hplay_color'.
	* win/wframe.cxx [hplayw_frame] (draw): Replace `PALETTEENTRY'
 	with `hplay_color'.
	* win/hplayw/frame.h [hplayw_frame]: Replace `PALETTEENTRY' with
 	`hplay_color'.

	* win/wscreen.cxx [hplayw_screen] (refresh_palette): New function.
	[hplayw_screen] (set_palette): Change `colors' handling.
	[hplayw_screen] (fade): New function.
	[hplayw_screen] (handle_WM_PAINT): Use `refresh_palette'.
	[hplayw_screen] (hplayw_screen): Change the member init.

	* win/hplayw/screen.h: Include `hplay/color.h'.
	[hplayw_screen] (colors): Change type.
	[hplayw_screen] (fade_value): New object.

	* common/hplay/color.h (fade): Added declaration.

	* win/wmake.mif (hplay_OBJS): Compile the new file.
	* common/DIST: Include the new file.
	* common/color.cxx: New file.

	* win/wpng.cxx [hplayw_png_image] (unique_colors): Use `ic' for
 	color list.
	[hplayw_png_image] (hplayw_png_image): Initialize `ic'.
	* win/hplayw/visual.h [hplayw_png_image] (info_cache): New class.
	[hplayw_png_image] (ic): New object.

Tue Feb 18 19:12:15 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/screen.h (class hplay_color): Forward declaration.

	* win/hplayw/frame.h: Include `hplay/color.h'.
	* win/hplayw/visual.h: Include `hplay/color.h'.

	* common/hplay/color.h [hplay_alpha_color] (hplay_alpha_color):
 	Omit defaults for alpha.

	* common/hplay/color.h [hplay_alpha_color] (operator==): Fix a
 	typo.

	* common/hplay/view.h (hplay_color): Moved to `color.h'.

	* common/hplay/DIST: Include the new file.
	* common/hplay/color.h: New file.

Thu Feb  6 17:03:38 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/screen.h: Update the declaration.
	* win/wscreen.cxx [hplayw_screen] (new_window): An argument added.
  	Just make an overlapped window.
	[hplayw_screen] (handle_WM_GETMINMAXINFO): New function.
	[hplayw_screen] (handle_WM_WINDOWPOSCHANGED): Do not modify the window 
	style.  Call `DefWindowProc'.
	[hplayw_screen] (hplayw_screen): Pass the size argument to
	`new_window'.  Do not move the window here.
	[hplayw_screen] (callback): Dispatch `WM_GETMINMAXINFO'.  Do not
	dispatch `WM_WINDOWPOSCHANGING'.

Wed Feb  5 15:21:07 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* README: Modify the title.

	* Version 1.1.9.

	* README: Update version.

	* common/playbase.cxx [hplay_player_base] (hplay_player_base):
 	Define call.1.

	* common/playbase.cxx [hplay_player_base] (scene_call): New
 	function.
	[hplay_commands] (call_1): New class.

	* common/hplay/script.h: Update the declaration.
	* common/script.cxx [scene] (call): An argument added.

	* NEWS: Update.

	* DIST: Include NEWS.
	* NEWS: New file.

	* common/hplay/player.h [hplay_player] (advance): Call the INIT
 	chunk.
	* common/hplay/script.h (hplay_scene): Removed.
	[hplay_script] (scene): New class.
	* common/script.cxx [hplay_scene] (enter): Removed.
	(scene): New typedef name.
	[scene] (call): New function.
	[scene] (scene): Do not load the initial code.

	* configure: Regenerated.
	* configure.in (VERSION): Prepare for the next version.

	* win32/makefile.wat (CFLAGS): Include `-hc'.
	(CXXFLAGS): Likewise.
	(WLINKFLAGS): Include `option symfile option cvpack'.

	* win/wscreen.cxx [hplayw_screen::share] (new_window): Check for
 	the device capabilities.

	* win/wmake.mif (hplay_OBJS): Change `scenario' to `script'.

	* common/hplay/document.h: Change the declaration.
	* common/document.cxx [hplay_document] (script_name): Rename
 	`scenario_name'.
	* common/hplay/player.h: Change all references.

	* common/DIST: Update the list.
	* common/scenario.cxx: Removed.
	* common/script.cxx: New file.

	* common/hplay/DIST: Update the list.
	* common/hplay/scenario.h: Removed.
	* common/hplay/script.h: New file.

Fri Jan 10 10:32:50 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wscreen.cxx [hplayw_screen] (handle_WM_PAINT): Replace
 	`for_each' with `transform'.

Wed Jan  8 14:36:24 1997  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx [hplayw_commands] (byte_type): New typedef.
	[hplayw_commands] (context): New typedef.
	* common/playbase.cxx [hplay_commands] (byte_type): New typedef.
	[hplay_commands] (context): New typedef.

	* win/wtimer.cxx [hplayw_timer] (tick): Fix type name scope.

	* common/hplay/player.h: All references changed.
	* common/hplay/scenario.h: All references changed.
	* common/interp.cxx: All references changed.
	* common/hplay/interpreter.h [hplay_interpreter] (command):
 	Replace `hplay_command'.  References changed.

	* win/hplayw/frame.h: Change all references.
	* win/hplayw/timer.h: Change all references.
	* win/hplayw.cxx: Change all references.
	* win/wframe.cxx: Change all references.
	* win/wtimer.cxx: Change all references.
	* common/interp.cxx [hplay_interpreter] (make_block): Replace
 	`make_procedure'.
	* common/hplay/interpreter.h [hplay_interpreter] (block): Replace
 	`procedure'.

	* Version 1.1.8.

	* README: Doc update for new version.

	* configure: Regenerated.
	* configure.in (VERSION): Change version.

	* os2/makefile.wat (hplay00$(dllext)): Bind resources.

	* os2/dllmain.cxx (__hmodule): New object.
	(__dll_initialize): New function.

	* Version 1.1.7.

	* README: Doc update for new version.

	* configure: Regenerated.
	* configure.in (VERSION): New version.

	* win/wtimer.cxx [hplayw_timer] (tick): Check non-empty for each
 	iteration.

	* os2/makefile.wat: Rewrite using win/wmake.mif.

	* win/hplayw.cxx [hplayw_commands] (after_1): New class.
	[hplay_player<hplayw_screen,hplayw_frame>] (define_commands): Define
	'after.1'.

	* common/hplay/player.h [hplay_player] (advance): Reset the timer
 	at each scene change.

Tue Dec 31 10:01:53 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win386/makefile.wat: Use win/wmake.mif.
	* win32/makefile.wat: Use win/wmake.mif.
	* win/DIST: Include wmake.mif.
	* win/wmake.mif: New file.

	* win/hplayw/frame.h [hplayw_frame::layer] (cache): Change to an
 	auto_ptr.
	[hplayw_frame::layer] (layer): New function.
	[hplayw_frame::layer] (operator=): New function.
	[hplayw_frame::layer] (layer): Allocate `cache'.
	[hplayw_frame::active] (operator()): Change to const.
	* win/wframe.cxx [hplayw_frame] (draw): Change `operator()' to
 	const.

	* win/wpng.cxx [hplayw_png_image] (unique_colors): Fix iterator
 	usage.
	[hplayw_png_image] (draw): Likewise.

	* win/hplayw/timer.h: Make `operator()' const.
	* win/hplayw.cxx: Make `operator()' const.
	* win/wscreen.cxx: Make `operator()' const.

	* common/hplay/interpreter.h: Make `operator()' const.
	* common/hplay/player.h: Make `operator()' const.
	* common/playbase.cxx: Make `operator()' const.
	* common/scenario.cxx: Make `operator()' const.

Fri Dec 27 19:44:51 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/winmain.cxx (handle_new): New function.
	(WinMain): Install a non-returning new handler.

	* common/document.cxx: Add checks by `eassert'.
	* common/file.cxx: Add checks by `eassert'.
	* common/hplay/player.h: Add checks by `eassert'.
	* common/scenario.cxx: Add checks by `eassert'.
	* win/hplayw.cxx: Add checks by `eassert'.
	* win/wscreen.cxx: Add checks by `eassert'.

Fri Dec 13 09:50:22 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h [hplay_player] (t): New object.
	[hplay_player] (play): Add a new argument for `Screen'.

	* win/hplayw/screen.h [hplayw_screen] (timer_type): New typedef.
	[hplayw_screen] (mt): New reference.
	* win/wscreen.cxx [hplayw_screen] (handle_WM_TIMER): New function.
	[hplayw_screen] (hplayw_screen): Take a new argument for
	`hplayw_timer'.
	[hplayw_screen] (callback): Add a case for `WM_TIMER'.

	* win32/makefile.wat (hplay_OBJS): Include wtimer.

	* win/hplayw/timer.h: New file.
	* win/wtimer.cxx: New file.

Tue Dec 10 13:57:26 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.6.

	* README: Update doc.

	* configure.in (VERSION): Set to 1.1.6.
	* configure: Regenerated.

	* win/wscreen.cxx [hplayw_screen] (define_cursor): New function.

	* win/hplayw/screen.h [hplayw_screen] (define_cursor): Fix
 	arguments' types.

	* common/hplay/player.h [hplay_player] (play): Define cursors in
 	the screen.

	* common/scenario.cxx (cursor_iterator): New typedef.
	[cursor_iterator] (operator*): New function.
	(CURS): New object.
	[cursor_iterator] (operator++): New function.
	[cursor_iterator] (cursor_iterator): New function.

	* common/hplay/scenario.h [hplay_scenario] (cursor): New class.
	[hplay_scenario] (cursor_iterator): New class.
	[hplay_scenario] (begin_cursor): New function.
	[hplay_scenario] (end_cursor): New function.
	(operator!=): New function.

Fri Dec  6 09:45:19 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wframe.cxx [hplayw_frame] (refresh): Removed.
	* win/hplayw/frame.h (hplayw_frame): Update.

	* win/wscreen.cxx [hplayw_screen] (refresh): Replace `update'.
	* win/hplayw/screen.h (hplayw_screen): Reflect changes.
	* common/hplay/player.h [hplay_player] (advance): Use the new
 	function.

	* win/hplayw/frame.h [hplayw_frame] (point_type): New typedef.
	* win/wframe.cxx (point_type): New typedef.
	[hplayw_frame] (changed_area): New function.
	[hplayw_frame] (refresh): Remove most of code and use `change_area'.
	[hplayw_frame] (draw): Clear `changed' flag.
	[hplayw_frame] (unique_colors): Copy `ct' to the vector.
	* win/wscreen.cxx [hplayw_screen] (update): Set palette colors.

	* win/wframe.cxx [hplayw_frame] (unique_colors): New function.
	[hplayw_frame] (refresh): Use `unique_colors'.
	* win/hplayw/frame.h (hplayw_frame): Add the decl.

	* README: Update doc.

	* win/hplayw/player.h: Include <hplayw/screen.h>.

	* win/hplayw/frame.h [hplayw_frame] (environment_type): Removed.
	[hplayw_frame] (ev): Removed.
	* win/wframe.cxx [hplayw_frame] (hplayw_frame): Update.

	* common/hplay/player.h (hplay_player): Remove references to
 	`Frame::environment_type'.
	[hplay_player] (define_commands): Decl. for new function.
	[hplay_player] (advance): New function.
	[hplay_player] (~hplay_player): New function.
	[hplay_player] (hplay_player): New function.
	* win/hplayw.cxx [hplay_player<hplayw_screen,hplayw_frame>]
 	(wait): Replace code with a call to `advance'.
	[hplay_player<hplayw_screen,hplayw_frame>] (~hplay_player): Removed.
	Use the general version.
	[hplay_player<hplayw_screen,hplayw_frame>] (hplay_player): Likewise.
	[hplay_player<hplayw_screen,hplayw_frame>] (define_commands): New
	function.

Thu Dec  5 13:31:07 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wframe.cxx [hplayw_frame] (refresh): Use the screen passed
 	as an argument.
	[hplayw_frame] (open): Removed.
	[hplayw_frame] (close): Removed.

	* win/hplayw/frame.h [hplayw_frame] (s): Removed.  Related
 	functions removed.

	* win/hplayw/player.h (hplayw_player): Add `hplayw_screen' to the
 	definition.
	* win/hplayw.cxx [hplay_player<hplayw_screen,hplayw_frame>]
 	(wait): Change calls to `refresh'.

	* common/hplay/player.h (hplay_player): Add `Screen' parameter.
	[hplay_player<Screen,Frame>] (screen_type): New typedef.
	[hplay_player<Screen,Frame>] (scr): New object.
	[hplay_player<Screen,Frame>] (play): Make a new screen.

	* win/wframe.cxx [hplayw_frame] (cursor): Rewrite.

	* win/hplayw/frame.h (hplayw_frame): Replace the use of
 	`ww_cursor'.

	* win/wscreen.cxx [hplayw_screen] (handle_WM_MOUSEMOVE): Use the
 	cursor manager.
	[hplayw_screen] (hplayw_screen): Modify the palette initialization.

	* win/hplayw/screen.h [hplayw_screen] (cursor_manager): New class.

	* win32/makefile.wat (all): Depend the lib before the exe.
	* win386/makefile.wat (all): Likewise.
	* os2/makefile.wat (all): Likewise.

Wed Dec  4 11:49:19 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h [hplay_player_base] (next): Removed.
	[hplay_player_base] (next_id): New ojbect.
	* common/playbase.cxx [hplay_player_base] (next_scene): Set
 	`next_id'.
	* win/hplayw.cxx [hplay_player<hplayw_frame>] (wait): Open the
 	next scene if available.

Tue Dec  3 15:16:12 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/playbase.cxx [hplay_commands] (binary_1): New class.
	[hplay_player<hplayw_frame>] (hplay_player): Define `binary.1'.

	* win/winmain.cxx (WinMain): Extract the file name prefix from the
 	argument.

	* win/hplayw.cxx [hplay_commands::image_1] (operator()): Use
 	`data_prefix' for the data file.

	* common/hplay/player.h [hplay_player_base] (a_data_prefix): New
 	object.
	[hplay_player<Frame>] (play): Add an argument with the default value.
	Set `a_data_prefix'.
	* common/playbase.cxx [hplay_player_base] (data_prefix): New
 	function.

Mon Dec  2 09:52:28 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.5.

	* README: Update for 1.1.5.

	* INSTALL: Update doc.

	* configure.in (VERSION): Changed.
	* configure: Regenerated.

Sat Nov 30 09:35:33 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/interpreter.h [hplay_interpreter::context]
 	(n_stack): Rename `stack'.
	[hplay_interpreter::context] (o_stack): New object.
	* common/playbase.cxx [hplay_commands] (push_immediate_1):
 	Removed.
	[hplay_commands] (immediate_1): New class.
	[hplay_commands] (pop_1): Check for the stack underflow.
	[hplay_commands] (duplicate_1): New class.
	[hplay_commands] (object_1): New class.
	[hplay_commands] (end_object_1): New class.
	[hplay_commands] (property_1): Use `o_stack'.
	[hplay_commands] (set_property_1): Likewise.

	* common/hplay/world.h [hplay_world::object::property] (n_value):
 	Rename `n'.
	[hplay_world::object] (property_map_type): Rename `property_table' and 
	make public.
	[hplay_world::object] (property_map): Rename `pt' and make public.
	[hplay_world::object] (property_iterator): Removed.
	[hplay_world::object] (const_property_iterator): Removed.
	[hplay_world] (object_map_type): Rename `object_table'.
	[hplay_world] (object_map): Rename `ot' and make public.
	[hplay_world] (object_iterator): Removed.
	[hplay_world] (const_object_iterator): Removed.
	* common/world.cxx [object] (insert): Removed.
	[object] (erase): Removed.
	[object] (property_end): Removed.
	[object] (property_find): Removed.
	[hplay_world] (object_end): Removed.
	[hplay_world] (object_find): Removed.

Fri Nov 29 11:25:56 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* INSTALL: Update descriptions for Win16.

	* win32/makefile.wat (.rc): New entry.
	(.rc.res): Use `-fo' option.

	* win32/DIST: Remove `hplay.rc'.
	* win32/hplay.rc: Removed.
	
	* win386/makefile.wat (srcpath): Prepend `..\win'.
	(.rc): New entry.
	(.rc.res): Use `-fo' option.
	(hplayrun.exe): Remove `rex' file at the end.

	* win386/DIST: Remove `hplay.rc'.

	* win386/DIST: New file.
	* win386/makefile.wat: New file.
	* win/makefile.wat: Removed.
	* win/DIST: Remove `makefile.wat'.
	* DIST: Add `win386'.

Thu Nov 28 14:51:34 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wframe.cxx [hplayw_frame] (clear): Do not set `changed'.

	* win/hplayw/frame.h [hplayw_frame::layer] (cache): New object.
	* win/wframe.cxx [hplayw_frame] (draw): Change to non-const.  Pass
	the caches to contents.

	* win/hplayw/visual.h [hplayw_visual_object] (cache): New class.
	[hplayw_visual_object] (draw): Add a cache argument and change to
	const.  All derived classes changed, too.
	* win/wpng.cxx [hplayw_png_image] (draw): Use the cache for image
 	data.

	* common/playbase.cxx [hplay_commands] (property_1): New class.
	[hplay_commands] (set_property_1): New class.
	[hplay_player] (hplay_player): Define `property.1' and
	`set_property.1'.

	* common/world.cxx [object] (property_end): New function.
	[object] (property_find): Rename `find'.
	[object] (~object): New function.
	[object] (object): New function.
	(world): New typedef.
	[hplay_world] (object_end): New function.
	[hplay_world] (object_find): Rename `find'.

	* common/hplay/world.h [hplay_world] (object): Put `HPLAY_API'.
	[hplay_world::object] (property_table): Move to protected.
	[hplay_world::object] (property_iterator): New typedef.
	[hplay_world::object] (const_property_iterator): New typedef.
	[hplay_world] (object_table): Move to protected.
	[hplay_world] (object_iterator): New typedef.
	[hplay_world] (const_object_iterator): New typedef.

	* README: Update.

Wed Nov 27 15:42:16 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/playbase.cxx [hplay_commands] (if_else_1): New class.
	[hplay_player_base] (hplay_player_base): Define `if_else.1'.

	* common/interp.cxx [hplay_interpreter] (stop): New function.

	* common/hplay/interpreter.h [hplay_interpreter::error] (error):
 	New function.

Tue Nov 26 09:44:36 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/playbase.cxx (hplay_commands): New class.
	[hplay_player_base] (hplay_player_base): Define base commands.
	* win/hplayw.cxx [hplayw_commands] (next_scene_1): Moved.
	[hplayw_commands] (invisible_1): New function.
	[hplayw_commands] (image_1): Fix types.
	[hplay_player<hplayw_frame>] (hplay_player): Change commands.

	* win/hplayw.cxx [hplay_player<hplayw_frame>] (hplay_player):
 	Rewrite using `define'.

	* common/playbase.cxx [hplay_player_base] (manage): Removed.
	[hplay_player_base] (define): New function.
	* common/hplay/player.h (hplay_player_base): Updated.

	* README: New file.  Replace `READMEja'.
	* DIST: Replace `READMEja' with `README'.

Mon Nov 25 11:36:39 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.4.
	* configure.in (VERSION): Changed.
	* configure: Regenerated.

	* win/wscreen.cxx [hplayw_screen] (set_palette): Check for the
 	number of colors.
	* win/wframe.cxx [hplayw_frame] (refresh): Remove check for the
 	number of colors.

	* win/wpng.cxx [hplayw_png_image] (unique_colors): Ignore
 	transparent colors.
	(operator==): Removed.
	[hplayw_png_image] (draw): Handle more than one transparent color.

	* common/hplay/png.h [hplay_png_reader] (color_value_type): Rename
 	`color'.  All references changed.
	[hplay_png_reader] (color_iterator): Rename `color_table_iterator'.
	All references changed.
	[hplay_png_reader] (color_size): Rename `color_table_size'.  All
	references changed.
	[hplay_png_reader] (color_begin): Likewise.
	[hplay_png_reader] (color_end): Likewise.
	* common/hppng.cxx: Comments added.
	[hplay_png_reader] (transparent_color): Removed.
	[hplay_png_reader] (transparent): New function.
	[hplay_png_reader] (read_data): Rewrite in a compact form.

	* win/wframe.cxx [hplayw_frame] (refresh): Build a color table at
 	run time.
	(number_of_colors): Reduced the value.

	* win/hplayw/visual.h [hplayw_visual_object] (unique_colors): New
 	function.
	* win/wpng.cxx [hplayw_png_image] (unique_colors): New function.

	* common/hplay/view.h [hplay_color] (value_type): Was typedef'd to
 	`unsigned int'.
	(operator==): New function.

	* win/wpng.cxx (init_bmih): New function.
	(read_image): New function.
	(operator==): Type of the second argument changed.
	[hplayw_png_image] (draw): Use `alloca' if compiled with WATCOM.  Use
	the new functions.
	[hplayw_png_image::draw::f] (operator()): Changed using the new
	`operator=='.

Sat Nov 23 12:46:16 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wpng.cxx (operator==): New function.
	[hplayw_png_image] (draw): Remove the old code.  Use passed colors to
	look up the palette index.  Use `DIB_PAL_COLORS' for the rest of
 	`StretchDIBits' calls.

	* win/hplayw/visual.h [hplayw_visual_object] (draw): Arguments
 	added.  All derived classes changed, too.

	* win/wframe.cxx [hplayw_frame] (draw): Pass palette colors to
 	contents.
	* win/hplayw/frame.h (hplayw_frame): Updated.

	* win/wscreen.cxx [hplayw_screen] (update): Remove nested braces.
  	Select the palette before the bitmap.  Change the draw call.
	[hplayw_screen] (set_palete): Do not change the real palette.
	[hplayw_screen] (handle_WM_PAINT): Animate the palette.  Select it
	before the bitmap.
	[hplayw_screen] (handle_WM_ACTIVATE): Do not try to minimize if
	minimized.
	[hplayw_screen] (hplayw_screen): Initialize `colors'.  Place a black
	at the beginning and a white at the end.

	* win/hplayw/screen.h [hplayw_screen] (colors): New object.

Fri Nov 22 10:21:40 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wscreen.cxx (reserved): Removed.
	(black): Removed.
	(white): Removed.
	(hplayw_screen::hplayw_screen): Use common values of `ww_palette'.

	* READMEja: Update documentation.

	* win/wscreen.cxx (hplayw_screen::set_palette): Change `peFlags'.
  	Set colors from the second entry.
	(reserved): New object.
	(white): New object.
	(hplayw_screen::hplayw_screen): Change the initial set of colors.
	* win/wframe.cxx (number_of_colors): Decreased by 2.

	* win/wpng.cxx (hplayw_png_image::draw): Use `DIB_PAL_COLORS' for
 	masking.

	* win/wscreen.cxx (hplayw_screen::reserve_palette): Moved into
 	`#ifdef USE_MORE_COLORS'.  All references changed.

	* win/wscreen.cxx (hplayw_screen::update): Make sure the palette
 	is realized before drawing.

Thu Nov 21 16:23:21 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* html/index.html: New file.
	* html/file.html: New file.
	* html/hplayrun.html: New file.
	* html/frame.html: New file.
	* html/DIST: Include `index.html', `hplayrun.html', `file.html',
 	and `frame.html'.

Thu Nov 14 11:31:31 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.3.
	* configure.in (VERSION): Set to `1.1.3'.
	* configure: Regenerated.

	* common/scenario.cxx (hplay_scenario::arrange): Check for the
 	chunk size.

	* win/wscreen.cxx (hplayw_screen::handle_WM_DESTROY): Remove a
 	call to `close' on `*f'.

	* win/hplayw.cxx (hplayw_commands::image_1): Changed the
 	`hplayw_png_image' initialization.

	* win/hplayw/visual.h (hplayw_visual_object::coord_type): New
 	typedef.
	(hplayw_visual_object::point_type): Replace `point'.  All references
	changed.
	* win/wpng.cxx (hplayw_png_image::hplayw_png_image): [const string
 	&...] Moved from the header.

	* win/hplayw/sensor.h (hplayw_sensor::coord_type): New typedef.
	(hplayw_sensor::point_type): Replace `point'.  All references changed.
	(hplayw_sensor::hplayw_sensor): [default] Removed.
	* win/wsensor.cxx (hplayw_sensor::active): Check for non-polygons.
  	Loop rewrite.
	(hplayw_sensor::hplayw_sensor): The argument type changed.

	* win/hplayw.cxx (hplayw_commands::image): Changed to use the new
 	`assign'.

	* common/hplay/player.h (hplay_player<Frame>::manage): Removed.
	(hplay_player<Frame>::assign): New argument `to_be_managed' added.

	* common/hplay/player.h (hplay_player<Frame>::assign): Delete
 	contents managed by the player.

	* Makefile.in (update): New target.
	(dist): Depend to `update'.

	* common/hplay/player.h (hplay_player<Frame>::place): Removed.

	* win/hplayw.cxx (hplayw_commands::place_1): Rewrite.  All
 	references changed.
	(hplayw_commands::map_1): Unmap if not map.

	* win/hplayw.cxx (hplayw_commands::map_1): New class.
	(hplay_player<hplayw_frame>::hplay_player): Add the `map.1' command.

	* win/wframe.cxx (hplayw_frame::place): Argument `mapped' added.
	(hplayw_frame::map): New function.
	* win/hplayw/frame.h (class hplayw_frame): Updated.
	(hplayw_frame::unmap): New function.

Wed Nov 13 09:56:20 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h (hplay_player<Frame>::object_table):
 	Changed the type.  All references changed.
	* win/hplayw.cxx (hplay_player<hplayw_frame>::hplay_player):
 	Initialize `ot' with 256 nils.

	* common/hplay/player.h (hplay_player<Frame>::play): Open the
 	frame with the scenario's title.

	* common/scenario.cxx (hplay_scenario::title): New function.
	* common/hplay/scenario.h: Updated.

	* win/wscreen.cxx (hplayw_screen::share::new_window): Added an
 	argument for the window title.  Fix the initial window size to
 	640x480.
	(hplayw_screen::handle_WM_DESTROY): Call `close' on the frame.
	(hplayw_screen::hplayw_screen): Changed the type of `size' and `frame'.
	Added an argument for the window title.
	* win/hplayw/screen.h: Updated.
	* win/wframe.cxx (hplayw_frame::open): Updated.

	* win/wframe.cxx (hplayw_frame::open): Added an argument for the
 	window title.
	(hplayw_frame::hplayw_frame): Likewise.
	* win/hplayw/frame.h: Decls updated.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::place): Removed as
 	the general version was written.

	* common/hplay/player.h (hplay_player<Frame>::assign): The
 	argument type changed.
	(hplay_player<Frame>::place): New function.
	(hplay_player<Frame>::variation): Removed.
	(hplay_player<Frame>::bind_button1): Removed.
	(hplay_player<Frame>::bind_button2): Removed.

Tue Nov 12 11:49:27 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx (hplayw_commands::variation_1): Rewrite.
	(hplayw_commands::bind_event_1): Rewrite.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::set_cursor):
 	Removed.
	(hplayw_commands::cursor_1): Rewrite.

	* common/hplay/player.h (hplay_player<Frame>::f): Changed to a
 	subobject.  All references changed.
	(hplay_player<Frame>::variation): Changed to non-`const'.
	(hplay_player<Frame>::bind_button1): Likewise.
	(hplay_player<Frame>::bind_button2): Likewise.
	(hplay_player<Frame>::play): Use `f.open'.
	* win/hplayw.cxx (hplayw_commands::bind_event_1::operation_type):
 	Changed to non-`const'.
	(hplay_player<hplayw_frame>::hplay_player): Initialize `f'.

	* win/hplayw/frame.h (hplayw_frame::ev): New object.
	* win/wframe.cxx (hplayw_frame::open): New function.
	(hplayw_frame::close): New function.
	(hplayw_frame::hplayw_frame): New function.
	(hplayw_frame::hplayw_frame): Initialize `ev'.  Use `open'.

	* win/wframe.cxx (hplayw_frame::button1): Make a local `context'
 	for the procedure.
	(hplayw_frame::button2): Likewise.

	* common/scenario.cxx (hplay_scene::enter): Make a local
 	`context'.

	* common/hplay/interpreter.h (hplay_command::context): New class.
	(hplay_command::operator()): Add a `context' argument.  All derived
	classes changed.
	(hplay_interpreter::context): New typedef.
	(hplay_interpreter::procedure::operator()): Add a `context'
	argument.
	* common/interp.cxx (hplay_interpreter::execute): Add a `context'
 	argument.
	* win/hplayw.cxx: Update command classes.

Mon Nov 11 13:37:49 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* html/classes.html: New file.
	* html/DIST: New file.

	* os2/DIST: Reorder entries.

	* win/wscreen.cxx (hplayw_screen::handle_WM_WINDOWPOSCHANGING):
 	Exclude `SWP_NOMOVE' and `SWP_NOSIZE' from flags.

	* win/wpng.cxx (hplayw_png_image::draw): Disable work-around for
 	Open32.

	* win/hplayw/player.h: New file.  Replace `win/hplay/wplayer.h'.
	All references changed.
	* win/winmain.cxx: Updated.
	* win/hplayw/DIST: Include `player.h'.
	* win/DIST: Exclude `hplay'.

	* os2/makefile.wat: Update to the same level as Win32.

Fri Nov  8 10:27:14 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.2.
	* configure.in (VERSION): Updated.
	* configure: Regenerated.

	* READMEja: Updated.

	* win/hplayw/visual.h (hplayw_visual_object::c): Removed.
	(hplayw_visual_object::cursor): Removed.

	* configure.in: Create `testdata/Makefile'.
	* configure: Regenerated.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::set_cursor): Rewrite
 	using `hplayw_frame::cursor'.
	(hplayw_commands::cursor_1): Rename `set_cursor_1'.
	(hplay_player<hplayw_frame>::hplay_player): Rename the `set_cursor.1'
	command.

	* win/hplayw/frame.h (hplayw_frame::layer::cursor): New object.
  	Constructor changed.
	* win/wframe.cxx (hplayw_frame::cursor): New function.
	(hplayw_frame::point): Use the new `cursor' member of layers.

	* win/hplayw.cxx (hplayw_commands::image_1::operator()): Remove
 	the poly handling.
	(hplayw_commands::poly_1): New class.
	(hplay_player<hplayw_frame>::hplay_player): Add the `poly.1' command.

	* common/hplay/player.h (hplay_player<Frame>::poly): New function.

	* win/hplayw/visual.h (hplayw_visual_object::poly): New function.
	(hplayw_visual_object::draw): Change the argument type.  All
	derivatives and references changed.
	* win/wpng.cxx (hplayw_png_image::draw): Update.
	* win/wframe.cxx (hplayw_frame::draw): Update.

Thu Nov  7 11:51:59 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx (hplayw_commands::player_type): New typedef.
	(hplayw_commands::place_1::operator()): Implement variations.
	(hplayw_commands::variation_1): New class.
	(hplay_player<hplayw_frame>::hplay_player): Add `variation.1'
	commands.

	* common/hplay/player.h (hplay_player<Frame>::variation): New
 	function.

	* win/hplayw/frame.h (hplayw_frame::layer::variation): New object.
	(hplayw_frame::layer::layer): Add an optional argument for
	variations.
	* win/wframe.cxx (hplayw_frame::place): Set layer's variation.
	(hplayw_frame::variation): New function.
	(hplayw_frame::draw::f::operator()): Handle variations.

	* win/hplayw/visual.h (hplayw_visual_object::draw): Add an
 	optional argument for variations.  All derivatives changed.
	(hplayw_png_image::topleft): Removed.
	(hplayw_png_image::bottomright): Removed.
	(hplayw_png_image::rect_size): New object.
	(hplayw_png_image::s_pos): New object.
	(hplayw_png_image::hplayw_png_image): Change arguments.  All
	references changed.
	* win/wpng.cxx (hplayw_png_image::draw): Modified to enable
 	variations.

	* DIST: Add `html'.

	* common/hppng.cxx (hplay_png_reader::hplay_png_reader): Fix the
 	image handling for packed pixels.

Wed Nov  6 11:02:57 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/visual.h (hplayw_visual_object::byte_type): Removed.
	(hplayw_visual_object::procedure): Removed.
	(hplayw_visual_object::b1): Removed.
	(hplayw_visual_object::b2): Removed.
	(hplayw_visual_object::bind_button1): Removed.
	(hplayw_visual_object::bind_button2): Removed.
	(hplayw_visual_object::button1): Removed.
	(hplayw_visual_object::button2): Removed.
	* common/hplay/player.h (hplay_player<Frame>::bind_button1):
 	Change the arg. type.  Use `bind_button1' of the frame.
	(hplay_player<Frame>::bind_button2): Likewise.
	* win/hplayw.cxx: Update.

	* win/hplayw/frame.h (hplayw_frame::layer::button1_proc): New
 	object.
	(hplayw_frame::layer::button2_proc): New object.
	* win/wframe.cxx (hplayw_frame::bind_button1): New function.
	(hplayw_frame::bind_button2): New function.
	(hplayw_frame::button1): Use `layer::button1_proc'.
	(hplayw_frame::button2): Use `layer::button2_proc'.

	* win/wframe.cxx (hplayw_frame::add_layer): Removed.
	(hplayw_frame::clear): Clear `layers' by filling with null layers.
	(hplayw_frame::place): New function.
	(hplayw_frame::hplayw_frame): Initialize `layers' with 256 layers.
	* win/hplayw/frame.h: Update.
	* win/hplayw.cxx: Update.

	* win/hplayw/frame.h (hplayw_frame::content_type): New typedef.
	(hplayw_frame::layer): Change the definition.
	(hplayw_frame::active::operator()): Update.
	* win/wframe.cxx: Update references.

	* INSTALL: New file.
	* DIST: Include `INSTALL'.

	* Change comments.

Fri Nov  1 09:53:41 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* Version 1.1.1

	* win/winmain.cxx: Switch to the LGPL.

	* READMEja: Update doc.

	* common/interp.cxx (hplay_interpreter::execute): Change to
 	`const'.
	(hplay_interpreter::make_procedure): Likewise.
	* common/hplay/interpreter.h: Update.
	(hplay_interpreter::procedure::i): Change to `const'.
	* win/hplayw.cxx: Update.

	* win/hplayw.cxx (hplayw_commands::next_scene_1): Rename
 	`next_scene'.
	(hplay_player<hplayw_frame>::hplay_player): Update.

	* win/hplayw.cxx (hplayw_commands::test): Removed.
	(hplay_player<hplayw_frame>::hplay_player): Remove the `:test'
	command.

	* win/hplayw.cxx (hplayw_commands::image_1): New class.
	(hplay_player<hplayw_frame>::hplay_player): Define the `image'
	command.

Thu Oct 31 11:31:04 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wscreen.cxx (colors): Removed.

	* common/hplay/interpreter.h: Add `#pragma pack'.

	* common/hplay/interpreter.h (hplay_interpreter::procedure::a):
 	Removed.
	(hplay_interpreter::procedure::b): Removed.
	(hplay_interpreter::procedure::code): New object.  All referencese
	changed.

	* DIST (COPYING): New file.
	(COPYING.LIB): New file.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::set_cursor): New
 	function.
	(hplayw_commands::set_cursor_1): New class.
	(hplayw_commands::test::operator()): Do not set cursor here.
	(hplay_player<hplayw_frame>::hplay_player): Define the `set_cursor'
	command.
	* common/hplay/player.h: Update.

	* win/hplayw.cxx (hplayw_commands::test::f): Removed.  All
 	references changed.

	* win/hplayw.cxx (hplayw_commands::test::operator()): Assign `11'
 	to the background object.

Wed Oct 30 10:37:57 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx (hplayw_commands::place_1): Rename
 	`hplayw_commands::place'.
	(hplayw_commands::place_1::operator()): Change the object number
 	to 1-byte.
	(hplay_player<hplayw_frame>::hplay_player): Rename `:place' to
 	`place.1'.

	* DIST (testdata): Rename `test'.

	* common/hplay/player.h (hplay_player<Frame>::play): Remove the
 	default assignment of `:next_scene'.

	* win/hplayw.cxx (hplayw_commands::test::operator()): Remove the
 	default binding for the object `22'.

	* win/hplayw.cxx (hplayw_commands::test2): Removed.
	(hplay_player<hplayw_frame>::hplay_player): Remove the `:test2'
	command.

	* common/hplay/player.h (hplay_player<Frame>::bind_button1): New
 	function.
	(hplay_player<Frame>::bind_button2): New function.
	* win/hplayw.cxx (hplayw_commands::bind_event_1): New class.
	(hplayw_commands::test::operator()): Use
	`hplay_player<Frame>::bind_button1'.
	(hplay_player<hplayw_frame>::hplay_player): Define the `bind_button1.1'
	and `bind_button2.1' commands.

	* common/hplay/player.h (hplay_player<Frame>::assign): New
 	function.
	* win/hplayw.cxx (hplayw_commands::test): Rewrite.  Assign 22 to
 	the button object.
	(hplayw_commands::test2): Rewrite.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::place): New
 	function.
	(hplayw_commands::place): New class.
	(hplay_player<hplayw_frame>::hplay_player): Add the `:place'
	command.
	* common/hplay/player.h: Update.

Tue Oct 29 16:03:29 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx (hplayw_commands::next_scene): Change to
 	fixed-length.
	(hplayw_commands::test2): Update.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::wait): Process
 	scenes before entering the main loop.

	* win/winmain.cxx (WinMain): Update as `hplay_player' changes.

	* win/hplayw.cxx (hplay_player<hplayw_frame>::wait): Process
 	pending scenes after the message dispatch.
	(hplayw_commands::next_scene): New class.
	(hplayw_commands::test::f): Change the type.
	(hplayw_commands::test::operator()): Remove the second object to `test2'.
	(hplayw_commands::test2): Rewrite.
	(hplay_player<hplayw_frame>::hplay_player): Do not open the document
	here.  Remove some commands.

	* common/playbase.cxx (hplay_player_base::next_scene): New
 	function.
	(hplay_player_base::open_scene): Removed.
	(hplay_player_base::~hplay_player_base): Reverse the order of deletes.
	(hplay_player_base::hplay_player_base): Do not open the document or
	the scenario here.

	* common/hplay/player.h (hplay_player_base): Clean up.
	(hplay_player<Frame>): Clean up.

	* common/interp.cxx (hplay_interpreter::unpack): New function.
	(hplay_interpreter::execute): Use `unpack'.
	* common/hplay/interpreter.h: Update.

	* common/document.cxx: Add comments.

	* common/scenario.cxx: Doc rewrites.
	(hplay_scenario::arrange): Simplify the local class `f'.

	* common/hplay/scenario.h (hplay_scenario::initial_scene): New
 	function.

	* common/file.cxx (hplay_file::hplay_file): Fix missing
 	initialization.

Mon Oct 28 14:11:24 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/winmain.cxx (WinMain): Remove a call to
 	`hplayw_frame::initialize'.

	* common/hplay/player.h (hplay_player<Frame>): Rename
 	`hplay_basic_player'.
	(hplay_player<Frame>::environment_type): New typedef.
	* win/hplay/wplayer.h: Update.
	* win/hplayw.cxx: Update.
	(hplay_player<hplayw_frame>::hplay_player): Prepend an
	`environment_type' arg.

	* win/hplayw/frame.h (hplayw_frame::environment_type): New
 	typedef.
	* win/wframe.cxx (hplayw_frame::hplayw_frame): Prepend an
 	`environment_type' arg.
	(hplayw_frame::initialize): Removed.

	* win/hplayw/screen.h (hplayw_screen::environment_type): New
 	typedef.
	* win/wscreen.cxx (hplayw_screen::hplayw_screen): Prepend an
 	`environment_type' arg.
	(hplayw_screen::use_share): Add an arg.  Set `resource_instance' if
	not DLL.
	(hplayw_screen::application_instance): Removed.
	(hplayw_screen::default_show_command): Removed.
	(hplayw_screen::initialize): Removed.

	* win/winmain.cxx (WinMain): Instantiate a `ww_environment'
 	object.  Set the debug level to 2.

	* common/hplay/world.h (hplay_world::object): Rewrite.
	(hplay_world::directory): Removed.
	(hplay_world::object_id): New typedef.
	(hplay_world::object_table): New typedef.
	(hplay_world::ot): New object.
	(hplay_world::relation): Change the base class.
	(hplay_world::inheritance): New object.
	(hplay_world::location): New object.
	(hplay_world::objdir): Removed.
	* common/world.cxx (object): New typedef.
	(object::insert): New function.
	(object::erase): New function.
	(object::find): New function.
	(object::load): New function.
	(hplay_world::find): New function.

	* win/hplayw.cxx (hplayw_commands): New class.  Nest command
 	classes.
	(hplay_basic_player<hplayw_frame>::hplay_basic_player): Update.

	* common/hplay/interpreter.h (hplay_command::clone): Removed.
	(hplay_trivial_command): Rename `hplay_simple_command'.  Change
	the references.
	(hplay_interpreter::command): Change the type.
	* common/interp.cxx (hplay_interpreter::undefine): Update as
 	`commands'.
	(hplay_interpreter::define): Change the arg. type.  Update as
	`commands'.
	* common/scenario.cxx: Update.

Fri Oct 25 21:42:48 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx
 	(hplay_basic_player<hplayw_frame>::hplay_basic_player): Add
 	`:reset_colors' command.

	* win/wframe.cxx (hplayw_frame::refresh): Set the palette.
	(number_of_colors): New object.
	(colors): New object.
	(hplayw_frame::reset_colors): New function.
	(hplayw_frame::set_color): New function.
	(hplayw_frame::hplayw_frame): Initialize `ct'.

	* win/hplayw/frame.h (hplayw_frame::ct): New object.

	* win/wscreen.cxx (hplayw_screen::set_palette): New function.
	(hplayw_screen::hplayw_screen): Initialize `palette' with all
	blacks.
	* win/hplayw/screen.h: Update.

Thu Oct 24 10:53:04 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* makedist: New file.

	* DIST: New file.
	* common/DIST: New file.
	* common/hplay/DIST: New file.
	* win/DIST: New file.
	* win/hplay/DIST: New file.
	* win/hplayw/DIST: New file.
	* win32/DIST: New file.

	* win/hplayw.cxx
 	(hplay_basic_player<hplayw_frame>::hplay_basic_player): Use
 	`hplay_scenario::frame_size'.

	* common/scenario.cxx (hplay_scenario::frame_size): New function.
	(hplay_scenario::make_index): Update as `hplay_file' changes.
	* common/hplay/scenario.h: Update.

	* common/hplay/file.h (hplay_file::unpack16): New function.
	(hplay_file::unpack32): Rename `read32'.
	* common/file.cxx: Update.

	* win/wframe.cxx (hplayw_frame::modified): Removed.
	* win/hplayw/frame.h: Update.

	* win/wscreen.cxx (hplayw_frame::modified): Remove check for the
	modified flag of the frame.

	* win/hplayw.cxx
 	(hplay_basic_player<hplayw_frame>::~hplay_basic_player): Apply
 	`delete' in the reverse order.
	(hplay_test_command::p): New object.  Update initialization of the class.
	(hplay_test_command::operator()): Allocate the background object
	dynamically.

	* common/hplay/player.h (hplay_basic_player<Frame>::object_type):
 	New typedef.  Replace other use of `Frame::object_type'.
	(hplay_basic_player<Frame>::manage): New function.

Tue Oct 22 09:36:39 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h (hplay_basic_player
 	<Frame>::object_table): New typedef.
	(hplay_basic_player <Frame>::ot): New object.
	(hplay_basic_player <Frame>::odelete): New object.
	* win/hplayw.cxx: Doc update.
	(hplay_basic_player <hplayw_frame>::~hplay_basic_player): Apply
	`delete' to `odelete'.

	* win/hplayw/frame.h (hplayw_frame::object_type): New typedef.

	* win/hplayw/screen.h (hplayw_screen::t): New object.
	* win/wscreen.cxx (hplayw_screen::handle_WM_SETFOCUS): Start the
 	timer.
	(hplayw_screen::handle_WM_KILLFOCUS): Stop the timer.

	* win/hplayw/frame.h (hplayw_frame::timer): Removed.

Mon Oct 21 10:02:15 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/interpreter.h
 	(hplay_interpreter::procedure::operator()): Check the value of
 	`i'.
	(hplay_interpreter::procedure::procedure): Set `i' to 0 by default.

	* win/hplayw/visual.h (hplayw_visual_object::i): Removed.  Change
 	all references.
	(hplayw_visual_object::procedure): New typedef.
	(hplayw_visual_object::b1): Change the type.
	(hplayw_visual_object::b2): Likewise.
	(hplayw_visual_object::bind_button1): Change the argument list.
	(hplayw_visual_object::bind_button2): Likewise.
	(hplayw_visual_object::button1): Rewrite.
	(hplayw_visual_object::button2): Likewise.
	* win/hplayw.cxx: Update.

	* common/hplay/scenario.h (hplay_scene::code): New member.
	* common/scenario.cxx (hplay_scene::hplay_scene): Set `code'.
	(hplay_scene::enter): Use `code'.

	* common/hplay/interpreter.h (hplay_interpreter::procedure): New
 	class.
	* common/interp.cxx (hplay_interpreter::make_procedure): New
 	function.

	* common/hplay/scenario.h (hplay_scenario::command_table): Change
 	the definition.
	* common/hplay/interpreter.h (hplay_make_command): Change the
 	return type.
	* common/hplay/player.h (hplay_player_base::ct): New member.
	(hplay_player_base::cdelete): New member.
	* common/playbase.cxx (hplay_player_base::manage): New function.
	(hplay_player_base::~hplay_player_base): Apply `delete' on `cdelete'.
	* win/hplayw.cxx (hplay_basic_player
 	<hplayw_frame>::hplay_basic_player): Remove local variable `ct'.
  	Update for the new `hplay_scenario::command_table' definition.

	* win/hplayw.cxx (hplay_test_command::operator()): Change a test
 	object.

	* win/wpng.cxx (hplayw_png_image::draw): Fix the source position
 	in bottom-up DIBs.

	* win/wscreen.cxx (hplayw_screen::handle_WM_PAINT): Add `throw
 	()'.
	(hplayw_screen::handle_WM_QUERYNEWPALETTE): Likewise.
	(hplayw_screen::handle_WM_MOUSEMOVE): Likewise.
	(hplayw_screen::handle_WM_LBUTTONDOWN): Likewise.
	(hplayw_screen::handle_WM_RBUTTONDOWN): Likewise.
	(hplayw_screen::handle_WM_SETFOCUS): Likewise.
	(hplayw_screen::handle_WM_KILLFOCUS): Likewise.
	(hplayw_screen::handle_WM_ACTIVATE): Likewise.
	(hplayw_screen::handle_WM_WINDOWPOSCHANGING): Likewise.
	(hplayw_screen::handle_WM_WINDOWPOSCHANGED): Likewise.
	(hplayw_screen::handle_WM_DESTROY): Likewise.
	(hplayw_screen::callback): Likewise.

Thu Oct 17 10:28:39 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h (hplay_player_base::dc): New member.
	* common/playbase.cxx (hplay_player_base::hplay_player_base):
 	Initialize `dc'.
	* win/hplayw.cxx (hplay_basic_player
 	<hplayw_frame>::hplay_basic_player): Use member `dc'.

	* common/hplay/player.h (hplay_player_base::w): New member.
	* common/playbase.cxx (hplay_player_base::hplay_player_base): Get
 	a world `w' from the document.

	* common/document.cxx (hplay_document::get): New function.

	* common/scenario.cxx (hplay_scenario::open): Fix a call to
 	`make_index'.
	(hplay_scenario::hplay_scenario): Likewise.

	* common/scenario.cxx (hplay_scenario::make_index): Remove
 	redundant argument `file'.
	* common/hplay/scenario.h: Update the prototype.

	* common/hplay/file.h (hplay_file::chunk::data): New typedef.
	(hplay_file::chunk::s): New member.  Initialize in the constructor.
	* common/file.cxx (hplay_file::chunk::load): New function.
	(hplay_file::load): Removed.
	* common/document.cxx: Update.
	* common/scenario.cxx: Update.

	* common/playbase.cxx (hplay_player_base::open_scene): New
 	function.
	* common/hplay/player.h (hplay_basic_player <Frame>::play_scene):
 	Use `open_scene'.
	* win/hplayw.cxx (hplay_basic_player
 	<hplayw_frame>::hplay_basic_player): Use `open_scene' with a scene
 	number from the document.

	* common/hplay/document.h (hplay_document::context::context): New
 	function.
	(hplay_document::context_table): New typedef.  Replace `vector
 	<context>'.
	* common/document.cxx (context_table): New typedef.
	(hplay_document::context_table_size): New function.
	(hplay_document::context_table_begin): Rename `context_begin'.
  	Add the `const' version.
	(hplay_document::context_table_end): Likewise.
	(hplay_document::latest_context): Add the `const' version.
	(hplay_document::save): Change the return type.
	(hplay_document::close): Likewise.
	(hplay_document::open): Likewise.
	(hplay_document::scan): New function.  Use it in `open' and the
 	constructor.

	* common/document.cxx: Doc fix.

	* common/hplay/document.h (class hplay_document): Rewrite.
	* common/document.cxx: Update.

	* common/hplay/file.h (class hplay_chunk): Removed.
	(class hplay_file::chunk): New class.
	(class hplay_file::data): New class.  Replace removed `hplay_chunk'.
	(class hplay_file): Rewrite.
	* common/file.cxx: Update.
	* common/hplay/scenario.h: Update.
	* common/scenario.cxx: Update.

Wed Oct 16 11:28:33 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h (hplay_player_base::next_available): New
 	member.
	(hplay_player_base::next_scene): New member.
	(hplay_basic_player <Frame>::play_scene): Rewrite.
	* common/playbase.cxx (hplay_player_base::play): New function.
	(hplay_player_base::hplay_player_base): Initialize `next_available'.
	* win/winmain.cxx (WinMain): Call `p.play'.

	* win/hplayw/frame.h (struct hplayw_frame::active): New class.
	* win/wframe.cxx (hplayw_frame::point): Change the return type.
  	Use `hplayw_frame::active'.  Change the arg. type.
	(hplayw_frame::button1): Rewrite.  Change the arg. type.
	(hplayw_frame::button2): New function.
	* win/wscreen.cxx: Update.
	(hplayw_screen::handle_WM_MOUSEMOVE): Set cursor by itself.
	(hplayw_screen::handle_WM_LBUTTONDOWN): Remove an inappropriate call
	to `set_cursor'.
	(hplayw_screen::handle_WM_RBUTTONDOWN): Rewrite.

Tue Oct 15 13:28:04 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw.cxx (struct hplay_test2_command): New class.
	(hplay_basic_player <hplayw_frame>::hplay_basic_player): Use it.
	(hplay_test_command::operator()): Bind it to button1.

	* win/hplayw/visual.h (hplayw_visual_object::bind_button1): New
 	function.
	(hplayw_visual_object::bind_button2): New function.
	(hplayw_visual_object::button1): New function.
	(hplayw_visual_object::button2): New function.
	* win/wpng.cxx: Update.
	* win/hplayw.cxx: Update.

	* common/hplay/view.h (hplay_point <Coord>::operator+=): New
	function.
	(hplay_point <Coord>::operator-=): New function.
	(operator+): New function.
	(operator-): New function.

	* win/hplayw/frame.h: Add some documentation.
	(hplayw_frame::layer): Change the definition.
	* win/wframe.cxx: Update.
	(hplayw_frame::test): Removed.
	(hplayw_frame::add_layer): New function.
	* win/hplayw.cxx (struct hplay_test_command): New class.  Replace
 	removed `hplayw_frame::test'.

	* win/hplayw/visual.h: Add some documentation.
	(class hplayw_visual_object): Add functions to respond user input.
	(hplayw_visual_object::draw): Change the return type.  Update derived
	classes.
	* win/wpng.cxx: Update.

Mon Oct 14 12:48:34 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/sensor.h (hplayw_sensor::c): Removed.
	* win/wsensor.cxx: Update.

	* win/makefile.wat (CFLAGS): Remove expensive optimization flags.
	(CXXFLAGS): Likewise.
	(clean): Do not try to remove files in obsolete subdirectories.
	* win32/makefile.wat (CFLAGS): Remove expensive optimization
 	flags.
	(CXXFLAGS): Likewise.
	(clean): Do not try to remove files in obsolete subdirectories.

	* win/hplayw/sensor.h (hplayw_sensor::hplayw_sensor): New
 	function.
	(hplayw_sensor::rect_size): Removed.
	(hplayw_sensor::polygon): New typedef.
	(hplayw_sensor::p): New member.
	* win/wsensor.cxx (hplayw_sensor::active): Rewrite for polygon
 	shape.
	(hplayw_sensor::hplayw_sensor): New function.
	* win/wframe.cxx: Update.

	* win/hplayw/frame.h (hplayw_frame::layer::cursor): Removed.  Use
 	`sensor' to get cursors in other places.
	* win/wframe.cxx: Update.

	* win/hplayw/sensor.h (class hplayw_sensor): Add some
 	documentation.
	(hplayw_sensor::c): New member.
	(hplayw_sensor::hplayw_sensor): Add the second argument.
	* win/wsensor.cxx: Update.

	* win/hplayw/sensor.h (hplayw_sensor::point): New typedef.
  	Replace the use of `ww_point' in the class.
	* win/hplayw/sensor.h: Remove include <ww/metric.h>.
	* win/wsensor.cxx: Update.
	* win/wframe.cxx: Update.

	* win/wframe.cxx (hplayw_frame::clear): New function.

	* win/hplayw.cxx (hplay_basic_player
 	<hplayw_frame>::hplay_basic_player): Add `:clear' command to call
 	`hplayw_frame::clear'.

Thu Oct 10 16:59:04 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/interpreter.h (class hplay_simple_command <>):
 	Replace template parameter `R'.
	(hplay_make_command): Likewise.

	* win/makefile.wat (CFLAGS): Replace `-oilr' in favor of speed.
	(CXXFLAGS): Likewise.
	(hplay_OBJS): Add `wscreen'.
	* win32/makefile.wat: Likewise.

	* win/hplay/wplayer.h (hplay_wplayer): Replace template parameter
 	`hplayw_frame_manager'.
	* win/hplayw.cxx: Update.
	* win/winmain.cxx: Update.

	* common/hplay/player.h (class hplay_basic_player <>): Replace
 	template parameter `FrameManager'.
	(hplay_basic_player <>::play_scene): Likewise.

	* common/hplay/interpreter.h (class hplay_simple_command <>): Add
 	template parameter `class R'.
	(hplay_make_command): Likewise.
	(hplay_simple_command <>::fun): Change the function to non-`const'.
	(hplay_simple_command <>::target): Change from reference type.

	* win/hplayw/frame.h (class hplayw_frame): Simplify using
 	`hplayw_screen'.
	(class hplayw_frame_manager): Removed.
	* win/wframe.cxx: Update.
	* win32/dllmain.cxx: Update.

	* win/hplayw/screen.h (class hplayw_screen): New class.
	* win/wscreen.cxx (class hplayw_screen): Move functions from
 	`hplayw_frame' and `hplayw_frame_manager'.

Wed Oct  9 11:09:19 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wframe.cxx
 	(hplayw_frame::object::handle_wm_windowposchanged): Replace `RECT'
 	with `ww_rectangle'.
	(hplayw_frame::object::handle_wm_windowposchanging): Likewise.

Tue Oct  8 14:26:36 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/def.h (HPLAY_DLLEXPORT): New macro.
	(HPLAY_API): Redefine using `__cdecl' and `HPLAY_DLLEXPORT'.

	* common/scenario.cxx (class hplay_scenario): Rewrite using
 	`hplay_file'.

	* common/file.cxx (hplay_file::operator istream &): New function.

	* common/file.cxx (hplay_file::toc_size): New function.
	(hplay_file::toc_begin): New function.
	(hplay_file::toc_end): New function.

	* common/hplay/file.h (hplay_file::toc): Rename `chunk_sequence'.
	(class hplay_file): Make data members `protected' instead of
	`private'.

	* common/hplay/file.h: Modify includes.
	* common/file.cxx: Likewise.

	* common/hplay/file.h (class hplay_file): New class.
	* common/file.cxx: Implement `hplay_file'.

	* common/file.cxx (read_uint32): Rewrite using
 	`hplay_chunk::read32'.

	* common/hplay/file.h (class hplay_chunk): Rewrite or rename
 	`hplay_chunk::data'.  Update all references.
	(hplay_chunk::read32): Make inline.

Mon Oct  7 16:52:06 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/file.h (class hplay_chunk::token): New class.
	Substitute references to `hplay_chunk'.
	(hplay_chunk::hplay_chunk): New function.

	* common/hplay/scenario.h (struct hplay_scenario::scene_token):
 	New struct.
	(hplay_scenario::scene_map): New typedef.
	(hplay_scenario::scenes): New member.
	* common/scenario.cxx (hplay_scenario::make_index): New function.
	(hplay_scenario::hplay_scenario): Set scenes.
	(hplay_scenario::open): Reset scenes.
	(hplay_scenario::open_scene): Look up a scene using member `scenes'.

	* common/file.cxx (hplay_chunk::data::read32): New function.

Fri Oct  4 10:39:12 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wpng.cxx (hplayw_png_image::draw): Draw part of an image
 	according to `topleft' and `bottomright' members.

	* win/wframe.cxx (hplayw_frame::test): Add arguments to
 	hplayw_png_image.

Thu Oct  3 12:06:50 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/visual.h (hplayw_png_image::topleft): New member.
	(hplayw_png_image::bottomright): New member.
	(hplayw_png_image::hplayw_png_image): Initialize the new members.

	* common/scenario.cxx (hplay_scenario::arrange): Use `CMDT' chunks
 	to arrange an interpreter.

	* common/hplay/scenario.h (class hplay_scenario): Reorganize.

	* win/wframe.cxx: Change `ww_window' and `ww_cursor' use.

Wed Oct  2 15:59:19 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplayw/frame.h (class hplayw_frame): Use ww_cursor_ptr.

	* win/hplayw.cxx
 	(hplay_basic_player<hplayw_frame_manager>::hplay_basic_player):
 	Use `play_scene'.

	* common/hplay/player.h (hplay_basic_player<>::play_scene): New
 	function.

	* win/wframe.h (class hplayw_frame): Update to the `ww_window'
 	change.

Tue Oct  1 12:30:30 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/scenario.cxx (hplay_scenario::arrange): Assign 1 to
 	":refresh" command.

	* common/interp.cxx (hplay_interpreter::execute): Decode `len' as
 	variable length int.

	* common/hplay/interpreter.h (hplay_interpreter::command_info):
 	Removed.

	* common/interp.cxx (hplay_interpreter::execute): Use the return
 	value of a command for the next command.

	* common/hplay/interpreter.h (hplay_command::operator()): Change
 	the return type `void'.

	* win/hplayw.cxx (hplay_basic_player <T>::hplay_basic_player):
 	Replace `struct cmd' with new `class hplay_simple_command'
 	template.  Add ":refresh" command.

	* common/hplay/interpreter.h (class hplay_simple_command <T>):
 	Make `target' const.  Use `HPLAY_API' for member functions.
	(hplay_make_command): Likewise.

	* win/wframe.cxx (hplayw_frame::test): Change the return type
 	`hplayw_frame &'.

	* common/hplay/interpreter (class hplay_simple_command <T>): New
	class.
	(hplay_make_command): New function.

Mon Sep 30 11:45:24 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/scenario.h (hplay_scenario::command_table): Change
 	the second parameter to map from hplay_command *.  Change all
	references.

	* common/hplay/scenario.h (hplay_scenario::command_table): New
 	typedef.
	* common/scenario.cxx (hplay_scenario::arrange): New function.

	* common/interp.cxx (hplay_interpreter::execute): Return an
 	iterator value that points past the end of executed code.

	* common/scenario.cxx (hplay_scene::hplay_scene): New constructor.
	(hplay_scene::enter): Use not literal code but `CODE' chunk.
	* common/hplay/scenario.h (hplay_scene::chunks): New member.

	* common/hplay/interpreter.h (hplay_command::byte_type): Change
 	from `unsigned char'.

	* ChangeLog: Doc fix.

	* win/wframe.cxx
 	(hplayw_frame::object::handle_wm_windowposchanging): Remove ifdef
 	for Win386.

Thu Sep 26 09:58:18 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/playbase.cxx (hplay_player_base::hplay_player_base):
 	Append suffix to scenario name.
	* common/document.cxx (hplay_document::scenario_name): Change
 	chunk name from `SCEN' to `SNAM'.

	* win/hplayw.cxx (hplay_basic_player<>::hplay_basic_player): Call
 	`current_scene.enter' instead of direct call to the interpreter.

	* common/hplay/scenario.h (class hplay_scene): Add members.
	* common/hplay/player.h (class hplay_player_base): Add member
 	`current_scene'.

	* common/hplay/scenario.h (class hplay_scene): New file.
	(class hplay_scenario::scene): Removed.  Change all references.

	* common/hplay/file.h (class hplay_file): Removed.
	(class hplay_chunk): New class.  Change other files.

	* win/hplayw.cxx (hplay_basic_player<>::hplay_basic_player): Use
 	interpreter for tests.

	* common/interp.cxx (class hplay_interpreter): Change resource
 	management for commands.
	* common/hplay/interpreter.h: New file.  Move interpreter classes
 	from hplay/player.h.

	* common/hplay/player.h (template class hplay_basic_player):
 	Change parameter from Frame to FrameManager.

	* win/wframe.cxx (class hplayw_frame): Make copy-able.  Separate
 	construction code.
	(class hplayw_frame_manager): New class.

Wed Sep 25 10:55:25 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hplay/wplayer.h (class hplay_basic_player<hplayw_frame>):
 	Removed.
	* common/hplay/player.h (template class hplay_basic_player): Add
 	member decls.

	* win/wframe.cxx (number_of_colors): New const object.

	* win/hplayw.cxx
 	(hplay_basic_player<hplayw_frame>::hplay_basic_player): Remove
 	unused args.  Change the type of `name' to `string'.  Change all
	calls.

	* win/wframe.cxx (hplayw_frame::hplayw_frame): Remove unused
 	arguments.  Change all calls.

	* win/winmain.cxx (WinMain): Call
 	`hplay_wplayer::frame_type::initialize'.

	* win/wframe.cxx (hplayw_frame::default_show_command): New object.
	(hplayw_frame::application_instance): New object.
	(hplayw_frame::resource_instance): New object.
	(hplayw_frame::initialize): New function.
	(hplayw_frame::dll_initialize): Set `resource_instance'.
	(hplayw_frame::hplayw_frame): Use `application_instance' and
	`default_show_command' instead of the args.
	(hplayw_frame::new_window): Use `resource_instance' for the icon.

Tue Sep 24 10:42:00 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hplay/player.h (class hplay_basic_player<Frame>): Derive
 	from hplay_player_base.
	(class hplay_basic_player<Frame>): Define frame_type.

	* win/hplay/wplayer.h (class hplay_basic_player<hplayw_frame>):
 	Define frame_type.

	* win/hplayw.cxx
 	(hplay_basic_player<hplayw_frame>::set_dll_instance): Removed.

	* win32/dllmain.cxx (DllMain): Call hplayw_frame::dll_initialize
 	instead of hplay_wplayer::set_dll_instance.
	* win/wframe.cxx (hplayw_frame::dll_initialize): New function.

	* common/hplay/view.h: New file.  Move all decls from hpview.h.
	Change all references.
	* common/hplay/png.h: New file.  Move all decls from hppng.h.
	Change all references.
	* common/hplay/player.h: New file.  Move all decls from hplay.h.
	Change all references.

	* common/hplay/def.h: New file.  Move all decls. from hpdef.h.
	Change all references.
	* common/hplay/world.h: New file.  Move all decls. from
	hpworld.h.  Change all references.
	* common/hplay/scenario.h: New file.  Move all decls. from
 	hpscenario.h.  Change all references.
	* common/hplay/file.h: New file.  Move all decls. from hpfile.h.
	Change all references.
	* common/hplay/document.h: New file.  Move all decls. from
 	hpdocument.h.  Change all references.

	* win/hplayw/frame.h (class hplayw_frame): Rename from
 	hplay_wframe.  Change all references.

	* win32/dllmain.cxx: Change for hplay/wplayer.h.  Use ww/sysapi.h
 	instead of windows.h.

	* win/hplay/wplayer.h (HPLAY_WPLAYER_H): Rename from HPLAYW_H.

	* win/hplay/wplayer.h: New file.  Move all classes from hplayw.h.
	Change all references.

	* win/hplayw/visual.h (HPLAYW_VISUAL_H): Rename from HPVIEWW_H.

	* win/hplayw/visual.h: New file.
	(class hplayw_visual_object): Move from hpvieww.h.  Change all
 	references.
	(class hplayw_png_image): Likewise.
	(class hplayw_text): Likewise.

	* win/hplayw/frame.h (HPLAYW_FRAME_H): Rename from HWFRAME_H.

	* win/wpng.cxx: Include ww/metric.h.
	* win/hplayw/sensor.h: New file.  Move class hplayw_sensor from
 	hpvieww.h.  Change all references.

	* win/hplayw/frame.h: New file, moved from hwframe.h.  Change all
	references.

	* os2/makefile.wat (RC): New macro.
	(WRC): Removed.
	(.rc.res): Use RC instead of WRC.
	(hplayrun.exe): Bind resource to the exe.

	* win/wframe.cxx (hplay_wframe::handle_wm_size): Removed.
	(hplay_wframe::handle_wm_windowposchanging): New function.
	(hplay_wframe::handle_wm_windowposchanged): New function.
	(hplay_wframe::hplay_wframe): Do not set frame_origin.
	(hplay_wframe::callback): Add case for WM_WINDOWPOSCHANGED.  Remove
	for WM_SIZE.  Call handle_wm_windowposchanging.

Fri Sep 20 13:26:24 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/wpng.cxx (hplayw_png_image::draw): Change the type of `pos'
	from POINT.

	* win/hpvieww.h: Clean includes.
	(hplayw_png_image::hplayw_png_image): Change arg's type from char *.

	* win/hwframe.h: Add includes.

	* win/hpvieww.h (class hplay_wframe): Move to hwframe.h.
	* win/hwframe.h: New file.

	* win/wframe.cxx (hplay_wframe::nw): Removed.
	* win/hpvieww.h (hplay_wframe::number_of_windows): Do not use `nw'.

	* win/makefile.wat (CFLAGS): Add -w2.
	(CXXFLAGS): Likewise.

	* win/wframe.cxx (hplay_wframe::handle_wm_querynewpalette): Remove
 	unused argument names.
	(hplay_wframe::handle_wm_paint): Likewise.
	(hplay_wframe::handle_wm_mousemove): Likewise.
	(hplay_wframe::handle_wm_lbuttondown): Likewise.
	(hplay_wframe::handle_wm_rbuttondown): Likewise.
	(hplay_wframe::handle_wm_setfocus): Likewise.
	(hplay_wframe::handle_wm_killfocus): Likewise.
	(hplay_wframe::handle_wm_size): Likewise.
	(hplay_wframe::handle_wm_destroy): Likewise.
	(hplay_wframe::handle_wm_activate): Do not call function from
	message_handler.
	(hplay_wframe::operator()): Removed.
	(hplay_wframe::handle_wm_destroy): Call window_map.erase.
	(hplay_wframe::new_window): Use ww_window_class_manager instead
	ww_application_window_class.  Call window_map.insert.
	(hplay_wframe::callback): New function.
	(hplay_wframe::window_map): New object.
	* win/hpvieww.h (class hplay_wframe): Do not derive from
 	ww_application_window_class:: message_handler.
	(hplay_wframe::window_map_type): New type.

	* win/wframe.cxx (hplay_wframe::operator()): Handle
 	WM_WINDOWPOSCHANGING.
	(hplay_wframe::hplay_wframe): MoveWindow to adjust the window geometry.
	(hplay_wframe::new_window): Use application icon for OS/2.
	(hplay_wframe::new_window): Do not use WS_POPUP since the OS/2 window
	list ignore popup windows.

Thu Sep 19 20:09:36 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* os2/makefile.wat (CFLAGS): Reduce debug level.  Add
 	optimization.
	(CXXFLAGS): Likewise.
	(WLINKFLAGS): Output all debug info. not just line and local.
	(.c.obj): Do not compile as DLL.
	(.cxx.obj): Likewise.
	(.cpp.obj): Likewise.
	(hplayrun_LDADD): Add ww, stl, libpng, zlib.
	(main.obj): Removed.
	(winmain.obj): Removed.
	(hplay_OBJS): Remove wpngbm.
	(dllmain.obj): New target.
	* win32/makefile.wat (TARGET_DLL_WLINKFLAGS): Change from wn_win.
	(.c.obj): Do not compile as DLL.
	(.cxx.obj): Likewise.
	(.cpp.obj): Likewise.
	(winmain.obj): Removed.
	(hplay_OBJS): Remove wpngbm.
	(dllmain.obj): New target.

	* win/makefile.wat (hplay_OBJS): Remove wpngbm.

	* win/hpvieww.h (class hplayw_png_image::image_bitmap): Removed.
	(class hplay_wframe): Add palm and bmm.  Reorder members.
	* win/wframe.cxx (hplay_wframe::hplay_wframe): Do not enlarge
 	window.
	(hplay_wframe::new_window): Do not use WS_OVERLAPPED style.
	(hplay_wframe::new_window): Change return type from pointer.
	(hplay_wframe::hplay_wframe): Change arg. a's type from POINT.

Wed Sep 18 20:10:06 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win/hpvieww.h (class hplay_wframe): Forbid copy.
	(class hplay_wframe): Remove draw_layer.

	* win/hplayw.h (class hplay_basic_player): Forbid copy.

	* common/scenario.cxx (hplay_scenario::scene::~scene): Move from
 	the header.
	(hplay_scenario::idata::idata): Likewise.
	(hplay_scenario::open): Likewise.
	(hplay_scenario::~hplay_scenario): Likewise.
	(hplay_scenario::hplay_scenario): Likewise.

	* common/document.cxx (hplay_document::idata::idata): Move from
 	the header.

Fri Sep 13 09:43:55 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* win32/makefile.wat (hplayrun_LDADD): Add ww, stl, libpng, and
 	zlib.

	* win32/makefile.wat: Move ..\watcom\ww.mif to ..\ww\wmake.mif.

	* win/makefile.wat: Move file ..\watcom\ww.mif to ..\ww\wmake.mif.
	(hplayrun_LDADD): Add ww, stl, libpng, and zlib.
	(hplay_OBJS): Remove ww, stl, libpng, and zlib.

	* watcom/ww.mif: Removed.

	* watcom/ww.mif (ww_OBJS): Add wwicon.  Rename cursor to wwcursor.

	* win/wframe.cxx (hplay_wframe::new_window): Use an icon from the
 	resource.

	* win/hpvieww.h (class hplay_wframe): Add member timer.

	* common/hppng.cxx (hplay_png_reader): Pass this as io_ptr.
	(read_data): Use io_ptr as a pointer to hplay_png_reader.

	* win/wframe.cxx (hplay_wframe): Initialize out_of_sync to false
	since there're no objects yet.

Thu Sep 12 11:32:04 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hppng.cxx (hplay_png_reader): Cast to istream *.

	* win/wpngbm.cxx (image_bitmap): Use back_insert_iterator to make
	a row address vector.
	(image_bitmap): Reserve memory for rows.

	* common/hpworld.h (class hplay_world): Change arguments of
	constructor and load.
	(class hplay_world): Add dump.

	* common/hpdocument.h (class hplay_document): Define world_info.

	* win/makefile.wat (hplay_OBJS): Add world.obj.

	* common/hpdocument.h (hplay_document): Add world member to
	idata.
	* common/world.cxx (*destructor*): New function.
	(*constructor*): New function.

	* common/document.cxx (*destructor*): Move from the header.
	(*constructor*): Likewise.
	(open): Likewise.
	(close): Likewise.

	* win/hplayw.cxx (hplay_basic_player): Remove a call to
	scen.open.
	* common/playbase.cxx (hplay_player_base): Change the argument
	type from const char *.
	(hplay_player_base): Add another argument.
	(hplay_player_base): Open scenario using prefix.

	* win/hplayw.cxx (hplay_basic_player): Call scen.open.

	* ChangeLog: Doc fix.

	* common/hplay.h (class hplay_player_base): Add scen.

	* common/hpscenario.h (class hplay_scenario): Add new functions.
	(class hplay_scenario): Remove data_file member.  Add iptr
	member.
	* common/scenario.cxx (hplay_scenario): Removed.
	(hplay_scenario): Removed.
	(open): Removed.

	* common/hplay.h (class hplay_player_base): Remove member
	document.  Add new member doc.
	* common/hpdocument.h (class hplay_document): Remove data_file,
	scenario, and world members.
	(class hplay_document): Add a new member iptr.
	(class hplay_document): Add new functions: open, close, and
	constructors.
	* common/document.cxx (~hplay_document): Removed.
	(hplay_document): Removed.
	(open): Removed.
	(scenario_name): Change the interface.

Wed Sep 11 11:33:49 1996  Kazuhiro Sasayama  <kaz@hypercore.co.jp>

	* common/hpdef.h: Use nstring.h instead of bstring.h.
	* common/hpdocument.h: Likewise.
	* common/hpfile.h: Likewise.
	* common/hpscenario.h: Likewise.
	* common/hpview.h: Likewise.
	* win/hplayw.h: Likewise.

	* win/wpng.cxx (draw): Use ww_application_brush.

	* watcom/ww.mif (ww_OBJS): Add ww\appbrush.

	* common/hpfile.h (class hplay_file): Define chunk::size_type and
	chunk::const_iterator.
	(class hplay_file): Define chunk::size, chunk::begin and
	chunk::end.

	* common/document.cxx (scenario_name): Read scenario file name
	from a chunk.
	(scenario_name): Change the argument from const hplay_file &.

	* common/file.cxx (chunk): New function in hplay_file::chunk.

	* common/hpfile.h (class hplay_file): Define nested class chunk.

	* common/document.cxx (hplay_document): Simplify this->scenario
	initialization.

	* common/document.cxx (hplay_document): Change the argument type
	from const char *.
	(open): Likewise.

	* common/scenario.cxx (hplay_scenario): Change the argument type
	from const char *.
	(open): Likewise.

