1Mon Dec 29 17:34:07 1997  Stan Shebs  <shebs@andros.cygnus.com>
2
3	* cmd.def (^P): New command, unit repair.
4	* mkunits.c (make_countries): Add some error checking, fix removal
5	of isolated populations.
6	* mplayer.c (estimate_strengths): Fix to know initial strengths
7	accurately, prevents premature resignation.
8
9	* macconq.h (ATTACK_MODAL): New mode.
10	* macconq.c (adjust_cursor): Use it.
11	* maccmd.c (do_attack): Move code here.
12	(do_detonate, do_fire, do_fire_into): Use common code.
13	(do_repair): New function.
14	* macmap2.c: Include cmd.def and maccmd.def.
15	(do_mouse_down_map_content): Add ATTACK_MODAL case, share mode
16 	exit code.
17	* macmenus.c: Enable Find Next Occupant only when unit selected.
18	(do_move_mi, etc): Remove.
19
20	* gazala.g: Add some help strings, fine-tune supply sources.
21	* monster.g: Let fire departments repair buildings.
22	* earth-50km.g, t-e50-river.g, u-e50-1996.g: Various adjustments.
23
24	* PROJECTS: Remove/merge some items, reflect above changes.
25
26Wed Sep 17 19:15:55 1997  Stan Shebs  <shebs@andros.cygnus.com>
27
28	* cmd.def (idle): New command.
29	* tp.c (net_set_sentry_task): New function.
30	* utype.def (generic-char): New unit type property.
31	* unit.c (shortest_generic_name): New function.
32	* nlang.c (others_here_desc, occupants_desc): Use it.
33	* ui.c (get_generic_images): Only load imf dir once.
34	* world.c (paint_border, paint_connection): Fix display update.
35
36	* maccmd.c, xcmd.c, ccmd.c (do_idle, etc): New functions.
37	* macmenus.c: Remove prototypes for nonexistent functions.
38
39	* modern.g: Add city hp, steel consumption.
40	* mod-usa.g: Set lat/long, adjust roads.
41	* napoleon.g: Let leaders redistribute supply.
42	* panzer.g: Define generic names for unit types.
43	* u-e50-1996.g: Adjust Texas city locations.
44
45	* PROJECTS: Reflect above changes, remove pointless library tasks.
46
47Mon Aug 11 20:16:23 1997  Stan Shebs  <shebs@andros.cygnus.com>
48
49	* table.def (mp-to-enter-own): New table.
50	* help.c (uu_table_row_desc): Add connective argument.
51	* history.c (get_nth_history_line): Rewrite.
52	(update_total_hist_lines, build_hist_contents): New functions,
53	taken from Mac interface.
54	* init.c: Remove warning about ZOC range.
55	* mkunits.c (expand_country): Account for advantage when adding
56	units.
57	* move.c (in_blocking_zoc, zoc_move_cost): Handle ZOC range > 1.
58	(test_blocking_zoc, zoc_cost_fn): New functions.
59	* nlang.c (usual_date_string): Fix bug.
60	* run2.c (run_attrition): Don't do attrition on incompletes.
61
62	* macdefs.h (miMorePlanTypes, miMoreAIControl, miSideSendMessage,
63	miPlanTypeNone, etc): New menu items.
64	(miWeatherStorms): Remove.
65	* maccmd.c (message_dialog): Add editable side-to field.
66	* maclist.c (list_vscroll_fn): Fix rect size.
67	* macmenus.c (init_menus, etc): Add unit plan type submenu, AI
68 	control message send menu items.
69	(do_plan_type_mi, do_one_plan_type): New functions.
70	(enable_commands_for_unit): Filter out dead units.
71	* macwins.c (set_history_scrollbar, etc): Rewrite history list
72 	handling, move some code to history.c.
73	(draw_historical): Merge from event and date drawing.
74
75	* gettysburg.g: Increase infantry ZOC range to 2.
76	* greek.g: Increase a and c hp, add attrition and accidents.
77	* insects.g: Restore commented-out attrition table.
78	* standard.g: Add unit growth to large country variant.
79
80	* PROJECTS: Reflect above changes, remove some mystifying items.
81
82Sun Jul 27 16:43:58 1997  Stan Shebs  <shebs@andros.cygnus.com>
83
84	* mac.c (close_scorefile_for_writing): New function.
85	* system.h (close_scorefile_for_writing): Add decl.
86	* score.c (get_scores): Don't list total playings if same as
87	count for the one player.
88	* nlang.c (rel_short_side_title, etc): Remove, never used.
89	(parse_usual_date): Add more cases.
90
91	* africa.g: Add more types of animals, food and food effects.
92	* animals.imf: Images for new types of animals.
93	* misc.imf (crown): Move here from people.imf.
94	* people.imf (explorer): New image.
95	* imf.dir: Update to reflect changes.
96
97	* mac-sect.texi: Add more info.
98
99	* PROJECTS: Update to reflect above changes.
100
101Wed Jul  9 19:37:20 1997  Stan Shebs  <shebs@andros.cygnus.com>
102
103	* imf.c (color_matches_mono): Fix test.
104	(emblem_position): New function.
105	* imfapp.c (draw_one_image): Call it.
106	* macdraw.c (draw_unit_image): Ditto.
107
108	* */Makefile.in (datadir): Default to $(prefix)/lib/xconqdir,
109	fix installation ownership tweaking.
110	* unix.c (default_library_filename): Use new pathname.
111	(open_scorefile_for_writing): Set uid.
112	(close_scorefile_for_writing): New function, resets uid.
113	* score.c (write_scorefile): Call it.
114	* xconq.c (main): Set uid.
115
116	Split manual into player and designer manuals.
117	* xcdesign.texi: New file.
118	* xconq.texi: Restrict to only player info.
119	* design.texi: Reword introductory section.
120	* curses-sect.texi: Update nodes and menus.
121	* doc/Makefile.in: Reorganize lists of files and actions.
122
123	* kwic.c: Sort more thoroughly.
124
125	* coral-sea.g, fred.g, etc: Improve the blurbs.
126	* greek.g (cp-on-creation, cp-per-build): Redundant, remove.
127	* normandy.g: Use symbols for units, add British airborne.
128	* sf.imf (asteroid-belt, etc): New images.
129	* imf.dir: Update.
130
131	* PROJECTS: Reflect changes.
132
133Thu Jul  3 18:31:15 1997  Stan Shebs  <shebs@andros.cygnus.com>
134
135	* metz-1944.g, ob-nor-alld.g, ob-nor-axis.g: Use symbols instead
136	of numbers to identify each unit.
137	* ob-nor-axis.g: Fill in more German divisions.
138
139Thu Jun 26 20:20:45 1997  Stan Shebs  <shebs@andros.cygnus.com>
140
141	From Keir Novik <ken21@cam.ac.uk>:
142	* ng-ships.g: Add many more ship names, including destroyers
143	and Soviet battleships.
144
145Thu Jun 26 19:22:34 1997  Stan Shebs  <shebs@andros.cygnus.com>
146
147	* mtype.def (description-format): Remove, was useless.
148	* ttype.def (description-format): Ditto.
149	* help.c (describe_mtype, describe_ttype): Remove refs.
150	* utype.def (type-in-game-max, type-per-side-max): Fix bounds.
151	* lisp.c (eval_number): Move here from read.c.
152	* nlang.c (unit_handle): Add handling of description-format.
153	(plan_desc): Make normal descriptions more succinct, describe
154	formation.
155	(goal_desc): Describe formation goal better.
156	* plan.c (plan_desig): Make info relate to struct better.
157	* read.c (fill_in_features): Robustify feature list parsing.
158	* run2.c (unit_revolt): Don't let units revolts to sides that
159	have never seen them.
160
161	* macdraw.c (draw_unit_image): Use improved algorithm for emblem
162	placement.
163	* macmap.c (draw_unit_info): Remove formation description.
164	* macwins.c (calc_construction_rects): Increase width of type
165	subarea.
166
167	* beirut.g: Adjust imagery and vision.
168	* gettysburg.g: Add description formats, tweak names of multi-part
169	units.
170	* space.g: Add gas giants, several types of stars, workable
171	construction and occupancy rules, and star name generation.
172	* wizard.g: Use type names instead of letters, fix occupancy
173	rules, add stacking.
174
175	* refman.texi: Fix doc of features and description format.
176	* mac-sect.texi: Document preferences, more menu items, and
177	construction window.
178
179	* INSTALL: Mention CFLAGS and LDFLAGS.
180	* PROJECTS: Reflect above changes, add some ideas.
181
182	From Michael Firnau <mfi@techfak.uni-kiel.de>:
183	* xutil.c (parse_xpm_colors): Fix misuse of strcmp.
184
185Wed Jun 11 20:49:46 1997  Stan Shebs  <shebs@andros.cygnus.com>
186
187	* actions.c (check_research_action): Test um_to_research.
188	* combat.c (capture_unit): Add argument.
189	(one_attack): Record attacks.
190	* run2.c: Fix callers of capture_unit.
191	* gvar.def (zz-run-serial-number): Add internal name indication.
192	* history.c (record_unit_side_change): Record surrenders also.
193	* imf.c (interp_image): Handle embed-size property.
194	* move.c (move_unit): Add disabled code to record movement.
195	* nlang.c (historical_event_desc): Add surrender description.
196
197	* xcmd.def (pattern, solid): New commands.
198	* xcmd.c (do_build): Fix test of building while an occupant.
199	(do_x_prefer_pattern, do_x_prefer_solid_color): New functions.
200	* xconq.h (UI pref_solid_color_terrain): New slot.
201	* xconq.c (main): Move possible game collection into
202 	popup_game_dialog.
203	* xdesign.c (update_curutype): Fix.
204	* xdraw.c (draw_units): Adjust position of stack indicator.
205	(draw_unit_image): Add argument to alter appearance of image.
206	(draw_side_info): Draw score info.
207	(draw_side_progress): Adjust sizes, draw amount in reserve.
208	* xcloseup.c, xmap.c: Fix callers of draw_unit_image.
209	* xinit.c (init_terrain_images): Fix search for color data.
210
211	* macconq.c (interp_mac_ui_data, ui_update_state): Remember font
212 	sizes.
213	* macdraw.c (draw_hex_region): Improve solid color drawing test.
214	* macinit.c (init_terrain_images): Find solid color directly,
215	not by looking for "best" image at 1x1.
216	* macmap.c (draw_unit_info): Describe formation.
217
218	* macwins.c (seed_side_rename_string, get_side_rename_string): New
219 	functions.
220	(side_rename_dialog): Call them.
221	(preferred_closeup_size): Space closeup text more closely.
222	(draw_unit_closeup): Format more like to map unit info.
223
224	* emblems.imf: Improve some backgrounds.
225	* terrain.imf: Pick some better solid colors, simplify desert,
226	remove soggy terrain (same as flooded).
227	* midearth.g (see-occupants): Remove, only sets to default.
228
229	* commands.texi: Remove T command.
230	* mac-sect.texi: Move doc of @ to here from commands.texi, fix
231	definitions of zoom-in/out.
232	* x11-sect.texi: Describe "pattern" and "solid" commands.
233	* refman.texi: Describe recent GDL changes.
234
235	* PROJECTS: Reflect some changes above, remove a couple excessive
236 	ideas.
237
238	* all.g: Update for recent GDL changes.
239	* cmd-diff.sh: Add info about the interface defining each command.
240
241Fri May 30 17:43:59 1997  Stan Shebs  <shebs@andros.cygnus.com>
242
243	* imf.h (find_color_name): Make visible to all.
244	* imf.c (write_imf): Handle more solid color possibilities.
245	(parse_lisp_palette_entry): Recognize more color names.
246
247	* macimf.c (mac_add_ppat): Improve heuristics for solid color
248	vs mono patterns.
249	(interp_ctab): Recognize more color names.
250	(make_generic_image_data): Handle colors correctly.
251
252	* imfapp.c (draw_as_terrain_image): Draw solid colors correctly.
253	(draw_as_unit_image): Draw colors as terrain.
254
255	* terrain.imf: Tweak "straw", plus use more symbolic color names.
256
257Wed May 28 19:22:16 1997  Stan Shebs  <shebs@andros.cygnus.com>
258
259	* side.c (cover_area): Add argument for unit's transport.
260	(cover_area_1): Move initial tests into cover_area, update
261	display if any coverage change when debugging is on.
262	* actions.c (make_unit_complete), side.c, unit.c: Update calls
263 	to cover_area.
264	* unit.c (leave_cell_aux): Add argument for old transport.
265
266	* mknames.c (assign_unit_number): Don't overwrite existing
267	number if unit is a numbered type.
268
269	* ui.c (get_unit_type_images): Add argument for preferred style.
270
271	* macdefs.h (diPrefsColorUnitImages): New dialog item.
272	* macconq.c (color-unit-images): New preference property.
273	(ui_update_state, set_preferences, etc): Handle it.
274	* macdraw.c (pref_solid_color_terrain): Rename from
275	solid_color_terrain.
276	(draw_coverage): Don't draw alt coverage if no LOS.
277	* macinit.c (init_unit_images): Choose silhouette vs full color
278	based on preference.
279	* imfapp.c: Define UPP-related macros.
280	(make_imf_resources): Append size to non-8x8 patterns and colors.
281	* macimf.c (mac_add_ppat): New function.
282	(mac_load_imf): Call it, also look for 1x1 and 32x32 images.
283	(mac_create_cicn): Detect memory exhaustion.
284
285	* gazala.g: Add supply effects, numbers for numbered units.
286	* std-c.imf: New file, color versions of standard unit images.
287	* imf.dir: Add new images.
288	* terrain.imf: Various cleanups.
289
290	* PROJECTS: Remove item about standard unit images.
291
292Wed May 21 19:39:50 1997  Stan Shebs  <shebs@andros.cygnus.com>
293
294	* gvar.def: Set default advantage bounds to 0.
295	* init.c (init_side_advantage): Adjust side's maxadvantage up if
296	country synthesis will be performed.
297	* write.c (write_side_properties): Tweak maxadvantage default.
298
299	* nlang.c (generic_oneliner): Improve description of control and
300	people.
301
302	* ui.c (special_strcmp): New function, sorts standard-game-based
303	games to front to list.
304	(module_name_compare): Call it.
305
306	* macinit.c (display_selected_game): Simplify blurb default.
307	* macdesign.c (draw_design_window_tool): Indicate control drawing
308	more clearly.
309	(paint_on_drag): Fix mistake in control/people painting.
310
311	* game.dir: Add beirut, midway, postmodern, steppes, time;
312	remove planets.
313	* cherbourg.g: Add a blurb.
314	* magnusvew.g, ww2-div-pac.g, ww2s-42.g, ww2s-pac-41.g: Remove
315 	advantage-max settings.
316	* postmodern.g: More cleanup.
317	* steppes.g: Tweak for addition to game list.
318	* p-e1-1938.g: Adjust to match earth-1deg.g changes.
319	* u-e1-1938.g: Sort into new standard unit order.
320	* ww2-e38.g, ww2-39.g: Add control layer.
321	* ww2-42.g: Adjust control layer to match earth-1deg.g changes,
322	remove towns already in u-e1-1938.g.
323
324	* PROJECTS: Remove useless mention of possible doctrine slots,
325	remove implemented item about advantage adjustment.
326
327Wed May 14 19:38:32 1997  Massimo Campostrini <campo@ipifidpt.difi.unipi.it>
328
329	* x11/Imakefile, curses/Imakefile: Added -lm flag to link.
330	* doc/Imakefile: Fix.
331
332	* imf.c (parse_lisp_palette_entry): New function, use everywhere.
333
334	* ximf.c (x11_interp_imf): Make a color pixel for a 1x1 image.
335	(x11_make_color_pixmap): Use parse_lisp_palette_entry.
336	* xutil.c (write_xpm_file): Ditto.
337	* xmap.c (USEIMAGE): Enable.
338
339	* terrain.imf: Add solid color images for all terrain types.
340
341Wed May 14 18:38:35 1997  Stan Shebs  <shebs@andros.cygnus.com>
342
343	* utype.def (courage-max, courage-min, opinion-max, opinion-min,
344	revolt-at-opinion-min):	New properties.
345	(has-opinions): Remove.
346	* table.def (opinions-on-creation): New table.
347	* run2.c (run_revolts, unit_revolt): Use unit opinions if defined.
348	* unit.c (init_unit_opinions): Use new unit type properties.
349	* unit.h (unit_opinion, unit_courage, etc): New macros.
350	* nlang.c (parse_date): Remove, never used.
351	(monthdays): New global.
352	(usual_date_string): Use to make accurate dates.
353	(relative_date_string): Add cases for calendar types.
354	* tp.c (remove_chars): Work on any buffer.
355	* write.c (shortest_escaped_name): Always use internal name.
356
357	* mormon.g: Add some documentation.
358
359	* refman.texi: Reflect above GDL changes.
360	* PROJECTS: Remove implemented parts of opinion/morale project.
361
362Tue Apr 29 20:54:39 1997  Jay Schuster <jay@pcc.com>
363
364	* task.c (parse_location): Fix conditional nesting.
365
366Tue Apr 29 05:14:57 1997  Stan Shebs  <shebs@andros.cygnus.com>
367
368	* nlang.c (notify_combat): Don't assume units non-null.
369	(destination_desc): Handle out-of-area destinations.
370
371	* xutil.c (write_xpm_file): Handle named colors correctly.
372
373	* cmdline.c (default_player_spec): New global.
374	(set_players_from_options): Fill it in when joining a game.
375	(parse_command_line): Set initially_no_ai instead of option_no_ai.
376	* init.c (initially_no_ai): New global.
377 	(make_trial_assignments): Use it.
378	* tp.c (receive_data): Handle crossbuf upon entry to function,
379	warn when crossbuf packet overwritten.
380	(receive_packet): Make trial assignments when download complete,
381	don't retransmit join requests.
382	(receive_player_prop): Interpret "Passign" packets.
383	* tp.h (receive_action): Remove decl, now static.
384
385	* xconq.c (main): Send default player spec when joining a game,
386	call launch_game when hosting.
387	(launch_game): Move late-stage init code here.
388	(set_you_player): Fill in more rids.
389
390Thu Apr 24 19:07:38 1997  Stan Shebs  <shebs@andros.cygnus.com>
391
392	* cmdline.c (set_variants_from_options, set_players_from_options):
393	Handle case of joining game.
394	* tp.c (remove_chars): New function.
395	(receive_data): Use it, also process cross packet if one present
396	after ack received.
397
398	* xconq.c (main): Set up master_rid, parse variant and player
399	options even if joining an existing game.
400	* cconq.c (main): Set up master_rid.
401
402Tue Apr 22 19:26:25 1997  Stan Shebs  <shebs@andros.cygnus.com>
403
404	TCP-based networking support for Unix Xconq.
405	* cmdline.c (general_usage_info): Document -host.
406	* cmdline.h: Add decls.
407	* unix.c (open_remote_connection, etc): Add socket-making
408	and -connecting code, plus reading and writing.
409	* xconq.c (main): Add interpretation of hosting and joining
410	options.
411	(run_game_proc): Poll for data from remote programs.
412	* xconq.h (side_has_local_display): New macro.
413	* xinit.c (init_all_displays): Use it, make numdisplays local.
414	* x2imf.c, imf2x.c, xshowimf.c (numremotes, my_rid): Define.
415	* cconq.c (main): Call net_run_game.
416
417	* cmdline.c (parse_command_line): Add -noai option.
418	(player_usage_info): Document it.
419	(set_players_from_options): Use it.
420	* conq.h: Move decls from other places.
421	* init.c, run.c, skelconq.c: Fix up some comments.
422	* mkroads.c (terrs): Make array of shorts.
423	* read.c (eval_number): New function.
424	(fill_in_side, interp_unit_plan): Use it.
425	(interp_variant_defns): Fix details of syntax handling.
426	* run2.c (compute_moves): Do for indep units also.
427	* task.c (do_produce_task): Check validity of material type.
428	* unit.c (enter_cell): Check that unit can be on connection.
429	* util.c (init_error, etc): Add debugging print of message.
430	* write.c (write_variants): New function.
431	(write_game_module): Use it.
432
433	* duel.g: Fix syntax of variant.
434	* mod-usa.g: Update positions of oil platforms.
435	* omaha.g: Put infantry inside landing ships.
436	* pearl.g: Use symbol for Honolulu.
437	* red-october.g: Put sailors inside fleet.
438	* rising-sun.g: Let base module set up first two sides.
439	* russian-rev.g: Rely on more defaults in unit type defns.
440
441	* test-save.sh: Add ability to test one module.
442	* savetst1.inp: Do a little more movement.
443
444Tue Apr 15 20:20:20 1997  Stan Shebs  <shebs@andros.cygnus.com>
445
446	* actions.c (lookup_action_type): Fix typo.
447	* plan.c (any_auto_repair): Fix extern decl.
448	* read.c (interp_action): Fix parsing details.
449
450Mon Apr 14 19:12:40 1997  Stan Shebs  <shebs@andros.cygnus.com>
451
452	* actions.c (check_create_common): Test u_tech_to_own.
453	* combat.c (do_attack_action): Don't surrender to a low-tech side.
454	(attempt_to_capture_unit): Similarly for capturing.
455	* help.c (describe_utype): Detect and report when materials in
456	game never handled by unit.
457	* move.c (do_move_action): Handle disembarkation correctly.
458	* nlang.c (constructible_desc): Fix spacing.
459	(others_here_desc, occupants_desc): Report incomplete units
460	separately.
461	* run2.c (run_surrenders): Don't surrender to indep units.
462	(unit_surrender): Use correct location.
463	* side.c (cover_area_1): Renamed from cover_area.
464	(cover_area): Iterate over all trusted sides.
465	* unit.c (change_unit_type): Let everybody see the change.
466	(set_unit_side): Use u_tech_from_ownership.
467
468	* maccmd.c (do_one_disembark): Fix test.
469	(do_trust): Add trust display option.
470	* macdefs.h (diPrefsIncrText, diPrefsIncr): New dialog items.
471	* macconq.c (default_latlong_incr): New global.
472	(set_preferences): Set it from preferences dialog.
473	* macconq.h (Map latlongincr): New slot.
474	* macmap.c (create_map): Set it.
475	(draw_map_content): Fix calculation of visible region,
476	use latlongincr to space lines.
477	* macmap2.c: Draw unit info when unit deselected.
478	* macmenus.c (enable_commands_for_unit): Disable build item
479	if occupant and can't build.
480	* macwins.c (adjust_construction_items): Adjust list element size.
481	(draw_unit_closeup): Use standard description functions.
482
483	* 1805.g: Use side symbols.
484	* napoleon.g: Remove redundant cp-* tables.
485	* africa.g: Add help strings, new material type "water",
486	set up see-chance-adjacent table.
487	* beirut.g: Add LOS and firing for tanks, wrecked building type,
488	surrenders.
489	* earth-50km.g, t-e50-river.g: More adjustments.
490	* u-e50-1996.g: Add more bases in western hemisphere.
491	* mormon.g: Allow more construction of places, allow forts to
492	construct armies, and Indians to reproduce.
493	* stdunit.g: Don't let nukes carry fuel.
494	* game.dir: Add "mormon".
495
496	* play.texi (Unit Info): New section/node.
497	* mac-sect.texi: Update description of menus.
498
499	* PROJECTS: Merge general and kernel categories, remove some
500	more undesirable items, add some generic user interface ideas.
501
502Mon Apr  7 20:08:49 1997  Stan Shebs  <shebs@andros.cygnus.com>
503
504	* move.c (check_move_action): Detect whether unit could ever
505	have enough mp to do the move.
506	* task.c: Call set_unit_reserve to put units into reserve.
507	(do_move_to_task, do_approach_subtask): If not enough mp this
508 	turn, go into reserve.
509
510	* cmd.def (take-unit): Remove, can't decide what it should do.
511	* help.c (uu_table_row_desc, etc): Add argument for connective
512	word to use.
513	(describe_concepts): Improve on text.
514	(describe_game_design): Don't display temperature range if no
515	variation possible.
516	(describe_utype): Add/enhance various descriptions.
517	(describe_world): Don't describe year/day if not defined.
518	* nlang.c (occupants_desc, etc): Use shortest unique name.
519	(plan_desc): Don't describe supply flags if no materials.
520	(goal_desc, report_take): New functions.
521	* ui.c (take_supplies): Report need rather than transfer.
522
523	* macdefs.h (miFindNextOccupant, miFindDistance, miMoreGive,
524	miMoreTake, miMoreEmbark, miMoreDisembark): New menu items.
525	(dFindLocation, dFindUnit): New dialogs.
526	* macmenus.c: Handle new menu items.
527	(do_find_location_mi, do_find_unit_by_name_mi, etc): New functions.
528	(adjust_menus): Fix handling of more menu.
529	(any_transport_here): New function.
530	(enable_commands_for_unit): Call it.
531	* maccmd.c (do_detonate_command): Replace with code from
532	macmenus.c.
533	(do_dir, etc): Flag to scroll to unit.
534	(do_give_unit): Interpret prefix arg.
535	(do_take): Implement.
536	* macconq.c (recalc_spacing): Calculate tophgt and topunithgt.
537	* macmap.c (create_map): Remove calcs of tophgt etc.
538	(draw_map): Reset values of map->toph etc each time.
539	(toggle_map_topline, toggle_map_topunit): Ditto.
540	(draw_unit_info): Add occupant and stack info.
541
542	* intro.g: Add help strings, change how armor uses movement
543	in mountains, remove redundant cp-* tables.
544	* third-age.g: Add help strings, side symbols.
545
546	* play.texi: Make list of games consistent with game.dir.
547
548	* PROJECTS: Remove do_take_unit items, add some things to do
549	for the Mac interface.
550
551Wed Mar 26 19:42:03 1997  Stan Shebs  <shebs@andros.cygnus.com>
552
553	* ccmd.c (do_dir): Make it work.
554	(do_doctrine): Handle case of empty argument.
555	* xcmd.c (do_doctrine): Ditto.
556	* xinit.c (init_terrain_images): Add case for solid colors.
557	* xmap.c (draw_view_in_panner): Start using pixmap instead of
558	image for rendering.
559
560	* terrain.imf (plains, mountains, sea): Add solid colors.
561
562Tue Mar 25 20:18:20 1997  Stan Shebs  <shebs@andros.cygnus.com>
563
564	* config.host: Restore Linux case, fix syntax of variable set.
565	* configure.in: Fix use of config.host.
566	* config/mh-linux: Restore.
567	* kernel/Makefile.in, curses/Makefile.in: Link with -lm.
568	* curses/Makefile.in, x11/Makefile.in: Make executables setuid.
569
570	* unit.c (utype_name_n): Fix tipo.
571	* world.c (xy_to_latlon): Compute center line differently
572	depending on projection.
573	* write.c (write_units): Always write unit symbol.
574
575	* earth-1deg.g: Adjust terrain and features, especially in polar
576	regions.
577	* earth-50km.g: General cleanup of terrain bogosity.
578	* u-e50-1996.g: Move/add towns to match.
579	* midway.g: Use restriction of t-pacific, add more units.
580	* t-pacific.g: Adjust terrain correctly for projection.
581	* ww2-pac-41.g: Move/add units to match.
582
583	* xconq.texi: Tweak formatting.
584	* PROJECTS: Reflect library projects.
585
586Sun Mar 16 16:03:59 1997  Massimo Campostrini <campo@ipifidpt.difi.unipi.it>
587
588	* xutil.c (write_xbm_file): Init a local correctly.
589
590Sun Mar 16 15:35:39 1997  Stan Shebs  <shebs@andros.cygnus.com>
591
592	* keyword.def (projection): New keyword.
593	* world.h (Area projection, halfheight): New slots.
594	* read.c (interp_area): Recognize projection.
595	* write.c (write_area): Write projection.
596	* world.c (set_area_shape): Compute halfheight.
597	(xy_to_latlon, latlon_to_xy): New functions.
598	* nlang.c (latlon_desc): Call xy_to_latlon.
599
600	* macmap.c (draw_map_contents): Draw lat/long lines if requested.
601
602	* t-africa.g: Fix latitude and longitude.
603	* t-pacific.g: Ditto, also use projection 1, adjust terrain to
604	match.
605	* ww2-pac-41.g: Adjust unit positions to match terrain changes.
606
607Thu Mar 13 19:17:55 1997  Stan Shebs  <shebs@andros.cygnus.com>
608
609	* keyword.def (always, near): New keywords.
610	* conq.h (any_people_side_changes): Fix decl.
611	* combat.c (capture_unit_2): Notify when any info received as
612	a side effect of capture.
613	* lisp.c (read_form_aux): Fix handling of punctuation in numbers.
614	(escaped_symbol, escaped_string): Move to here from write.c.
615	(interp_short_array, interp_long_array): Move to here from read.c.
616	* move.c (carryable, accelerable, etc): Move here from mplayer.c.
617	(accelerator): New function.
618	* mplayer.c (review_theaters): Recalc units waiting for transport.
619	(mplayer_finish_movement): Remove redundant test of waiting units.
620	(search_for_available_transport): Add argument for purpose of
621	search, push an occupy task on the would-be occupant's agenda.
622	* read.c (interp_table): Load default game if necessary.
623	(interp_standing_order): Rewrite to interpret new syntax.
624	* run2.c (any_tooling_attrition, etc): Make into shorts.
625	(can_satisfy_need): Account for doctrine when computing.
626	* score.c (record_into_scorefile): Record more types of variants,
627	record advantage as 'a' instead of '+'.
628	(get_scores): Display more types of variants.
629	* tp.c (net_push_occupy_task): New function.
630	* unit.c (interp_utype_list): Move to here from read.c.
631	* unit.h (is_task_type): New macro.
632	* world.c (num_people_at): Move to here.
633	* write.c (write_units): Write side symbol if defined.
634
635	* side.h (sordercond): New enum.
636	* plan.c: Update standing order code.
637	* side.c (add_standing_order): Provide better feedback.
638	(parse_standing_order): Add listing for orders.
639	* task.c (parse_task): Add case to help with order cancel.
640	* read.c (interp_standing_order): Rewrite to interpret new syntax.
641	* write.c (write_standing_orders): Write using a new syntax.
642
643	* imfapp.c: Add support for MW; UPPs, QD access macros, console
644	stubs.
645	* mac.c: If __MWERKS__, comment out AppleTalk code.
646
647	* macconq.h, macinit.c, macmap.c: Fix decls.
648
649	* neurope.g: Remove now-unneeded include.
650	* ww2-sides.g: Add a symbol to each side form.
651
652Mon Mar 10 19:23:33 1997  Stan Shebs  <shebs@andros.cygnus.com>
653
654	* imf2imf.c (syntax_error, prealloc_debug): Define.
655
656	* Imakefile (SUBDIRS): Add doc.
657	* Local.config (GLIBDIR, IMFLIBDIR): Default to system places.
658
659	* curses/Imakefile (DEFINES, etc): Use common set.
660	* x11/Imakefile: Ditto.
661	* kernel/Imakefile: Ditto, also build skelconq and imf2imf.
662	* doc/Imakefile: Add actions for building doc things.
663	* SelFile/Imakefile: Don't install library by default.
664
665Thu Mar  6 19:05:18 1997  Massimo Campostrini <campo@mail.difi.unipi.it>
666
667	* Local.config (EXTRA_DEFINES): Move Xconq lib dir here from
668	curses/Imakefile.
669	* xshowimf.c: Test for a missing image.
670	* u-midearth.g: Set default-base-module.
671
672Thu Mar  6 18:39:31 1997  Stan Shebs  <shebs@andros.cygnus.com>
673
674	* texinfo.tex: Update to version 2.185.
675
676	* misc.h, ui.c (limitn): Rename from limit, avoids Sun C bug.
677
678	* fantasy.g: More cleanups.
679	* neurope.g: Add variants, convert cities in old format.
680	* t-africa.g: Remove commented-out junk.
681	* ww2-pac-41.g: Update positions of units in Hawaii.
682
683Wed Mar  5 20:04:49 1997  Stan Shebs  <shebs@andros.cygnus.com>
684
685	From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>:
686	* config.h (SAVEFILE, CHECKPOINTFILE, ERRORFILE, INTRO_GAME):
687	New definitions.
688	* unix.c (game_homedir, game_filename): New functions.
689	(saved_game_filename, etc): Use them.
690	(score_file_pathname): New function.
691
692	* keyword.def (stop): Remove.
693	* ai.c (set_side_ai): Handle empty names better.
694	* init.c (patch_object_references): Only init actorstate if
695	does not already exist.
696	* mkrivers.c, mkterr.c, run.c, run2.c, tp.c, unit.c: Fix some
697 	indentation.
698	* plan.c (decide_plan): Use INTRO_GAME.
699	* read.c (interp_unit): Use init_unit_actorstate.
700	* score.c (ScoreRecord numturns): New slot.
701	(eval_sk_form): Remove K_STOP case.
702	(basic_player_name): New function.
703	(record_into_scorefile, get_scores): Rearrange record format,
704	fix advantage recording.
705
706	* xconq.h (STANDARD): Delete, never used.
707	(controltypeenum): Add SHOW_CONTROL, SHOW_CLOUDS, SHOW_WINDS.
708	(Map drawcontrol, etc): New slots.
709	* xconq.c (add_default_player): Change name of env var.
710	* xdraw.c (draw_clouds_row, draw_temperature_row, draw_winds_row):
711	New functions.
712	(draw_row): Call them.
713	(draw_unit_info): Use more nlang.c functions.
714	* xmap.c: Add flags and buttons for weather drawing.
715
716	* mac.c: Various cosmetic improvements.
717	* macmap.c (draw_row): Move weather drawing to here from terrain
718	row drawing.
719
720	* SelFile/Dir.c: Fix compilation on Alpha.
721
722	* t-pacific.g: Remove alignment markings, adjust some positions.
723
724	* xconq.texi: Add some contributor names.
725	* refman.texi (stop): Remove description.
726
727	* PROJECTS: Reflect above changes, remove some pointless items.
728
729Thu Feb 27 19:23:18 1997  Stan Shebs  <shebs@andros.cygnus.com>
730
731	* combat.c (will_report_damage): New function.
732	(reckon_damage): Call it.
733	* nlang.c (report_combat): Report misses.
734	* help.c, help.h: Make almost all functions static.
735	* side.c (paint_view_1): Don't call see_exact.
736	* unit.c (designer_create_unit): Ditto.
737	* world.c (paint_cell_1, etc): Ditto.
738
739	* ui.h (LineSegment): New struct.
740	* ui.c (draw_temperature_here, draw_winds_here): Move here from
741 	macdraw.c.
742	(init_contour_lines, contour_lines_at): New functions.
743
744	* util.c (error_is_bug): New global.
745	(case_panic): Ditto.
746	* ui.c (xform): Ditto.
747
748	* macconq.h (draw_temperature_here): Remove decls.
749	* macdesign.c (designer_overlay): Remove, no longer used.
750	(disable_designing): Reset maps' see_all state.
751	(do_mouse_down_design): Remove map redrawing code.
752	(apply_designer_tool): Fix view painting.
753	* macmap.c (cell_overlay, cell_terrain): Fix designer case, add
754	map argument.
755	(draw_contours): Use contour_lines_at.
756
757Mon Feb 24 19:57:22 1997  Stan Shebs  <shebs@andros.cygnus.com>
758
759	* cmd.def (+, -): New commands.
760	* keyword.def (act): Remove.
761	* actions.c (lookup_action_type): New function.
762	* read.c (interp_unit_act): Remove.
763	(interp_unit): Interpret action-related slots directly.
764	(interp_action): New function.
765	(interp_unit_plan): Use temp var for plan.
766	* write.c (write_unit_act): Write flatter output.
767	(write_action): New function.
768	* unit.c (flush_dead_units): Detect case where all units in
769	unitlist are flushed.
770
771	* maccmd.c (do_down, do_up): New functions.
772	* macmenus.c (do_down_command, do_up_command): New functions.
773	* macwins.c: Remove unnecessary test of construction_run.
774
775	* xconq.h (Map vx, vy, vw, vh, vw2, vh2): Remove slots, unneeded.
776	* xdraw.c (xform, etc): Return void instead of int.
777	(draw_area_background): Fix calculation for cylinder.
778	(draw_map_view): Use local vars instead of map slots for temps.
779	(draw_terrain_row): Fix wrapping for cylinder drawing.
780	(draw_units): Similarly.
781	* xmap.c (help_terrain_type): Fix formatting of help string.
782	(grok_position): Add unit result argument.
783	* xcloseup.c, xcmd.c: Change callers.
784	* xcmd.c (aux_add_terrain_2, etc): Make help work correctly
785	while in modal loop.
786	(aux_attack): New function.
787	(do_attack): Call it.
788	(aux_remove_terrain, do_remove_terrain_2, aux_remove_terrain_2):
789 	New functions.
790	(do_remove_terrain): Call.
791	(do_down, do_up): New functions.
792
793	* ccmd.c (do_down, do_up): New functions.
794
795	* nat-names.g: Add Sierra Leoneans, Tongans, also more unit
796	names.
797	* pearl.g: Flatten out action properties.
798	* u-e1-1996.g: Make Guayaquil Ecuadorean.
799
800	* commands.texi: Use @kbd instead of @code, document ^E instead
801	of ^D as disembark command.
802	(+, -): Document new commands.
803	* curses-sect.texi, x11-sect.texi, x11-dsect.texi: Use @kbd
804	in tables.
805	* hacking.texi: Add @bullet to @itemize usages.
806	* refman.texi: Similarly, also document new symbols, fix node
807	references.
808
809	* test/Makefile.in (all): Add help info.
810	(imf.uses): New target.
811	* all.g: Update to reflect current GDL.
812	* cmd-diff.sh: Reflect new format of commands in .texi files.
813	* imf-uses.sh, game-uses.sh: New files.
814	* lib-uses.sh: Rewrite to not expand wildcard-resembling names
815 	like "m*".
816	* src-uses.h: Add comments.
817
818	* PROJECTS: Reflect above changes.
819
820Mon Feb 17 12:46:32 1997  Stan Shebs  <shebs@andros.cygnus.com>
821
822	* misc.h (limit): New macro.
823	* ui.c: Use it.
824	* nlang.c (notify_doctrine_1): New function.
825	(notify_doctrine): Use it, list all doctrines if no match on name
826	or id.
827	* plan.c (repair_if_damaged): Use doctrine to decide when damage
828	warrants repair.
829	(capture_indep_if_nearby, capture_useful_if_nearby): Don't
830	do anything if already heading towards captureable unit.
831	* read.c (fill_in_doctrine): Assume construction run array exists.
832	* side.c (new_doctrine): Move slot defaulting to here from
833	init_doctrine, improve default values.
834	(clone_doctrine): Always allocate construction run.
835	* write.c: Reflect improved defaults.
836
837	* ui.h (VP sxmin, symin, sxmax, symax): New slots.
838	(VP sx, sy): Make int-sized.
839	* ui.c (xform_cell): Decide wrapping in cylindrical area based on
840 	which wrapping will cause the cell to appear in the viewport.
841	(calc_view_misc): New function.
842	(set_view_size, set_view_power): Use it.
843	(center_on_focus): Use set_view_position.
844	* macmap.c (create_map, set_map_scrollbars, draw_terrain_row):
845	Update to reflect ui.c changes.
846
847Mon Feb 10 19:19:04 1997  Stan Shebs  <shebs@andros.cygnus.com>
848
849	* ai.c (bhw_max): New global.
850	(basic_capture_worth): Fix test of acp.
851	* mplayer.c (preferred_build_type): Use bhw_max to scale type
852	preferences.
853	* util.c (select_by_weight): Handle zero values better.
854
855	* plan.c (repair_if_damaged, repair_here): New function, use in
856 	plan_offense etc to decide to get repairs.
857	* task.c (do_capture_task): Fix approach calculation.
858	(do_repair_task): Fill in usefully.
859	(create_repair_task, set_repair_task): New functions.
860
861	* table.def (body-height, weapon-height): New tables.
862	* utype.def (fire-angle-max): New property.
863	(fire-velocity-max, fire-velocity-min): Remove.
864	* combat.c (found_blocking_elevation, elevation_blocks): Compute
865 	parabolic instead of flat trajectory.
866
867	* history.def (unit-gone): New historical event type.
868	* move.c (do_move_action, etc): Use it if unit disappears while
869 	moving.
870	(over_nothing, etc): New enum values, use everything
871	to test ferrying by transport.
872
873	* keyword.def (row-bytes): Remove.
874	* imf.c (K_ROW_BYTES): Remove reference.
875	* ttype.def (color): Remove, no longer used.
876	* help.c (describe_ttype): Remove use of t_color.
877	* macimf.c: Tweak image size test.
878	* macinit.c (t_color_defined): Remove, no longer used.
879
880	* gettysburg.g: Adjust colors of terrain, add withdraw chance,
881	weapon height.
882	* nat-names.g: Update to reflect new flag names.
883	* panzer.g: Add fire-angle-max, weapon-height, body-height.
884	* ww2-div-pac.g: Adjust some image names.
885	* colors.imf (dark-gray, light-gray): Add.
886	* flags.imf (flag-kazakhstan, etc): Add.
887	* milsym.imf (army-hq, marine-bn, etc): Add.
888
889	* PROJECTS: Add item about follow-action, remove item about
890	sabotage.
891
892Thu Feb  6 20:06:14 1997  Stan Shebs  <shebs@andros.cygnus.com>
893
894	* skelconq.c (main): Call run_local_ai.
895
896	* test/Makefile.in (check-actions): Rename from check-acts.
897	* test-acts.h, test-save.sh: Convert to Bourne syntax.
898
899Wed Feb  5 19:52:39 1997  Stan Shebs  <shebs@andros.cygnus.com>
900
901	* cconq.c (ask_unit): Rewrite so no statements unreachable.
902
903	* history.c (record_event): Just flag that post-event scores
904	should be checked, don't do it just yet.
905	* run.c (run_game): Do it here.
906	(test_for_game_end): Call all_sides_draw.
907	* score.c (side_wins, side_loses, all_sides_draw): Record event
908	after side status changes.
909	(check_post_action_scores, check_post_event_scores): Remove unused
910 	arguments.
911
912	* actions.c (execute_action): Fix caller.
913
914	* xcloseup.c: Standardize argument orders for various functions,
915	clean up some string handling, simplify some code.
916	* xcmd.c: Reflect argument order changes.
917	* xconq.c (raise_widget): Rename from RaiseWidget and move here
918	from xcloseup.c.
919	* xdesign.c: Call net_create_feature instead of create_feature.
920	* xdraw.c: Init more colors to default values.
921	* xhelp.c: Conditionalize designer help info properly.
922	* xshowimf.c: Prototype properly.
923
924	* wizard.g: Add toolup and research times, remove redundant
925	char properties, fix starvation table.
926
927Mon Feb  3 20:03:28 1997  Stan Shebs  <shebs@andros.cygnus.com>
928
929	* imf.c (load_image_families): Parse line without using scanf.
930	* ui.c (hws, etc): Make hexes at "8x8" mag be 10x10, adjust
931	all numbers correspondingly.
932	* util.c (debugging_string): New function.
933
934	* macdraw.c (draw_country_borders): Make gray borders thinner.
935	(draw_winds): Scale wind force correctly.
936	* macinit.c (filter_splash): Give feedback on debug flags.
937	(add_default_terrain_image): Always flag as ersatz.
938
939	* x11/Makefile.in (LDFLAGS): Define.
940	* imf2x.c (main): Add argument -match.
941	* x2imf.c (main): Call init_lisp.
942	* xcmd.c (aux_build): Fix handling of '?'.
943	* xconq.c (main): Add name of program to first notification.
944	* xconq.h (UI dots): New slot.
945	* bitmaps/dots.b: New file.
946	* xinit.c: Include it.
947	(report_missing_images): New function.
948	(set_optional_colors): New function, broken out of set_colors.
949	(CLOSE_ENOUGH): Make more lenient on matches.
950	(get_default_terrain_image): Make default image like Mac version.
951	* xdraw.c (draw_contours): New function.
952	(draw_row): Call it, draw less on edges.
953	(draw_units): Draw ellipsis dots if multiple units stacked.
954	(draw_border_line_mult, etc): Rename from ..._multiple,
955	use black as foreground color if none given.
956	(draw_unit_image): Draw plain boxes at small scales, don't
957	draw emblem if embedded in image already.
958	(draw_side_info): Draw willingness to declare draw, highlight
959	winning sides.
960	* xmap.c: Improve default size for top left area.
961	(help_unit_type): Fix so it is actually helpful.
962	* xutil.c (read_xbm_file, read_xpm_file): Fix various details.
963	(write_xbm_file, write_xpm_file): Fix structure names written.
964
965	* 1757.g, africa.g, empire.g, ww2-adv.g, ww2-div-pac.g: Eliminate
966 	commented-out image names.
967	* ww2-div-eur.g: Make org material have effect, add more bomber
968	parameters.
969	* nw-europe.g: Make default see-all variant be false, add
970	bombers inside airbases.
971	* ww2-eur-42.g: Add cliff and salt-marsh border layers.
972
973	* PROJECTS: Remove done or useless X11 items, add a couple.
974
975Wed Jan 29 19:08:10 1997  Stan Shebs  <shebs@andros.cygnus.com>
976
977	* keyword.def: Sort keywords alphabetically.
978	(sun): New area property.
979	* world.h (Area sunx, suny): New slots.
980	* world.c (init_area, calculate_world_globals): Set values.
981	* read.c (interp_area): Read the property.
982	* run2.c (compute_sun): Use the property.
983	* write.c (write_areas): Write the property.
984
985	* history.def (unit-merged): New event type.
986	* actions.c (do_transfer_part_action): Use it.
987	* nlang.c (historical_event_desc): Describe it.
988
989	* actions.c, combat.c, move.c: Compactify testing in
990 	prep_*_action.
991
992	* actions.c (do_produce_action, do_alter_cell_action,
993 	do_remove_terrain_action): Call distribute_material.
994	(notify_tech): New function.
995	(do_research_action): Call it.
996	(adjust_tech_crossover): Fix calculation.
997	(notify_tp): New function.
998	(do_toolup_action): Call it.
999	(adjust_tooling_crossover): Fix calculation.
1000	(check_create_common): New function.
1001	(check_create_in_action, check_create_at_action): Call it.
1002	(distribute_material): Distribute to more units nearby.
1003	(give_away): New function.
1004
1005	* ai.c (lookup_goal_type): Move here from read.c.
1006	* nlang.c (report_combat, notify_combat): Move here from combat.c.
1007	* plan.c (lookup_plan_type): Move here from read.c.
1008
1009	* lisp.c, lisp.h (cdddr): New function.
1010	* read.c: Use it, use more temp vars and fewer redundant calls.
1011
1012	* mplayer.c (mplayer_adjust_plan): Go into reserve if unit
1013	plan being executed too many times in a single turn.
1014	* run.c (move_one_unit_multiple): Remove play rate control code.
1015
1016	* run2.c (compute_acp, etc): Add some warnings.
1017
1018	* PROJECTS: Add item about material consumption when changing
1019	type.
1020
1021Mon Jan 27 18:54:58 1997  Stan Shebs  <shebs@andros.cygnus.com>
1022
1023	* imf.c: Call syntax_error for most syntax errors.
1024	(write_color): New function.
1025	(find_color_name): Detect red, green, and blue.
1026
1027	* side.c, side.h (calc_vision): Remove.
1028	* macdesign.c: Remove calc_vision calls.
1029
1030	* xconq.h (UI told_outcome): New slot.
1031	* xconq.c (update_side_display): Remove end-of-game code.
1032	(update_turn_display): Add better end-of-game handling.
1033	* xinit.c: Stub out cellcolor setting.
1034	* ximf.c (x11_make_color_pixmap): Work on any color screen
1035	depth, various optimizations.
1036
1037	* macconq.h (Map see_all): New slot.
1038	* macconq.c (update_turn_display): Set it for all maps if
1039	the game has ended.
1040	* macmap.c (cell_terrain, etc): Use map->see_all.
1041	* macmap2.c: Tweak map->see_all flag instead of side flag.
1042
1043	* imfapp.c: Read/write notes in xcif resource correctly,
1044	don't make xcif for colors.
1045	(syntax_error): New function.
1046
1047	* fred.g: Remove hills terrain type, make supplies matter,
1048	let armies and leaders escape combat.
1049	* 1756.g: Fix module instructions, start armies and leaders in
1050	fortresses.
1051	* t-cent-eur.g (area terrain): Reflect removal of hills type.
1052	* hill.g: Comment out action-messages.
1053	* mod-usa.g: Remove Birmingham (it's not the one in Alabama),
1054	include u-e50-1996.g instead of earth-50km.g.
1055	* normandy.g: Remove bogus coastal artillery.
1056	* t-normandy.g: Add railroad spur to end of Cotentin peninsula.
1057	* ww2-bn.g: Let railroad artillery live but be immobile away
1058	from tracks.
1059	* sf.imf, ships.imf, standard.imf: Clean up some images, add more
1060 	colors/masks.
1061
1062	* PROJECTS: Remove some X11 items either done or useless.
1063
1064Thu Jan 23 18:50:19 1997  Stan Shebs  <shebs@andros.cygnus.com>
1065
1066	* macimf.c (mac_create_cicn): Fix computation of mono images.
1067
1068	* imf.c (get_img): Add new images in order of size.
1069
1070	Eliminate image colors as a distinct type of object.
1071	* imf.h (ImageColor): Remove.
1072	* imf.c (interp_color, etc): Remove.
1073	(write_imf): Detect colors and write specially.
1074	* read.c (interp_form): Remove K_COLOR case.
1075	* macimf.h (MacImage colordefined, color): New slots.
1076	* macimf.c: Detect constant-color patterns and make into
1077	1x1 images.
1078	(interp_ctab): Don't look for color names.
1079	(mac_load_image_color): Remove.
1080	* macconq.h (tcolors): Make into array of MacImage *.
1081	* macinit.c (init_terrain_colors): Merge into init_terrain_images.
1082	* macdraw.c, macmap.c: Change all uses of tcolors.
1083	* imfapp.c (collect_all_colors, make_imc_resources, etc): Remove.
1084
1085	* imfapp.c: Add submenu to set window background color.
1086
1087	* colors.imf: Make colors into 1x1 images.
1088	* imf.dir: Add color names.
1089
1090	* All game designs: Eliminate terrain color properties or
1091	change into image-name properties.
1092
1093	* PROJECTS: Reflect above changes.
1094
1095Mon Jan 20 19:29:55 1997  Stan Shebs  <shebs@andros.cygnus.com>
1096
1097	* config.guess, config.sub: Update to current FSF versions.
1098	* config.host: Update from top-level FSF configure.in.
1099	* config: Update contents to current FSF version.
1100
1101	* imf.h (Image rowbytes): Remove slot.
1102	(computed_rowbytes): New macros.
1103	* imf.c (write_pixmap, etc): Always compute the rowbytes.
1104	(interp_bytes): Detect more syntax errors.
1105	* macimf.c: Use computed rowbytes everywhere.
1106
1107	* aircraft.imf, ancient.imf, dwellings.imf, emblems.imf,
1108 	fantasy.imf, milsym.imf, misc.imf, people.imf, places.imf, sf.imf,
1109 	ships.imf, tanks.imf, vehicles.imf, wizard.imf: Clean up many
1110	images, add color, masks, multiple sizes, remove some unused
1111	images, add others.
1112	* weapons.imf: New file.
1113	* colors.imf: Remove xxx[1234] colors, never used.
1114	* imf.dir: Update.
1115
1116	* empire.g, flattop.g, midearth.g, modern.g, monster.g, panzer.g,
1117 	postmodern.g, sc4.g, third-age.g, ww2-div-pac.g: Fix image
1118 	references.
1119	* postmodern.g: Fix production/consumption oddities, add tech
1120	development parameters.
1121	* wizard.g: Fix construction tables.
1122
1123	* test/buildtransp.g: Fix to use standard game.
1124
1125Thu Jan 16 19:05:01 1997  Stan Shebs  <shebs@andros.cygnus.com>
1126
1127	* table.def (consumption-per-fire, material-to-attack): New tables.
1128	(material-to-fight): Remove.
1129	* combat.c: Use new tables when testing action validity and
1130	material consumption.
1131	* move.c (move_unit): Change control of unit's new location.
1132
1133	* ai.c, ai.h (AI_ops): Change preferred_build_type slot to
1134	adjust_plan slot.
1135	(ai_preferred_build_type): Remove.
1136	(ai_adjust_plan): New function.
1137	(try_to_draw, give_up): Move here from mplayer.c.
1138	* mplayer.c (mplayer_adjust_plan): New function.
1139	(mplayer_finish_movement): Reduce redundant scanning.
1140	* run.c (move_one_unit_multiple): Return if unit has a task
1141	outcome that the AI should examine.
1142	(run_ai_plan_adjust): Call ai_adjust_plan.
1143	* task.c (execute_task): Return if task outcome to look at.
1144
1145	* side.c (update_side_display_all_sides): New function.
1146	* actions.c, run2.c, side.c: Call it instead of looping over sides.
1147
1148	* init.c (init_view): Check area shape, only allocate material
1149	views if any terrain storage possible.
1150	* side.c (people_always_see): New global.
1151	(see_cell): Use it.
1152
1153	* macconq.c (default_draw_latlong): New global, preference for
1154	drawing lat/long of locations.
1155	* macdefs.h (diPrefsLatLong): New dialog item.
1156	* macmap.c: Pass value to generic_oneliner.
1157	* nlang.c (generic_oneliner): Add argument to control addition
1158	of lat/long position to line.
1159
1160	* ww2-div-eur.g: Don't allow metro divisions to initiate attacks,
1161	increase V-2 range and only allow hits on places.
1162	(bomber): New unit type.
1163	(air): Remove material type.
1164	(missile): New material type.
1165	(estuary): New terrain type.
1166	* t-nw-eur.g: Add estuaries.
1167	* nw-europe.g: Add bombers, original sides to French towns.
1168	* stdterr.g (alt-blob-size): Reduce to 100.
1169	* ww2-adv.g (control-range, keep-control-range, hp-min): Define.
1170	* empire.g, insects.g, ww2-div-pac.g: Rename to material-to-attack
1171 	from material-to-fight.
1172	* ww2-adv.g: Rename to material-to-fire from material-to-fight.
1173	* ww2-eur-42.g: Add base Kalinin.
1174
1175	* animals.imf (frog): Move to here from misc.imf.
1176	* insects.imf: Add masks to all images.
1177	* objects.imf, people.imf, places.imf, vehicles.imf: New files,
1178 	move appropriate images to here from misc.imf.
1179	* terrain.imf (flagstone, floor, mists, rock): Add color images.
1180	* imf.dir: Rebuild.
1181
1182	* PROJECTS: Reclassify some general items as kernel items,
1183	add some ideas.
1184
1185Thu Jan  9 17:58:19 1997  Stan Shebs  <shebs@andros.cygnus.com>
1186
1187	* combat.c (report_combat): New function, call instead of
1188	notify_combat everywhere.
1189	* help.c (tt_table_row_not_default, tm_table_row_not_default,
1190	tt_table_row_desc, tm_table_row_desc): New functions.
1191	(describe_ttype): Call them.
1192	(tb_dice_desc): New function.
1193	(describe_utype): Call it, describe more combat tables.
1194	* init.c (kill_excess_units): New function.
1195	(final_init): Call it.
1196	* nlang.c (oneliner): Describe control of cell.
1197	* run2.c (run_unit_starvation): New function, call at every
1198	turn end.
1199
1200	* game.dir: Add gazala, ww2s-pac-41, remove duel, napoleon.
1201
1202	* africa-1850.g: Improve terrain view.
1203	* africa.g: Add animals, ship, cities, capacities.
1204	* t-africa.g: Add European cities and access to African towns.
1205
1206	* animals.imf: New file, move elephant from ancient.imf.
1207	* insects.g: Fix various table, add bee stings.
1208	* modern.g: Add more material handling.
1209
1210	* emblems.imf: Add axis/allies combo emblems.
1211	* ww2-stdunit.g: Define emblems for each side.
1212	* ww2s-42.g: Add Pacific theater units.
1213	* ww2s-eur-42.g: Add original sides to various towns.
1214	* ww2s-42.g, ww2s-eur-42.g: Add instructions.
1215	* ww22-pac-41.g: Rename from ww2s-pac-42.g, add many more
1216	starting units.
1217
1218	* ww2-eur-42.g: Make Ireland neutral terrain, make Vichy France
1219	exist but still be inactive side.
1220	* ww2-div-pac.g: Define the sides, remove side library.
1221	* coral-sea.g, midway.g, pearl.g, ww2-pac-41.g: Remove side
1222	declarations.
1223
1224	* imf.dir: Reflect above changes.
1225
1226	* PROJECTS: Add various ideas prompted by library work,
1227	remove a couple library items.
1228