rocksndiamonds.git
10 years agornd-20061121-1-src
Holger Schemel [Mon, 20 Nov 2006 23:13:51 +0000 (00:13 +0100)]
rnd-20061121-1-src
* fixed nasty bug with initialization only done for the first player

10 years agornd-20061119-1-src
Holger Schemel [Sun, 19 Nov 2006 16:00:11 +0000 (17:00 +0100)]
rnd-20061119-1-src
* small change to handle loading empty element/content list micro chunks
* uploaded pre-release (test) version 3.2.3-0 binary and source code

10 years agornd-20061102-1-src
Holger Schemel [Thu, 2 Nov 2006 00:56:40 +0000 (01:56 +0100)]
rnd-20061102-1-src

10 years agornd-20061101-2-src
Holger Schemel [Wed, 1 Nov 2006 20:43:29 +0000 (21:43 +0100)]
rnd-20061101-2-src

10 years agornd-20061101-1-src
Holger Schemel [Wed, 1 Nov 2006 20:11:26 +0000 (21:11 +0100)]
rnd-20061101-1-src
* some optimizations on startup speed by reducing initial text output

10 years agornd-20061031-1-src
Holger Schemel [Mon, 30 Oct 2006 23:32:41 +0000 (00:32 +0100)]
rnd-20061031-1-src
* added caching of custom artwork information for faster startup times

10 years agornd-20061030-3-src
Holger Schemel [Mon, 30 Oct 2006 18:53:49 +0000 (19:53 +0100)]
rnd-20061030-3-src

10 years agornd-20061030-2-src
Holger Schemel [Mon, 30 Oct 2006 10:19:57 +0000 (11:19 +0100)]
rnd-20061030-2-src

10 years agornd-20061030-1-src
Holger Schemel [Mon, 30 Oct 2006 01:02:05 +0000 (02:02 +0100)]
rnd-20061030-1-src
* fixed graphical bug when using fewer menu entries on level selection
  screen than usual (with "menu.list_size.LEVELS" directive)
* fixed crash bug (Windows/SDL only) caused by BlitBitmap blitting from
  the backbuffer to the backbuffer by error (with identical rectangle)

10 years agornd-20061029-1-src
Holger Schemel [Sun, 29 Oct 2006 19:26:55 +0000 (20:26 +0100)]
rnd-20061029-1-src

10 years agornd-20061028-3-src
Holger Schemel [Sat, 28 Oct 2006 21:44:36 +0000 (23:44 +0200)]
rnd-20061028-3-src
<  * fixed bug which caused elements with "change when digging <e>" event

10 years agornd-20061028-2-src
Holger Schemel [Sat, 28 Oct 2006 12:24:25 +0000 (14:24 +0200)]
rnd-20061028-2-src
* fixed bug which caused elements with "change when digging <e>" event
  to change for _every_ digged element, not only those specified in <e>

10 years agornd-20061028-1-src
Holger Schemel [Sat, 28 Oct 2006 11:44:10 +0000 (13:44 +0200)]
rnd-20061028-1-src
* fixed bug when displaying titlescreen with size less than element tile

10 years agornd-20061024-1-src
Holger Schemel [Tue, 24 Oct 2006 17:56:07 +0000 (19:56 +0200)]
rnd-20061024-1-src
* fixed bug that allowed making engine snapshots from the level editor

10 years agornd-20061022-1-src
Holger Schemel [Sun, 22 Oct 2006 13:25:49 +0000 (15:25 +0200)]
rnd-20061022-1-src
* fixed bugs with player name and current level positions on main screen

10 years agornd-20061020-2-src
Holger Schemel [Fri, 20 Oct 2006 18:26:53 +0000 (20:26 +0200)]
rnd-20061020-2-src
* fixed bug with background not drawn in Hall of Fame after game was won

10 years agornd-20061020-1-src
Holger Schemel [Fri, 20 Oct 2006 17:48:37 +0000 (19:48 +0200)]
rnd-20061020-1-src
* added configuration directives for control of title screens:
  - "title.fade_delay" for fading time
  - "title.post_delay" for pause between screens (when not crossfading)
  - "title.auto_delay" to automatically continue after some time
  these settings can each be overridden by specifying them with titles:
  - "titlescreen_initial_{1-5}.{fade_delay,post_delay,auto_delay}"
  - "titlescreen_{1-5}.{fade_delay,post_delay,auto_delay}"
  fading mode can also be specified:
  - "titlescreen_initial_{1-5}.anim_mode: {fade,crossfade}
  - "titlescreen_{1-5}.anim_mode: {fade,crossfade}
  default is using normal fading for menues and initial title screens,
  while using cross-fading for level set title screens

