rocksndiamonds.git
4 years agofixed some level editor element descriptions
Holger Schemel [Sun, 25 Mar 2018 23:13:29 +0000 (01:13 +0200)]
fixed some level editor element descriptions

4 years agoadded using options for left/right/top/bottom spacing on some info screens
Holger Schemel [Sun, 25 Mar 2018 11:07:20 +0000 (13:07 +0200)]
added using options for left/right/top/bottom spacing on some info screens

4 years agoadded options for left/right/top/bottom spacing for the info screens
Holger Schemel [Sun, 25 Mar 2018 11:03:21 +0000 (13:03 +0200)]
added options for left/right/top/bottom spacing for the info screens

4 years agoreplaced some info screen positions with already defined symbolic names
Holger Schemel [Sun, 25 Mar 2018 00:17:37 +0000 (01:17 +0100)]
replaced some info screen positions with already defined symbolic names

4 years agofixed bug when creating static mappings of elements to graphics
Holger Schemel [Sat, 24 Mar 2018 22:14:03 +0000 (23:14 +0100)]
fixed bug when creating static mappings of elements to graphics

This bug showed up with wrong mapping for "mm_pacman.eating.right" (as
defined in "src/conf_gfx.c") in auto-conf file "src/conf_e2g.c" being

  {
    EL_MM_PACMAN,                       ACTION_EATING, -1, FALSE,
    IMG_MM_PACMAN_EATING_RIGHT
  },

where it should correctly be

  {
    EL_MM_PACMAN,                       ACTION_EATING, MV_BIT_RIGHT, FALSE,
    IMG_MM_PACMAN_EATING_RIGHT
  },

instead. This problem was fixed by always using the calculated direction
(which can still be "-1" if no direction is specified).

4 years agoadded centering levels that are smaller than the playfield (MM engine)
Holger Schemel [Fri, 23 Mar 2018 22:19:59 +0000 (23:19 +0100)]
added centering levels that are smaller than the playfield (MM engine)

4 years agofixed incorrect sizes of some arrays in menu info structure
Holger Schemel [Wed, 21 Mar 2018 20:28:08 +0000 (21:28 +0100)]
fixed incorrect sizes of some arrays in menu info structure

4 years agofixed compiling MM engine code with MinGW environment
Holger Schemel [Mon, 19 Mar 2018 21:49:22 +0000 (22:49 +0100)]
fixed compiling MM engine code with MinGW environment

4 years agofixed name of element 'beamer' to 'teleporter'
Holger Schemel [Sun, 18 Mar 2018 12:31:57 +0000 (13:31 +0100)]
fixed name of element 'beamer' to 'teleporter'

4 years agofixed name of element 'polarisator' to 'polarizer'
Holger Schemel [Sun, 18 Mar 2018 12:04:26 +0000 (13:04 +0100)]
fixed name of element 'polarisator' to 'polarizer'

4 years agofixed bug with deriving game data directory from default 'setup.conf'
Holger Schemel [Wed, 14 Mar 2018 18:41:20 +0000 (19:41 +0100)]
fixed bug with deriving game data directory from default 'setup.conf'

4 years agoremoved shortly visible video display when starting game from level editor
Holger Schemel [Sat, 10 Mar 2018 20:49:40 +0000 (21:49 +0100)]
removed shortly visible video display when starting game from level editor

4 years agoremoved short black screen when starting test game from level editor
Holger Schemel [Sat, 10 Mar 2018 20:40:11 +0000 (21:40 +0100)]
removed short black screen when starting test game from level editor

4 years agoadded message 'level solved' after solving a level
Holger Schemel [Sat, 10 Mar 2018 20:06:10 +0000 (21:06 +0100)]
added message 'level solved' after solving a level

4 years agoreplaced duplicated code with equivalent function call
Holger Schemel [Sat, 10 Mar 2018 19:32:44 +0000 (20:32 +0100)]
replaced duplicated code with equivalent function call

4 years agoadded asking for restart after game was lost (MM game engine only)
Holger Schemel [Sat, 10 Mar 2018 19:18:07 +0000 (20:18 +0100)]
added asking for restart after game was lost (MM game engine only)

4 years agofixed displaying title strings from config files in info screen headline
Holger Schemel [Sat, 10 Mar 2018 19:11:33 +0000 (20:11 +0100)]
fixed displaying title strings from config files in info screen headline

4 years agomoved getting title strings from config files to separate functions
Holger Schemel [Sat, 10 Mar 2018 19:10:08 +0000 (20:10 +0100)]
moved getting title strings from config files to separate functions

