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