10 years agornd-20061019-2-src
Holger Schemel [Thu, 19 Oct 2006 17:52:03 +0000 (19:52 +0200)]
rnd-20061019-2-src

10 years agornd-20061019-1-src
Holger Schemel [Wed, 18 Oct 2006 22:37:14 +0000 (00:37 +0200)]
rnd-20061019-1-src
* added configuration directives for the remaining main menu items

10 years agornd-20061018-1-src
Holger Schemel [Tue, 17 Oct 2006 23:11:02 +0000 (01:11 +0200)]
rnd-20061018-1-src
* added additional configuration directives for preview info text
* limited mouse wheel sensitive screen area to scrollable screen area

10 years agornd-20061017-2-src
Holger Schemel [Tue, 17 Oct 2006 18:36:28 +0000 (20:36 +0200)]
rnd-20061017-2-src
* added additional configuration directives for info screen draw offset:
  menu.draw_{x,y}offset.INFO[{ELEMENTS,MUSIC,CREDITS,PROGRAM,LEVELSET}]

10 years agornd-20061017-1-src
Holger Schemel [Tue, 17 Oct 2006 00:46:59 +0000 (02:46 +0200)]
rnd-20061017-1-src
* added highlighted menu text entries to menu navigation when selected

10 years agornd-20061015-1-src
Holger Schemel [Sun, 15 Oct 2006 02:11:59 +0000 (04:11 +0200)]
rnd-20061015-1-src
* added configurable main menu button and text positions

10 years agornd-20061014-2-src
Holger Schemel [Sat, 14 Oct 2006 21:01:03 +0000 (23:01 +0200)]
rnd-20061014-2-src
* fixed bug that prevented player from being killed when indestructible,
  non-walkable element is placed on player position by extended change

10 years agornd-20061014-1-src
Holger Schemel [Sat, 14 Oct 2006 10:47:55 +0000 (12:47 +0200)]
rnd-20061014-1-src
* fixed bug that prevented player from correctly being created in the
  top left corner by a custom element change in a level without player

10 years agornd-20061013-2-src
Holger Schemel [Fri, 13 Oct 2006 18:23:11 +0000 (20:23 +0200)]
rnd-20061013-2-src
* added page fading effects for remaining info sub-screens
* fixed small bug that caused some delays when answering door request

10 years agornd-20061013-1-src
Holger Schemel [Fri, 13 Oct 2006 01:15:22 +0000 (03:15 +0200)]
rnd-20061013-1-src
* added directives "border.draw_masked.*" for menu/playfield area and
  door areas to display overlapping/masked borders from "global.border"

10 years agornd-20061009-1-src
Holger Schemel [Mon, 9 Oct 2006 20:30:21 +0000 (22:30 +0200)]
rnd-20061009-1-src
* fixed bug with CE with move speed "not moving" not being animated
* when changing player artwork by CE action, reset animation frame

10 years agornd-20061003-2-src
Holger Schemel [Tue, 3 Oct 2006 13:24:13 +0000 (15:24 +0200)]
rnd-20061003-2-src
* fixed bug with un-pausing a paused game by releasing still pressed key
* fixed bug with not redrawing screen when toggling to/from fullscreen
  mode while fast reloading tape (without redrawing playfield contents)
* fixed bug with quick-saving tape snapshot despite answering with "no"

10 years agornd-20061003-1-src
Holger Schemel [Tue, 3 Oct 2006 08:03:09 +0000 (10:03 +0200)]
rnd-20061003-1-src
* fixed bug with not unmapping main menu screen gadgets on other screens
* version number set to 3.2.3
* version 3.2.2 released

10 years agorocksndiamonds-3.2.2
Holger Schemel [Tue, 29 Aug 2006 21:30:03 +0000 (23:30 +0200)]
rocksndiamonds-3.2.2