4 years agofixed bug with always drawing level playfield in editor after test playing
Holger Schemel [Wed, 31 Jan 2018 21:01:11 +0000 (22:01 +0100)]
fixed bug with always drawing level playfield in editor after test playing

- even if the last edit mode was "level info", "element properties" etc.
- this bug was introduced by the commit with the following message:
  "added editor door 1 animation if viewport is unchanged and contains toolbox"
  (no commit ID given here due to frequent use of "git rebase")

4 years agofixed saving snapshots (step, move and collect mode) to MM game engine
Holger Schemel [Thu, 21 Dec 2017 17:37:10 +0000 (18:37 +0100)]
fixed saving snapshots (step, move and collect mode) to MM game engine

4 years agofixed bug in (still largely broken) single-step mode when using joystick
Holger Schemel [Tue, 19 Dec 2017 21:02:18 +0000 (22:02 +0100)]
fixed bug in (still largely broken) single-step mode when using joystick

4 years agoadded single-step mode (well, sort of) to MM game engine
Holger Schemel [Tue, 19 Dec 2017 20:55:07 +0000 (21:55 +0100)]
added single-step mode (well, sort of) to MM game engine

4 years agofixed updating tile selection cursor position when using mouse in MM games
Holger Schemel [Fri, 15 Dec 2017 08:15:13 +0000 (09:15 +0100)]
fixed updating tile selection cursor position when using mouse in MM games

4 years agofixed showing/hiding mouse cursor in playfield when playing MM style games
Holger Schemel [Fri, 15 Dec 2017 08:13:12 +0000 (09:13 +0100)]
fixed showing/hiding mouse cursor in playfield when playing MM style games

4 years agoimproved smoothness of moving tile selection cursor
Holger Schemel [Fri, 15 Dec 2017 07:29:27 +0000 (08:29 +0100)]
improved smoothness of moving tile selection cursor

4 years agofixed moving tile selection cursor
Holger Schemel [Fri, 15 Dec 2017 07:19:27 +0000 (08:19 +0100)]
fixed moving tile selection cursor

4 years agofixed bug with keyboard/joystick events unpausing MM style games
Holger Schemel [Fri, 15 Dec 2017 07:13:22 +0000 (08:13 +0100)]
fixed bug with keyboard/joystick events unpausing MM style games

4 years agofixed bug with ending solved MM level without scores when using keyboard
Holger Schemel [Wed, 13 Dec 2017 07:55:26 +0000 (08:55 +0100)]
fixed bug with ending solved MM level without scores when using keyboard

4 years agoadded tile selection cursor for playing MM levels with keyboard or joystick
Holger Schemel [Wed, 13 Dec 2017 07:39:30 +0000 (08:39 +0100)]
added tile selection cursor for playing MM levels with keyboard or joystick

4 years agoadded delaying joystick actions also on the high scores screen
Holger Schemel [Tue, 12 Dec 2017 21:18:01 +0000 (22:18 +0100)]
added delaying joystick actions also on the high scores screen

4 years agocompleted touch controls (follow finger) for MM game engine on Android
Holger Schemel [Mon, 4 Dec 2017 00:13:37 +0000 (01:13 +0100)]
completed touch controls (follow finger) for MM game engine on Android

4 years agoadded touch controls (follow finger) for MM game engine on Android
Holger Schemel [Sun, 3 Dec 2017 11:35:49 +0000 (12:35 +0100)]
added touch controls (follow finger) for MM game engine on Android

4 years agomoved code for separate touch controls to separate functions (cleanup)
Holger Schemel [Fri, 1 Dec 2017 21:26:29 +0000 (22:26 +0100)]
moved code for separate touch controls to separate functions (cleanup)

4 years agocleanup of gadget handling for Android/non-Android platforms
Holger Schemel [Fri, 1 Dec 2017 20:46:31 +0000 (21:46 +0100)]
cleanup of gadget handling for Android/non-Android platforms

4 years agoadded touch controls (wipe gestures) for MM game engine on Android
Holger Schemel [Tue, 28 Nov 2017 20:40:14 +0000 (21:40 +0100)]
added touch controls (wipe gestures) for MM game engine on Android

4 years agoadded option 'off' for touch controls (for non-Android platforms)
Holger Schemel [Tue, 28 Nov 2017 08:50:26 +0000 (09:50 +0100)]
added option 'off' for touch controls (for non-Android platforms)

4 years agofixed text output for deactivated anti-aliasing menu option
Holger Schemel [Tue, 28 Nov 2017 08:40:13 +0000 (09:40 +0100)]
fixed text output for deactivated anti-aliasing menu option

