rnd-20040321-1-src
[rocksndiamonds.git] / ChangeLog
1 2004-03-20
2         * added copy and paste functions for custom change pages
3         * enhanced graphical display and functionality of tape recorder
4
5 2004-03-19
6         * added move speed faster than "very fast" for custom elements
7         * fixed bug with 3+3 style explosions and missing border content
8         * fixed little bug when copying custom elements in the editor
9         * enhanced custom element changes by more side trigger actions
10
11 2004-03-16
12         * added option "no scrolling when relocating" for instant teleporting
13         * uploaded pre-release (test) version 3.1.0-0 binary and source code
14
15 2004-03-15
16         * added trigger element and trigger player to use as target elements
17         * added copy and paste functions for custom and group elements
18
19 2004-03-14
20         * fixed graphical bug when displaying explosion animations
21         * fixed bug when appending to tapes, resulting in broken tapes
22         * re-recorded a few tapes broken by fixing gravity checking bug
23
24 2004-03-13
25         * "can move into acid" property now for all elements independently
26         * "can fall into acid" property for player stored in same bitfield now
27         * added option for deadliness of Supaplex 'sniksnak' and 'electron'
28         * version number set to 3.1.0 (finally!)
29
30 2004-03-09
31         * changed tape recording to only record input, not programmed actions
32
33 2004-03-08
34         * fixed totally broken (every 8th frame skipped) step-by-step recording
35         * fixed bug with requester not displayed when quick-loading interrupted
36         * added option "can fall into acid (with gravity)" for players
37         * fixed bug with player not falling when snapping down with gravity
38
39 2004-03-07
40         * fixed bug which messed up key config when using keypad number keys
41
42 2004-03-03
43         * fixed bug which allowed moving upwards even when gravity was active
44         * fixed bug with missing error handling when dumping levels or tapes
45
46 2004-03-02
47         * added different colored editor graphics for Supaplex gravity tubes
48
49 2004-03-01
50         * fixed bug that allowed solvable tapes for unsolvable levels
51
52 2004-02-28
53         * use unlimited number of droppable elements when "count" set to zero
54         * added option to use step limit instead of time limit for level
55
56 2004-02-27
57         * added player and change page as trigger for custom element change
58
59 2004-02-24
60         * fixed bug with exploding amoeba (explosion 3x3 instead of 1x1)
61
62 2004-02-22
63         * fixed bug with dark yamyam changing to acid when moving over acid
64         * fixed handling of levels with more than 999 seconds level time
65           (example: level 76 of "Denmine")
66
67 2004-02-21
68         * "spring push bug" reintroduced as configurable element property
69         * fixed bug with missing properties for "mole"
70         * fixed bug that showed up when fixing the above "mole" properties bug
71         * added option "can move into acid" for all movable elements
72         * fixed graphical bug for elements moving into acid
73         * changed event handling to handle all pending events before going on
74
75 2004-02-17
76         * fixed bug which caused all CE change pages to be ignored which had
77           the same change event, but used a different element side
78           (reported by Simon Forsberg)
79
80         * fixed bug which caused elements that can move and fall and that are
81           transported by a conveyor belt to continue moving into that direction
82           after leaving the conveyor belt, regardless of their own movement
83           type; only elements which can not move are transported now
84           (reported by Simon Forsberg)
85
86         * fixed bug which could cause an array overflow in RelocatePlayer()
87           (reported by Niko Böhm)
88
89         * changed Emerald Mine style "passable / over" elements to "protected"
90           (fixing unsolvable level 10 of "Bondmine 9" with bug beside gate)
91
92         * added new option to select from which side a "walkable/passable"
93           element can be entered
94
95 2004-02-16
96         * added explosion and ignition delay for elements that can explode
97
98 2004-02-05
99         * fixed bug which caused player not being protected against enemies
100           when a CE was "walkable / inside" and was not "indestructible"
101         * added "walkable/passable" fields to be "protected/unprotected"
102           against enemies, even if not accessible "inside" but "over/under"
103
104 2004-02-04
105         * corrected move pattern to 32 bit and initial move direction to 8 bit
106
107 2004-02-03
108         * added second custom element base configuration page
109
110 2004-02-02
111         * added some special EMC mappings to Emerald Mine level loader
112           (also covering previously unknown element in level 0 of "Bondmine 8")
113
114 2004-01-30
115         * added option to block last field when player is moving (for Supaplex)
116         * adjusted push delay of Supaplex elements
117         * removed delays for envelopes etc. when replaying with maximum speed
118         * fixed bug when dropping element on a field that just changed to empty
119
120 2004-01-29
121         * fixed bug: infotrons can now smash yellow disks
122         * fixed bug: when gravity active, port above player can now be entered
123         * removed "one white dot" mouse pointer which irritated some people
124
125 2004-01-26
126         * added "choice type" for group element selection
127
128 2004-01-25
129         * fixed bug with initial invulnerability of non-yellow player
130
131 2004-01-23
132         * added level loader for loading native Supaplex packed levels
133           (including multi-part levels like the "splvls99" levels)
134
135 2004-01-19
136         * fixed bug which allowed creating emeralds by escaping explosions
137
138 2004-01-18
139         * custom elements can change (limited) or leave (unlimited) elements
140         * finally added multiple matches using group elements
141         * added shortcut to dump brush (type ":DB" in editor) for use in forum
142
143 2004-01-17
144         * added new start movement type "previous" for continued CE movement
145         * added new start movement type "random" for random CE movement start
146
147 2004-01-17
148         * added new element "sokoban_field_player" needed for Sokoban levels
149           (thanks to Ed Booker for pointing this out!)
150
151 2004-01-15
152         * added elements that can be digged or left behind by custom elements
153
154 2004-01-12
155         * added group elements for multiple matches and random element creation
156
157 2004-01-11
158         * fixed some graphical errors displayed in old levels
159
160 2004-01-10
161         * fixed wrong double speed movement after passing closing gates
162
163 2004-01-03
164         * added level loader for loading native Emerald Mine levels
165
166 2004-01-02
167         * changes for "shooting" style CE movement
168
169 2004-01-01
170         * Happy New Year! ;-)
171
172 2003-12-27
173         * changed default snap/drop keys from left/right Shift to Control keys
174
175 2003-12-27
176         * fixed bug with dead player getting reanimated from custom element
177
178 2003-12-14
179         * fixed bug with wrong penguin graphics (when entering exit)
180
181 2003-12-14
182         * fixed bug with wrong "Murphy" graphics (when digging etc.)
183
184 2003-12-14
185         * version number set to 3.0.9
186
187 2003-12-14
188         * version 3.0.8 released
189
190 2003-12-13
191         * added function checked_free()
192
193 2003-12-13
194         * fixed bug with double nut cracking sound
195           (by eliminating "default element action sound" assignment in init.c)
196
197 2003-12-10
198         * fixed crash when no music info files are available
199
200 2003-12-07
201         * fixed boring and sleeping sounds
202
203 2003-12-05
204         * added "maze runner" and "maze hunter" movement types
205         * added extended collision conditions for custom elements
206
207 2003-12-03
208         * added warnings for undefined token values in artwork config files
209
210 2003-12-02
211         * added menu entry for level set information to the info screen
212
213 2003-12-02
214         * fixed bug with wrong default impact sound for colored emeralds
215
216 2003-11-30
217         * added several sub-screens for the info screen
218         * menu text now also clickable (not only blue/red sphere left of it)
219
220 2003-11-25
221         * added configurable "bored" and "sleeping" animations for the player
222         * added "awakening" sound for player when waking up after sleeping
223
224 2003-11-22
225         * added "copy" and "exchange" functions for custom elements to editor
226
227 2003-11-21
228         * added configurable element animations for info screen
229
230 2003-11-20
231         * added configurable music credits for info screen
232
233 2003-11-19
234         * finally fixed tape recording when player is created from CE change
235
236 2003-11-18
237         * added "editorsetup.conf" for editor element list configuration
238
239 2003-11-16
240         * added "musicinfo.conf" for menu and level music configuration
241
242 2003-11-14
243         * fixed a very nasty bug in dragon turning code in TurnRoundExt()
244           (that only showed up on Linux, but not on Windows systems)
245
246 2003-11-13
247         * fixed turning movement of butterflies and fireflies (no frame reset)
248         * enhanced sniksnak turning movement (two steps instead of only one)
249
250 2003-11-10
251         * version number set to 3.0.8
252
253 2003-11-10
254         * version 3.0.7 released
255
256 2003-11-09
257         * fixed reset of player animation frame when, for example,
258           walking, digging or collecting share the same animation
259         * fixed CE with "deadly when touching" exploding when touching amoeba
260
261 2003-11-08
262         * fixed tape recording when player is created from CE element change
263
264 2003-11-04
265         * introduced "turning..." action graphic for elements with move delay
266           (non-CE: bug, spaceship, sniksnak, mole, pacman, yamyam)
267         * added turning animations for bug, spaceship and sniksnak
268
269 2003-11-03
270         * prevent "extended" changed elements from delay change in same frame
271
272 2003-11-02
273         * fixed bug when pushing element that can move away to the side
274           (like pushing falling elements, but now with moving elements)
275
276 2003-11-01
277         * finally fixed serious bug in code for delayed element pushing (again)
278
279 2003-10-19
280         * unavailable setup options now marked as "n/a" instead of "off"
281         * new boolean directive "latest_engine" for "levelinfo.conf": when set
282           to "true", levels are always played with the latest game engine,
283           which is desired for levels that are imported from other games; all
284           other levels are played with the engine version stored in level file
285           (which is normally the engine version the level was created with)
286
287 2003-10-18
288         * fixed serious bug in code for delayed element pushing
289         * fixed little bug in animation frame selection for pushed elements
290         * speed-up of reading config file for verbose output
291
292 2003-10-08
293         * added configuration option for opening and closing Supaplex exit
294         * added configuration option for moving up/down animation for Murphy
295         * fixed incorrectly displayed animation for attacking dragon
296         * fixed bug with not setting initial gravity for each new game
297         * fixed bug with teleportation of player by custom element change
298         * fixed bug with player not getting smashed by rock sometimes
299
300 2003-10-06
301         * version number set to 3.0.7
302
303 2003-10-06
304         * version 3.0.6 released
305
306 2003-10-05
307         * added support for MP3 music for SDL version through SMPEG library
308
309 2003-10-03
310         * fixed bug when initializing font graphic structure
311         * fixed bug with animation mode "pingpong" when using only 1 frame
312         * fixed bug with extended change target introduced in 3.0.5
313         * fixed bug where passing over moving element doubles player speed
314         * fixed bug with elements continuing to move into push direction
315         * fixed bug with duplicated player when dropping bomb with shield on
316         * added "switching" event for custom elements ("pressing" only once)
317         * fixed switching bug (resetting flag when not switching but not idle)
318
319 2003-09-29
320         * fixed element tokens for certain file elements with ".active" etc.
321
322 2003-09-29
323         * version number set to 3.0.6
324
325 2003-09-29
326         * version 3.0.5 released
327
328 2003-09-28
329         * now four envelope elements available
330         * font, background, animation and sound for envelope now configurable
331         * main menu doors opening/closing animation type now configurable
332
333 2003-09-27
334         * active/inactive sides configurable for custom element changes
335         * new movement type "move when pushed" available for custom elements
336
337 2003-09-20
338         * fixed bug in multiple config pages loader code that caused crashes
339
340 2003-09-13
341         * enhanced (remaining low-resolution) Supaplex graphics
342
343 2003-09-13
344         * version number set to 3.0.5
345
346 2003-09-13
347         * version 3.0.4 released
348
349 2003-09-12      src/tools.c
350         * fixed bug in custom definition of crumbled element graphics
351
352 2003-09-11      src/files.c
353         * fixed bug in multiple config pages code that caused crashes
354
355 2003-09-08
356         * version number set to 3.0.4
357
358 2003-09-08
359         * version 3.0.3 released
360
361 2003-09-07
362         * added music to Supaplex classic level set
363
364 2003-09-07      src/libgame/misc.c
365         * added support for loading various music formats through SDL_mixer
366
367 2003-09-06      (various source files)
368         * fixed several nasty bugs that may have caused crashes on some systems
369         * added envelope content which gets displayed when collecting envelope
370         * added multiple change event pages for custom elements
371
372 2003-08-24      src/game.c
373         * fixed problem with player animation when snapping and moving
374
375 2003-08-23      src/screens.c, src/cartoons.c, src/libgame/toons.c
376         * fixed problem with flickering when drawing toon animations
377
378 2003-08-23      src/libgame/sdl.c
379         * fixed problem with setting mouse cursor in SDL version in fullscreen
380
381 2003-08-23      src/game.c
382         * fixed bug (missing array boundary check) which could crash the game
383
384 2003-08-23
385         * version number set to 3.0.3
386
387 2003-08-22
388         * version 3.0.2 released
389
390 2003-08-21      src/game.c
391         * fixed bug with creating inaccessible elements at player position
392
393 2003-08-20      src/init.c
394         * fixed bug with not finding current level artwork directory
395
396 2003-08-20      src/files.c
397         * fixed bug with choosing wrong engine version when playing tapes
398         * fixed bug with messing up custom element properties in 3.0.0 levels
399
400 2003-08-18
401         * version number set to 3.0.2
402
403 2003-08-18
404         * version 3.0.1 released
405
406 2003-08-17      (no source files affected)
407         * changed all "classic" PCX image files with 16 colors or less to
408           256 color (8 bit) storage format, because the Allegro game library
409           cannot handle PCX files with less than 256 colors (contributed
410           graphics are not affected and might look wrong in the DOS version)
411
412 2003-08-16      src/init.c
413         * fixed bug which (for example) crashed the level editor when defining
414           "dynamite.EDITOR:  [NONE]", because graphics may not be undefined
415           (only set to default) -- invalid graphics now set to default graphic
416
417 2003-08-16      src/init.c
418         * fixed graphical bug of player digging/collecting/snapping element
419           when no corresponding graphic/animation is defined for this action,
420           resulting in player being drawn as EL_EMPTY (which should only be
421           done to elements being collected, but not to the player)
422
423 2003-08-16      src/game.c
424         * fixed small graphical bug of player not totally moving into exit
425
426 2003-08-16      src/libgame/setup.c
427         * fixed bug with wrong MS-DOS 8.3 filename conversion
428
429 2003-08-16      src/tools.c
430         * fixed bug with invisible mouse cursor when pressing ESC while playing
431
432 2003-08-16      (various source files)
433         * added another 128 custom elements (disabled in editor by default)
434
435 2003-08-16      src/editor.c
436         * fixed NULL string bug causing Solaris to crash in sprintf()
437
438 2003-08-16      src/screen.c
439         * fixed drawing over scrollbar on level selection with custom fonts
440
441 2003-08-15      src/game.c
442         * cleanup of simple sounds / loop sounds / music settings
443
444 2003-08-08      (various source files)
445         * added custom element property for dropping collected elements
446
447 2003-08-08      src/conf_gfx.c
448         * fixed bug with missing graphic for active red disk bomb
449
450 2003-08-07      src/files.c, src/editor.c src/game.c, src/main.h
451         * extended variable "level.gravity" to "level.initial_gravity" and
452           "game.current_gravity" to prevent level setting from being changed
453           by playing the level (keeping the runtime value after playing)
454
455         * fixed graphics bug when digging element that has 'crumbled' graphic
456           definition, but not 'diggable' graphic definition
457
458 2003-08-06
459         * version number set to 3.0.1
460
461 2003-08-05
462         * version 3.0.0 released
463
464 2003-08-05
465         * various bug fixes; among others:
466           - fixed bug with pushing spring over empty space
467           - fixed bug with leaving tube while placing dynamite
468           - fixed bug with explosion of smashed penguins
469           - allow Murphy player graphic in levels with non-Supaplex elements
470
471 2003-04-07
472         * various changes
473         * I have forgotten to document changes for some time
474
475 2002-12-31
476         * pre-release version 2.2.0rc1 released
477
478 2002-08-25
479         * version number set to 2.1.2
480
481 2002-08-13
482         * version 2.1.1 released
483
484 2002-08-10
485         * version number set to 2.1.1
486
487 2002-08-05
488         * version 2.1.0 released
489         
490 2002-05-19
491         * version number set to 2.1.0
492
493 2002-04-03 to 2002-05-19        (various source files)
494         * graphics, sounds and music now fully configurable
495         * bug fixed that prevented walking through tubes when gravity on
496
497 2002-04-02      src/events.c, src/editor.c
498         * Make Escape key less aggressive when playing or when editing level.
499           This can be configured as an option in the setup menu. (Default is
500           "less aggressive" which means "ask user if something can be lost"
501           when pressing the Escape key.)
502
503 2002-04-02      src/screen.c
504         * Added "graphics setup" screen.
505
506 2002-04-01      src/screen.c
507         * Changed "choose level" setup screen stuff to be more generic (to
508           make it easier to add more "choose from generic tree" setup screens).
509
510 2002-04-01      src/config.c, src/timestamp.h
511         * Added source files "src/config.[ch]" and "src/timestamp.h" (which
512           automatically gets created by "src/Makefile" and contains an actual
513           compile-time timestamp to identify development versions of the game).
514
515 2002-03-31      src/tape.c, src/events.c
516         * Added quick game/tape save/load functions to tape stuff which can be
517           invoked by a keyboard shortcut. Default: "F1" saves game/tape, "F2"
518           loads previously recorded tape and directly goes into recording mode
519           from the end of the tape (therefore appending to the tape).
520
521 2002-03-31      src/tape.c
522         * Added "index mark" function to tape recorder. When playing or
523           recording, "eject" button changes to "index" button. Setting index
524           mark is not yet implemented, but pressing index button when playing
525           allows very quick advancing to end of tape (when normal playing),
526           very fast forward mode (when playing with normal fast forward) or
527           very fast reaching of "pause before end of tape" (when playing with
528           "pause before end" playing mode).
529
530 2002-03-30      src/cartoons.c
531         * Moved some stuff from cartoons.c to the new "src/libgame/toons.c".
532
533 2002-03-29      src/screen.c
534         * Changed setup screen stuff to be more generic (to make it easier
535           to add more setup screens).
536
537 2002-03-23      src/main.c, src/main.h
538         * Various changes due to the introduction of the new libgame files
539           "setup.c" and "joystick.c".
540
541 2002-03-23      src/files.c
542         * Generic parts of "src/files.c" (mainly setup and level directory
543           stuff) moved to new libgame file "src/libgame/setup.c".
544
545 2002-03-23      src/joystick.c
546         * File "src/joystick.c" moved to libgame source tree, with
547           correspondig changes.
548
549 2002-03-22      src/screens.c
550         * "HandleChooseLevel()": Another bug in level series navigation fixed.
551           (Wrong level series information displayed when entering main group.)
552
553 2002-03-22      src/editor.c
554         * Slight change to support new gadget event "GD_EVENT_INFO_LEAVING".
555
556 2002-03-22      src/editor.c
557         * Changed behaviour of "Escape" key in level editor to be more
558           intuitive: When in "Element Properties" or "Level Info" mode,
559           return to "Drawing Mode" instead of leaving the level editor.
560
561 2002-03-21      src/game.c, src/editor.c, src/files.c
562         * 2.0.1 introduced the corrected "Emerald Mine" style behaviour of
563           gems (emeralds, diamonds, ...) slipping down from normal wall,
564           steel wall and growing wall (as in E.M.C. style levels). Although
565           the behaviour of contributed and private levels wasn't changed (due
566           to the use of "level.game_version"; see previous entry), editing
567           those levels will (of course) change the behaviour accordingly.
568
569           This change seems a bit too hard after thinking about it, because
570           the EM style behaviour is not the "expected" behaviour (gems would
571           normally only slip down from "rounded" walls). Therefore this was
572           now changed to an element property for gem style elements, with the
573           default setting "off" (which means: no special EM style behaviour).
574           To fix older converted levels, this flag is set to "on" for pre-2.0
575           levels that are neither contributed nor private levels.
576
577 2002-03-20      src/files.h
578         * Corrected settings for "level.game_version" depending of level type.
579           (Contributed and private levels always get played with game engine
580           version they were created with, while converted levels always get
581           played with the most recent version of the game engine, to let new
582           corrections of the emulation behaviour take effect.)
583
584 2002-03-20      src/main.h
585         * Added "#include <time.h>". This seems to be needed by "tape.c" for
586           compiling the SDL version on some systems.
587           Thanks to the several people who pointed this out.
588
589 2002-03-19
590         * Version number set to 2.0.2.
591
592 2002-03-19
593         * Version 2.0.1 released.
594
595 2002-03-18      src/screens.c
596         * "HandleChooseLevel()": Small bug in level series navigation fixed.
597
598 2002-03-18      src/files.c [src/libgame/misc.c]
599         * Moved some common functions from src/files.c to src/libgame/misc.c.
600
601 2002-03-18      src/files.c [src/libgame/misc.c]
602         * Changed permissions for new directories and saved files (especially
603           score files) according to suggestions of Debian users and mantainers.
604           Thanks to Drew Parsons <dparsons@emerall.com> for the patch.
605
606 2002-03-17      src/files.c
607         * Changed "{Load|Save}{Level|Tape}()" to IFF style file format:
608           Replaced "cookie" header string ("ROCKSNDIAMONDS_...\n") with
609           real IFF style header "RND1....XXXX" (where "XXXX" is "CAVE"
610           for levels and "TAPE" for tapes). Old "cookie" style format is
611           still supported for reading. New level and tape files are written
612           in new format.
613
614         * New IFF chunk "VERS" contains version numbers for file and game
615           (where "game version" is the version of the program that wrote the
616           file, and "file version" is a version number to distinguish files
617           with different format, for example after adding new features).
618
619 2002-03-15      src/screen.c
620         * "DrawHallOfFame()": "FadeSounds()" when entering the hall of fame.
621           (Before, you heard a mixture of the in-game music and the
622           hall-of-fame music.)
623
624 2002-03-14      src/events.c
625         * Function "DumpTape()" (files.c) now available by pressing 't' from
626           main menu (when in DEBUG mode).
627
628 2002-03-14      src/game.c
629         * "GameWon()": When game was won playing a tape, now there is no delay
630           raising the score and no corresponding sound is played.
631
632 2002-03-14      src/files.c
633         * Changed "LoadTape()" for real chunk support and also adjusted
634           "SaveTape()" accordingly.
635
636 2002-03-14      src/game.c, src/tape.c, src/files.c
637         * Important changes to tape format: The old tape format stored all
638           actions with a real effect with a corresponding delay between the
639           stored actions. This had some major disadvantages (for example,
640           push delays had to be ignored, pressing a button for some seconds
641           mutated to several single button presses because of the non-action
642           delays between two action frames etc.). The new tape format just
643           stupidly records all device actions and replays them later. I really
644           don't know why I haven't solved it that way before?! Old-style tapes
645           (with tape file version less than 2.0) get converted to the new
646           format on-the-fly when loading and can therefore still be played;
647           only some minor parts of the old-style tape handling code was needed.
648           (A perfect conversion is not possible, because there is information
649           missing about the device actions between two action frames.)
650
651 2002-03-14      src/files.c
652         * New function "DumpTape()" to dump the contents of the current tape
653           in a human readable format.
654
655 2002-03-14      src/game.c
656         * Small tape bug fixed: When automatically advancing to next level
657           after a game was won, the tape from the previous level still was
658           loaded as a tape for the new level.
659
660 2002-03-14      src/tape.c
661         * Small graphical bug fixed: When pressing ""Record" or "Play" on
662           tape, cartoons did not get completely removed because
663           StopAnimation() was not called.
664
665 2002-03-13      src/files.c
666         * Changed "LoadLevel()" and "SaveLevel()" to add new chunk "CNT2".
667           Fixed bug of "CONT" and "BODY" (chunk size was set to 8-bit element
668           size even when using 16-bit elements). Added new chunk "CNT2" for
669           16-bit amoeba content (previously written in 8-bit field in "HEAD"
670           chunk even when content was 16-bit element). "CNT2" should now be
671           able to store content for arbitrary elements (up to eight blocks of
672           3 x 3 element arrays). All "CNT2" elements will always be stored as
673           16-bit elements. "CONT" (with 8/16-bit elements) now obsolete.
674
675 2002-03-13      src/files.c
676         * Changed "LoadLevel()" for real chunk support.
677
678 2002-03-12      src/game.c
679         * Fixed problem (introduced after 2.0.0 release) with penguins
680           not getting killed by enemies
681
682 2002-02-24      src/game.c, src/main.h
683         * Added "player->is_moving"; now "player->last_move_dir" does
684           not contain any information if the player is just moving at
685           the moment or not.
686           Before, "player->last_move_dir" was misused for this purpose
687           for  the robot stuff (robots don't kill players when they are
688           moving). But setting "player->last_move_dir" to MV_NO_MOVING
689           broke tapes when walking through pipes!
690           ("IS_MOVING()" uses "MovPos[][]", but this fails when it is 0
691           in a continuous movement. This fact is ignored for friends and
692           enemies, though.)