10 years agornd-20060829-1-src
Holger Schemel [Tue, 29 Aug 2006 17:56:27 +0000 (19:56 +0200)]
rnd-20060829-1-src
* fixed bug with redrawing screen in fullscreen mode after quick tape
  reloading when using the EMC game engine

10 years agornd-20060828-1-src
Holger Schemel [Mon, 28 Aug 2006 20:49:38 +0000 (22:49 +0200)]
rnd-20060828-1-src
* fixed bug in GameWon() when level contains no exit (like in Sokoban)

10 years agornd-20060824-1-src
Holger Schemel [Thu, 24 Aug 2006 02:11:51 +0000 (04:11 +0200)]
rnd-20060824-1-src
* added engine snapshot functionality for instant tape reloading (this
  only works for the last tape saved using "quick save", and does not
  work across program restarts, because it completely works in memory)

10 years agornd-20060821-1-src
Holger Schemel [Mon, 21 Aug 2006 00:10:31 +0000 (02:10 +0200)]
rnd-20060821-1-src
* version number set to 3.2.2

10 years agorocksndiamonds-3.2.1
Holger Schemel [Sun, 20 Aug 2006 18:05:35 +0000 (20:05 +0200)]
rocksndiamonds-3.2.1

10 years agornd-20060820-2-src
Holger Schemel [Sun, 20 Aug 2006 17:58:10 +0000 (19:58 +0200)]
rnd-20060820-2-src

10 years agornd-20060820-1-src
Holger Schemel [Sun, 20 Aug 2006 12:13:08 +0000 (14:13 +0200)]
rnd-20060820-1-src
* fixed nasty bugs with handling error message file on Mac OS X systems

10 years agornd-20060819-5-src
Holger Schemel [Sat, 19 Aug 2006 16:42:44 +0000 (18:42 +0200)]
rnd-20060819-5-src

10 years agornd-20060819-4-src
Holger Schemel [Sat, 19 Aug 2006 14:29:03 +0000 (16:29 +0200)]
rnd-20060819-4-src

10 years agornd-20060819-3-src
Holger Schemel [Sat, 19 Aug 2006 11:53:33 +0000 (13:53 +0200)]
rnd-20060819-3-src

10 years agornd-20060819-2-src
Holger Schemel [Sat, 19 Aug 2006 11:33:34 +0000 (13:33 +0200)]
rnd-20060819-2-src
* code cleanup (removed many annoying "#if 0" blocks)

10 years agornd-20060819-1-src
Holger Schemel [Fri, 18 Aug 2006 22:48:39 +0000 (00:48 +0200)]
rnd-20060819-1-src

10 years agornd-20060818-1-src
Holger Schemel [Fri, 18 Aug 2006 19:17:25 +0000 (21:17 +0200)]
rnd-20060818-1-src
* fixed bug that caused broken tapes when manually appending to tapes
  using the "pause before death" functionality, followed by recording
* added setup option to disable fading of screens for faster testing

10 years agornd-20060816-4-src
Holger Schemel [Wed, 16 Aug 2006 20:59:58 +0000 (22:59 +0200)]
rnd-20060816-4-src
* code cleanup of new fading functions

10 years agornd-20060816-3-src
Holger Schemel [Wed, 16 Aug 2006 20:30:29 +0000 (22:30 +0200)]
rnd-20060816-3-src

10 years agornd-20060816-2-src
Holger Schemel [Wed, 16 Aug 2006 19:25:59 +0000 (21:25 +0200)]
rnd-20060816-2-src

10 years agornd-20060816-1-src
Holger Schemel [Tue, 15 Aug 2006 23:48:34 +0000 (01:48 +0200)]
rnd-20060816-1-src
* added some more smooth screen fadings (game start, hall of fame etc.)

10 years agornd-20060815-2-src
Holger Schemel [Tue, 15 Aug 2006 20:16:47 +0000 (22:16 +0200)]
rnd-20060815-2-src
* changed behaviour after solved game -- do not immediately stop engine

10 years agornd-20060815-1-src
Holger Schemel [Mon, 14 Aug 2006 23:23:26 +0000 (01:23 +0200)]
rnd-20060815-1-src
* fixed bug with displaying pushed CE with value/score/delay anim_mode

10 years agornd-20060812-2-src
Holger Schemel [Sat, 12 Aug 2006 20:22:56 +0000 (22:22 +0200)]
rnd-20060812-2-src
* added configurable game panel value positions (gems, time, score etc.)