4 years agomoved function for processing 'follow finger' controls if no events pending
Holger Schemel [Tue, 28 Nov 2017 08:32:18 +0000 (09:32 +0100)]
moved function for processing 'follow finger' controls if no events pending

4 years agocleanup of function names related to processing (no) pending events
Holger Schemel [Tue, 28 Nov 2017 08:28:50 +0000 (09:28 +0100)]
cleanup of function names related to processing (no) pending events

4 years agoadded support for main menu titles in level and graphics config file
Holger Schemel [Fri, 24 Nov 2017 20:21:19 +0000 (21:21 +0100)]
added support for main menu titles in level and graphics config file

4 years agochanged handling artwork info cache to allow partial (default) entries
Holger Schemel [Fri, 24 Nov 2017 20:12:42 +0000 (21:12 +0100)]
changed handling artwork info cache to allow partial (default) entries

4 years agocompleted game engine snapshot values to save/load for MM game engine
Holger Schemel [Mon, 20 Nov 2017 20:05:28 +0000 (21:05 +0100)]
completed game engine snapshot values to save/load for MM game engine

4 years agofixed bug when loading game engine snapshot values for MM game engine
Holger Schemel [Mon, 20 Nov 2017 20:00:57 +0000 (21:00 +0100)]
fixed bug when loading game engine snapshot values for MM game engine

4 years agofixed setting selected editor tile size for MM style levels after playing
Holger Schemel [Thu, 16 Nov 2017 20:42:41 +0000 (21:42 +0100)]
fixed setting selected editor tile size for MM style levels after playing

4 years agofixed closing door 2 after door 1 when no tape is to be saved after playing
Holger Schemel [Tue, 14 Nov 2017 21:35:29 +0000 (22:35 +0100)]
fixed closing door 2 after door 1 when no tape is to be saved after playing

4 years agofixed stopping game music after running out of time (MM engine)
Holger Schemel [Tue, 14 Nov 2017 08:39:14 +0000 (09:39 +0100)]
fixed stopping game music after running out of time (MM engine)

4 years agorearranged some elements in level editor to match game engines
Holger Schemel [Sat, 11 Nov 2017 20:24:57 +0000 (21:24 +0100)]
rearranged some elements in level editor to match game engines

4 years agoadded options to use artwork and to copy template when creating level set
Holger Schemel [Sat, 11 Nov 2017 19:54:10 +0000 (20:54 +0100)]
added options to use artwork and to copy template when creating level set

4 years agochanged function from static to public
Holger Schemel [Sat, 11 Nov 2017 19:31:57 +0000 (20:31 +0100)]
changed function from static to public

4 years agoadded function to copy file
Holger Schemel [Sat, 11 Nov 2017 19:27:43 +0000 (20:27 +0100)]
added function to copy file

4 years agounified some setup menu titles (and adjusted them for smaller screens)
Holger Schemel [Wed, 8 Nov 2017 21:55:19 +0000 (22:55 +0100)]
unified some setup menu titles (and adjusted them for smaller screens)

4 years agoadded checking for default setup file in global config directory
Holger Schemel [Tue, 7 Nov 2017 22:27:27 +0000 (23:27 +0100)]
added checking for default setup file in global config directory

4 years agorenamed variable
Holger Schemel [Tue, 7 Nov 2017 22:24:32 +0000 (23:24 +0100)]
renamed variable

4 years agomove function for getting program base directory to appropriate source file
Holger Schemel [Tue, 7 Nov 2017 22:19:16 +0000 (23:19 +0100)]
move function for getting program base directory to appropriate source file

4 years agomove check for configured program base directory to appropriate function
Holger Schemel [Tue, 7 Nov 2017 22:14:56 +0000 (23:14 +0100)]
move check for configured program base directory to appropriate function

4 years agoremoved reference to (potentially undefined) global variable from function
Holger Schemel [Tue, 7 Nov 2017 22:08:54 +0000 (23:08 +0100)]
removed reference to (potentially undefined) global variable from function

4 years agoremoved unneeded reference to app bundle directory for Mac OS X
Holger Schemel [Tue, 7 Nov 2017 22:03:08 +0000 (23:03 +0100)]
removed unneeded reference to app bundle directory for Mac OS X

4 years agofixed bug that may lead to free()ing static memory
Holger Schemel [Tue, 7 Nov 2017 21:55:42 +0000 (22:55 +0100)]
fixed bug that may lead to free()ing static memory