10 years agornd-20060812-1-src
Holger Schemel [Sat, 12 Aug 2006 14:02:46 +0000 (16:02 +0200)]
rnd-20060812-1-src
* added configurable level preview position, tile size and dimensions

10 years agornd-20060810-1-src
Holger Schemel [Thu, 10 Aug 2006 07:35:03 +0000 (09:35 +0200)]
rnd-20060810-1-src
* fixed small bug with time displayed incorrectly when collecting CEs

10 years agornd-20060808-1-src
Holger Schemel [Mon, 7 Aug 2006 22:05:10 +0000 (00:05 +0200)]
rnd-20060808-1-src
* fixed bug with bumpy scrolling with EM engine in double player mode

10 years agornd-20060805-5-src
Holger Schemel [Sat, 5 Aug 2006 21:41:25 +0000 (23:41 +0200)]
rnd-20060805-5-src

10 years agornd-20060805-4-src
Holger Schemel [Sat, 5 Aug 2006 12:46:08 +0000 (14:46 +0200)]
rnd-20060805-4-src
* added compatibility code to fix "Snake Bite" style levels that were
  broken due to a bugfix regarding EL_SOKOBAN_FIELD_PLAYER in 3.2.0

10 years agornd-20060805-3-src
Holger Schemel [Sat, 5 Aug 2006 00:55:40 +0000 (02:55 +0200)]
rnd-20060805-3-src

10 years agornd-20060805-2-src
Holger Schemel [Sat, 5 Aug 2006 00:17:06 +0000 (02:17 +0200)]
rnd-20060805-2-src
* added key shortcut "Alt + Enter" to toggle fullscreen mode at any time

10 years agornd-20060805-1-src
Holger Schemel [Fri, 4 Aug 2006 22:54:22 +0000 (00:54 +0200)]
rnd-20060805-1-src
* added Rocks'n'Diamonds icon for use as window icon to SDL version

10 years agornd-20060804-1-src
Holger Schemel [Fri, 4 Aug 2006 17:28:32 +0000 (19:28 +0200)]
rnd-20060804-1-src
* fixed bug with scrollbars inside editor when using the Windows mouse
  enhancement tool "True X-Mouse" (which injects key events to the event
  queue to insert selected stuff into the Windows clipboard, which gets
  confused with the "Insert" key for jumping to the last editor cascade
  block in the element list)

10 years agornd-20060802-4-src
Holger Schemel [Wed, 2 Aug 2006 19:45:35 +0000 (21:45 +0200)]
rnd-20060802-4-src

10 years agornd-20060802-3-src
Holger Schemel [Wed, 2 Aug 2006 19:31:35 +0000 (21:31 +0200)]
rnd-20060802-3-src
* added selection of preferred fullscreen mode to setup / graphics menu
  (useful if default mode 800 x 600 does not match screen aspect ratio)

10 years agornd-20060802-2-src
Holger Schemel [Wed, 2 Aug 2006 17:12:43 +0000 (19:12 +0200)]
rnd-20060802-2-src

10 years agornd-20060802-1-src
Holger Schemel [Wed, 2 Aug 2006 00:27:01 +0000 (02:27 +0200)]
rnd-20060802-1-src

10 years agornd-20060730-2-src
Holger Schemel [Sun, 30 Jul 2006 20:11:57 +0000 (22:11 +0200)]
rnd-20060730-2-src
* changed user data directory for Mac OS X from Unix style to new place

10 years agornd-20060730-1-src
Holger Schemel [Sun, 30 Jul 2006 11:17:49 +0000 (13:17 +0200)]
rnd-20060730-1-src
* improved down-scaling of images for better level and preview graphics

10 years agornd-20060727-2-src
Holger Schemel [Thu, 27 Jul 2006 09:38:48 +0000 (11:38 +0200)]
rnd-20060727-2-src

10 years agornd-20060727-1-src
Holger Schemel [Wed, 26 Jul 2006 23:31:18 +0000 (01:31 +0200)]
rnd-20060727-1-src

10 years agornd-20060726-6-src
Holger Schemel [Wed, 26 Jul 2006 19:24:50 +0000 (21:24 +0200)]
rnd-20060726-6-src
* added Windows message box to direct to "stderr.txt" after error aborts

10 years agornd-20060726-5-src
Holger Schemel [Wed, 26 Jul 2006 18:04:18 +0000 (20:04 +0200)]
rnd-20060726-5-src
* changed output file "stderr.txt" on Windows platform now always to be
  created in the R'n'D sub-directory of the personal documents directory

10 years agornd-20060726-4-src
Holger Schemel [Wed, 26 Jul 2006 16:15:09 +0000 (18:15 +0200)]
rnd-20060726-4-src
* added support for scrolling horizontal scrollbars with mouse wheel by
  holding "Ctrl" button pressed while scrolling the wheel

10 years agornd-20060726-3-src
Holger Schemel [Wed, 26 Jul 2006 14:18:24 +0000 (16:18 +0200)]
rnd-20060726-3-src
* added support for mouse scroll wheel (caused buggy behaviour before)

10 years agornd-20060726-2-src
Holger Schemel [Wed, 26 Jul 2006 13:30:40 +0000 (15:30 +0200)]
rnd-20060726-2-src
* improved level number selection in main menu and player selection in
  setup menu (input devices section) by using standard button gadgets
* improved general scrollbar handling
* added support for mouse scroll wheels

10 years agornd-20060726-1-src
Holger Schemel [Wed, 26 Jul 2006 01:42:13 +0000 (03:42 +0200)]
rnd-20060726-1-src

10 years agornd-20060723-2-src
Holger Schemel [Sun, 23 Jul 2006 01:00:42 +0000 (03:00 +0200)]
rnd-20060723-2-src
* changed scrollbars to always show last line as first after scrolling
  (that means jumping n - 1 screen lines instead of n screen lines)

10 years agornd-20060723-1-src
Holger Schemel [Sat, 22 Jul 2006 23:15:19 +0000 (01:15 +0200)]
rnd-20060723-1-src
* fixed level versions of EMC level loader (from V4 to V1, V2 and V3)
* fixed level time for EMC levels for V2 engine (V2 and V5 levels)
* fixed special handling of vertically stacked acid becoming fake acid

10 years agornd-20060716-2-src
Holger Schemel [Sun, 16 Jul 2006 21:09:07 +0000 (23:09 +0200)]
rnd-20060716-2-src
* fixed bug (very special case) with CE_SCORE_GETS_ZERO, which can
  affect multiple instances of the same CE, although this kind of
  change condition usually only affects one single custom element

10 years agornd-20060716-1-src
Holger Schemel [Sun, 16 Jul 2006 12:47:47 +0000 (14:47 +0200)]
rnd-20060716-1-src
* version number set to 3.2.1
* version 3.2.0 released

10 years agorocksndiamonds-3.2.0
Holger Schemel [Sun, 16 Jul 2006 00:29:17 +0000 (02:29 +0200)]
rocksndiamonds-3.2.0

10 years agornd-20060715-1-src
Holger Schemel [Sat, 15 Jul 2006 20:06:21 +0000 (22:06 +0200)]
rnd-20060715-1-src

10 years agornd-20060623-1-src
Holger Schemel [Fri, 23 Jun 2006 18:53:52 +0000 (20:53 +0200)]
rnd-20060623-1-src
* reorganized level editor element list a bit to match engines better

10 years agornd-20060621-1-src
Holger Schemel [Tue, 20 Jun 2006 23:53:10 +0000 (01:53 +0200)]
rnd-20060621-1-src
* fixed newly introduced bug with wrongly initializing clipboard element
* fixed bug with displaying visible/invisible level border in editor
* reorganized some elements in the level editor element list

10 years agornd-20060614-1-src
Holger Schemel [Tue, 13 Jun 2006 23:09:31 +0000 (01:09 +0200)]
rnd-20060614-1-src

10 years agornd-20060610-1-src
Holger Schemel [Sat, 10 Jun 2006 18:46:44 +0000 (20:46 +0200)]
rnd-20060610-1-src
* fixed bug which caused EMC doors #5 to #8 to be passable without keys

10 years agornd-20060607-1-src
Holger Schemel [Wed, 7 Jun 2006 07:38:44 +0000 (09:38 +0200)]
rnd-20060607-1-src
* fixed bug with displaying running player when player stopped at border

10 years agornd-20060606-1-src
Holger Schemel [Mon, 5 Jun 2006 22:35:49 +0000 (00:35 +0200)]
rnd-20060606-1-src
* fixed bug with displaying any player as "yellow" when moving into acid