4 years agoadded setting correct editor drawing elements (depending on game engine)
Holger Schemel [Mon, 6 Nov 2017 00:21:54 +0000 (01:21 +0100)]
added setting correct editor drawing elements (depending on game engine)

4 years agoadded setting correct default editor tile size (depending on game engine)
Holger Schemel [Mon, 6 Nov 2017 00:01:19 +0000 (01:01 +0100)]
added setting correct default editor tile size (depending on game engine)

4 years agoadded setting correct editor tile size for MM style levels
Holger Schemel [Sun, 5 Nov 2017 23:56:00 +0000 (00:56 +0100)]
added setting correct editor tile size for MM style levels

4 years agoadded editor door 1 animation if viewport is unchanged and contains toolbox
Holger Schemel [Sun, 5 Nov 2017 23:28:27 +0000 (00:28 +0100)]
added editor door 1 animation if viewport is unchanged and contains toolbox

4 years agofixed bug with invisible initial fonts
Holger Schemel [Sun, 5 Nov 2017 17:25:30 +0000 (18:25 +0100)]
fixed bug with invisible initial fonts

- this bug was introduced by the commit with the following message:
  "added support for font definitions with different character offset and size"
  (no commit ID given here due to frequent use of "git rebase")

4 years agofixed bug causing crash when playing levels with 'time orb bug'
Holger Schemel [Sat, 4 Nov 2017 00:20:46 +0000 (01:20 +0100)]
fixed bug causing crash when playing levels with 'time orb bug'

4 years agoadded suppressing border elements in editor for MM style levels
Holger Schemel [Fri, 3 Nov 2017 23:52:59 +0000 (00:52 +0100)]
added suppressing border elements in editor for MM style levels

4 years agoadded options for custom position of editor tooltip (mouse-over info text)
Holger Schemel [Fri, 3 Nov 2017 18:30:55 +0000 (19:30 +0100)]
added options for custom position of editor tooltip (mouse-over info text)

4 years agofixed fading complete screen if playfield viewport has changed
Holger Schemel [Fri, 3 Nov 2017 13:39:54 +0000 (14:39 +0100)]
fixed fading complete screen if playfield viewport has changed

4 years agofixed bug with drawing to default door 2 area while in editor
Holger Schemel [Fri, 3 Nov 2017 13:06:34 +0000 (14:06 +0100)]
fixed bug with drawing to default door 2 area while in editor

4 years agoadded options for post delay for door actions
Holger Schemel [Thu, 2 Nov 2017 00:00:23 +0000 (01:00 +0100)]
added options for post delay for door actions

4 years agoadded support for separate opening/closing sounds for game/tape doors
Holger Schemel [Wed, 1 Nov 2017 23:43:39 +0000 (00:43 +0100)]
added support for separate opening/closing sounds for game/tape doors

4 years agofixed bug with playing level music in main menu when pressing music button
Holger Schemel [Wed, 1 Nov 2017 23:21:49 +0000 (00:21 +0100)]
fixed bug with playing level music in main menu when pressing music button

4 years agoadded game-panel-only buttons for stop/play/pause and sounds (for MM games)
Holger Schemel [Wed, 1 Nov 2017 23:01:52 +0000 (00:01 +0100)]
added game-panel-only buttons for stop/play/pause and sounds (for MM games)

4 years agoadded null pointer check to gadget function
Holger Schemel [Wed, 1 Nov 2017 21:14:44 +0000 (22:14 +0100)]
added null pointer check to gadget function

4 years agoreused unused font definition for text on joystick configuration page
Holger Schemel [Tue, 31 Oct 2017 12:06:58 +0000 (13:06 +0100)]
reused unused font definition for text on joystick configuration page

4 years agocompleted options for vertical text spacing on info and setup screens
Holger Schemel [Tue, 31 Oct 2017 11:49:28 +0000 (12:49 +0100)]
completed options for vertical text spacing on info and setup screens

4 years agoimproved options for vertical text spacing on info and setup screens
Holger Schemel [Mon, 30 Oct 2017 15:22:32 +0000 (16:22 +0100)]
improved options for vertical text spacing on info and setup screens

4 years agoadded missing option for menu draw offset for (empty) title info screen
Holger Schemel [Mon, 30 Oct 2017 09:50:25 +0000 (10:50 +0100)]
added missing option for menu draw offset for (empty) title info screen

4 years agoadded options for vertical text spacing (used on info screens for now)
Holger Schemel [Sat, 21 Oct 2017 23:43:24 +0000 (01:43 +0200)]
added options for vertical text spacing (used on info screens for now)

4 years agofixed (switched) fonts for constant and variable text output
Holger Schemel [Sat, 21 Oct 2017 16:52:47 +0000 (18:52 +0200)]
fixed (switched) fonts for constant and variable text output

4 years agoadded displaying fake version as 'fake' on the version info screen
Holger Schemel [Sat, 21 Oct 2017 16:42:22 +0000 (18:42 +0200)]
added displaying fake version as 'fake' on the version info screen

4 years agoadded support for font definitions with different character offset and size
Holger Schemel [Sat, 21 Oct 2017 14:49:28 +0000 (16:49 +0200)]
added support for font definitions with different character offset and size

4 years agocorrected comment
Holger Schemel [Sat, 21 Oct 2017 14:41:55 +0000 (16:41 +0200)]
corrected comment

4 years agofixed bug that could cause crash when artwork changes editor palette size
Holger Schemel [Sat, 21 Oct 2017 14:36:44 +0000 (16:36 +0200)]
fixed bug that could cause crash when artwork changes editor palette size

4 years agoremoved unused option to set first level of user level sets not to be '1'
Holger Schemel [Tue, 17 Oct 2017 19:42:26 +0000 (21:42 +0200)]
removed unused option to set first level of user level sets not to be '1'

4 years agofixed bug with new user level sets (first level should always be '1')
Holger Schemel [Tue, 17 Oct 2017 19:34:42 +0000 (21:34 +0200)]
fixed bug with new user level sets (first level should always be '1')

4 years agofixed small bug with (unused) bad path in level info tree top node
Holger Schemel [Tue, 17 Oct 2017 19:32:32 +0000 (21:32 +0200)]
fixed small bug with (unused) bad path in level info tree top node

4 years agoadded loading newly created user level set after it was created in editor
Holger Schemel [Tue, 17 Oct 2017 19:27:18 +0000 (21:27 +0200)]
added loading newly created user level set after it was created in editor

4 years agoadded updating internal level directory tree when changing user level set
Holger Schemel [Tue, 17 Oct 2017 16:57:55 +0000 (18:57 +0200)]
added updating internal level directory tree when changing user level set

4 years agosmall change to tidy up level info files
Holger Schemel [Tue, 17 Oct 2017 16:48:27 +0000 (18:48 +0200)]
small change to tidy up level info files

4 years agofixed updating user level set fields (more generic approach)
Holger Schemel [Tue, 17 Oct 2017 16:43:57 +0000 (18:43 +0200)]
fixed updating user level set fields (more generic approach)

4 years agoadded function to get existing or new user level set
Holger Schemel [Tue, 17 Oct 2017 16:39:20 +0000 (18:39 +0200)]
added function to get existing or new user level set

4 years agoadded updating metadata for current level set and creating new level sets
Holger Schemel [Sun, 15 Oct 2017 19:38:47 +0000 (21:38 +0200)]
added updating metadata for current level set and creating new level sets

4 years agoreplaced duplicate code for updating user level set with function call
Holger Schemel [Sun, 15 Oct 2017 19:06:29 +0000 (21:06 +0200)]
replaced duplicate code for updating user level set with function call

4 years agoadded functions for creating and updating user level sets
Holger Schemel [Sun, 15 Oct 2017 19:01:21 +0000 (21:01 +0200)]
added functions for creating and updating user level sets

4 years agoadded fields 'sort_priority' and 'readonly' when saving user level sets
Holger Schemel [Sun, 15 Oct 2017 18:51:32 +0000 (20:51 +0200)]
added fields 'sort_priority' and 'readonly' when saving user level sets

4 years agomoved two functions to different position in source file
Holger Schemel [Sun, 15 Oct 2017 18:38:10 +0000 (20:38 +0200)]
moved two functions to different position in source file

4 years agominor whitespace change
Holger Schemel [Sun, 15 Oct 2017 18:33:15 +0000 (20:33 +0200)]
minor whitespace change

4 years agoadded support for text above selectboxes (but not using it yet)
Holger Schemel [Sun, 15 Oct 2017 17:43:36 +0000 (19:43 +0200)]
added support for text above selectboxes (but not using it yet)

4 years agofixed bug with showing DC2 game elements when using EM/EMC engine
Holger Schemel [Wed, 11 Oct 2017 18:08:44 +0000 (20:08 +0200)]
fixed bug with showing DC2 game elements when using EM/EMC engine

4 years agoadded source files for MM engine to Android Makefile
Holger Schemel [Wed, 14 Jun 2017 19:26:14 +0000 (21:26 +0200)]
added source files for MM engine to Android Makefile