10 years agornd-20060604-1-src
Holger Schemel [Sun, 4 Jun 2006 00:05:45 +0000 (02:05 +0200)]
rnd-20060604-1-src
* fixed bug with player exploding when moving into acid
* fixed bug with level settings being reset in editor and when playing
  (some compatibility settings being set not only after level loading)

10 years agornd-20060603-1-src
Holger Schemel [Sat, 3 Jun 2006 18:36:36 +0000 (20:36 +0200)]
rnd-20060603-1-src
* fixed crash bug when number of custom graphic frames was set to zero

10 years agornd-20060530-2-src
Holger Schemel [Tue, 30 May 2006 21:59:08 +0000 (23:59 +0200)]
rnd-20060530-2-src

10 years agornd-20060530-1-src
Holger Schemel [Tue, 30 May 2006 19:24:17 +0000 (21:24 +0200)]
rnd-20060530-1-src
* fixed some bugs when displaying title screens from info screen menu

10 years agornd-20060520-4-src
Holger Schemel [Sat, 20 May 2006 16:39:49 +0000 (18:39 +0200)]
rnd-20060520-4-src
* changed file version identifier to reflect recent level file changes

10 years agornd-20060520-2-src
Holger Schemel [Fri, 19 May 2006 23:19:08 +0000 (01:19 +0200)]
rnd-20060520-2-src
* updated magic(5) file to recognize changed and new level file chunks

10 years agornd-20060520-1-src
Holger Schemel [Fri, 19 May 2006 22:28:22 +0000 (00:28 +0200)]
rnd-20060520-1-src
* added new chunk "NAME" to level file format for level name settings
* added new chunk "NOTE" to level file format for envelope settings
* changed name of chunk "CONF" to "ELEM" (for normal element settings)

10 years agornd-20060518-1-src
Holger Schemel [Wed, 17 May 2006 22:23:00 +0000 (00:23 +0200)]
rnd-20060518-1-src
* changed gravity (which only affects the player) from level property
  to player property (only makes a difference in multi-player levels)
* added change events "change when CE value/score changes"
* added change events "change when CE value/score changes of <element>"
* added new "INFO" chunk to level file format for global level settings
* added all element settings from "HEAD" chunk to "CONF" chunk
* added all global level settings from "HEAD" chunk to "INFO" chunk

10 years agornd-20060517-1-src
Holger Schemel [Wed, 17 May 2006 00:13:36 +0000 (02:13 +0200)]
rnd-20060517-1-src

10 years agornd-20060511-1-src
Holger Schemel [Wed, 10 May 2006 22:24:15 +0000 (00:24 +0200)]
rnd-20060511-1-src
* changed level file format by adding two new chunks "CUSX" (for custom
  elements, replacing the previous "CUS4" chunk) and "GRPX" (for group
  elements, replacing the previous "GRP1" chunk); these new IFF style
  chunks use the new and flexible "micro chunks inside chunks" technique
  already used with the new "CONF" chunk (for normal element properties)
  which makes it possible to easily extend the existing level format
  (instead of using fixed-length chunks like before, which are either
  too big due to reserved bytes for future use, or too small when those
  reserved bytes have all been used and even more data should be stored,
  requiring the replacement by new and larger chunks just like it went
  with "CUS1" to "CUS4"); this whole problem now does not exist anymore

10 years agornd-20060510-1-src
Holger Schemel [Wed, 10 May 2006 00:29:53 +0000 (02:29 +0200)]
rnd-20060510-1-src

10 years agornd-20060509-2-src
Holger Schemel [Tue, 9 May 2006 20:00:26 +0000 (22:00 +0200)]
rnd-20060509-2-src

10 years agornd-20060509-1-src
Holger Schemel [Tue, 9 May 2006 00:34:24 +0000 (02:34 +0200)]
rnd-20060509-1-src

10 years agornd-20060506-2-src
Holger Schemel [Sat, 6 May 2006 19:16:31 +0000 (21:16 +0200)]
rnd-20060506-2-src
* added down position of switchgate switch to the level editor
  and allowed the use of both switch positions at the same time
* changed use of "Insert" and "Delete" keys to navigate element list in
  level editor to start of previous or next cascading block of elements