rocksndiamonds.git
7 years agofixed converting surfaces with alpha channel for SDL 1.2
Holger Schemel [Mon, 27 Jun 2016 23:36:58 +0000 (01:36 +0200)]
fixed converting surfaces with alpha channel for SDL 1.2

7 years agoreplaced SDL/SDL2 specific alpha blending by newly introduced abstractions
Holger Schemel [Mon, 27 Jun 2016 23:31:44 +0000 (01:31 +0200)]
replaced SDL/SDL2 specific alpha blending by newly introduced abstractions

7 years agoadded abstractions for alpha blending and color key handling for SDL/SDL2
Holger Schemel [Mon, 27 Jun 2016 23:27:08 +0000 (01:27 +0200)]
added abstractions for alpha blending and color key handling for SDL/SDL2

7 years agochanged setting native surface to use internal conversion function (SDL1)
Holger Schemel [Mon, 27 Jun 2016 05:20:08 +0000 (07:20 +0200)]
changed setting native surface to use internal conversion function (SDL1)

7 years agochanged setting native surface to use internal conversion function (SDL2)
Holger Schemel [Mon, 27 Jun 2016 05:17:55 +0000 (07:17 +0200)]
changed setting native surface to use internal conversion function (SDL2)

7 years agochanged pixel format check to ignore alpha channel
Holger Schemel [Mon, 27 Jun 2016 05:15:57 +0000 (07:15 +0200)]
changed pixel format check to ignore alpha channel

7 years agoadded output of command-line level conversion to standard output log file
Holger Schemel [Fri, 24 Jun 2016 18:45:08 +0000 (20:45 +0200)]
added output of command-line level conversion to standard output log file

7 years agoadded output of automatic tape playing to standard output log file
Holger Schemel [Fri, 24 Jun 2016 18:35:11 +0000 (20:35 +0200)]
added output of automatic tape playing to standard output log file

7 years agofixed and extended auto-replay modes from command line
Holger Schemel [Fri, 24 Jun 2016 18:25:30 +0000 (20:25 +0200)]
fixed and extended auto-replay modes from command line

7 years agoversion number set to 4.0.0.0 RC3 4.0.0.0-rc3
Holger Schemel [Wed, 22 Jun 2016 19:31:41 +0000 (21:31 +0200)]
version number set to 4.0.0.0 RC3

7 years agoadded scrolling any scrollbars under the mouse pointer with mouse wheel
Holger Schemel [Fri, 17 Jun 2016 18:34:34 +0000 (20:34 +0200)]
added scrolling any scrollbars under the mouse pointer with mouse wheel

7 years agoadded recognizing keypad keys +/-/0 as window scaling key shortcuts
Holger Schemel [Thu, 16 Jun 2016 22:21:50 +0000 (00:21 +0200)]
added recognizing keypad keys +/-/0 as window scaling key shortcuts

7 years agofixed handling of modifier keys for debug key shortcuts
Holger Schemel [Thu, 16 Jun 2016 21:51:37 +0000 (23:51 +0200)]
fixed handling of modifier keys for debug key shortcuts

7 years agoadded debug key handling to request dialog event loop
Holger Schemel [Tue, 14 Jun 2016 21:41:12 +0000 (23:41 +0200)]
added debug key handling to request dialog event loop

7 years agomoved key event handling for debug keys to separate function
Holger Schemel [Tue, 14 Jun 2016 21:38:19 +0000 (23:38 +0200)]
moved key event handling for debug keys to separate function

7 years agosmall fix to prevent compiler warning
Holger Schemel [Tue, 14 Jun 2016 11:21:01 +0000 (13:21 +0200)]
small fix to prevent compiler warning

7 years agosmall fix to prevent compiler warning
Holger Schemel [Tue, 14 Jun 2016 11:15:24 +0000 (13:15 +0200)]
small fix to prevent compiler warning

7 years agofixed problem with mixed use of game pause and tape pause buttons
Holger Schemel [Tue, 14 Jun 2016 09:33:41 +0000 (11:33 +0200)]
fixed problem with mixed use of game pause and tape pause buttons

7 years agochanged behaviour of key shortcut to start/pause/continue game
Holger Schemel [Tue, 14 Jun 2016 09:14:07 +0000 (11:14 +0200)]
changed behaviour of key shortcut to start/pause/continue game

7 years agoadded mouse wheel support also for SDL2 target
Holger Schemel [Tue, 14 Jun 2016 00:18:48 +0000 (02:18 +0200)]
added mouse wheel support also for SDL2 target

7 years agoremoved debug key shortcut to enable/disable Supaplex border elements
Holger Schemel [Mon, 13 Jun 2016 22:45:43 +0000 (00:45 +0200)]
removed debug key shortcut to enable/disable Supaplex border elements

7 years agoadded configurable debug key shortcuts for changing game/menu frame rate
Holger Schemel [Mon, 13 Jun 2016 22:27:58 +0000 (00:27 +0200)]
added configurable debug key shortcuts for changing game/menu frame rate

7 years agoadded easier accessible shortcuts for scaling up or zoom in on US keyboards
Holger Schemel [Sun, 12 Jun 2016 12:39:35 +0000 (14:39 +0200)]
added easier accessible shortcuts for scaling up or zoom in on US keyboards

7 years agoadded gadget key for editor zoom button handling (functionally not needed)
Holger Schemel [Sun, 12 Jun 2016 12:27:45 +0000 (14:27 +0200)]
added gadget key for editor zoom button handling (functionally not needed)

7 years agoadded setup value for maximum allowed engine snapshot memory usage
Holger Schemel [Sun, 12 Jun 2016 12:00:23 +0000 (14:00 +0200)]
added setup value for maximum allowed engine snapshot memory usage

7 years agoadded automatic memory usage limitation to engine snapshot management
Holger Schemel [Fri, 10 Jun 2016 07:14:24 +0000 (09:14 +0200)]
added automatic memory usage limitation to engine snapshot management

7 years agofixed bugs that happen under certain conditions when deleting list node
Holger Schemel [Thu, 9 Jun 2016 19:18:38 +0000 (21:18 +0200)]
fixed bugs that happen under certain conditions when deleting list node

7 years agoadded missing recording modes to tape recorder display state function
Holger Schemel [Tue, 7 Jun 2016 12:30:06 +0000 (14:30 +0200)]
added missing recording modes to tape recorder display state function

7 years agofixed bug with re-mapping snapshot buttons after pause
Holger Schemel [Tue, 7 Jun 2016 12:13:01 +0000 (14:13 +0200)]
fixed bug with re-mapping snapshot buttons after pause

7 years agosmall change for setting background image
Holger Schemel [Fri, 3 Jun 2016 17:42:56 +0000 (19:42 +0200)]
small change for setting background image

7 years agofixed bug with wrong high score list width when using font draw offsets
Holger Schemel [Fri, 3 Jun 2016 17:04:31 +0000 (19:04 +0200)]
fixed bug with wrong high score list width when using font draw offsets

7 years agofixed changing viewport properties not before fading out last screen (more)
Holger Schemel [Thu, 2 Jun 2016 18:02:57 +0000 (20:02 +0200)]
fixed changing viewport properties not before fading out last screen (more)

7 years agominor code cleanup
Holger Schemel [Thu, 2 Jun 2016 06:51:41 +0000 (08:51 +0200)]
minor code cleanup

7 years agochanged tape recorder logic to separate speed and 'pause before end'
Holger Schemel [Thu, 2 Jun 2016 06:49:00 +0000 (08:49 +0200)]
changed tape recorder logic to separate speed and 'pause before end'

7 years agocleanup of tape recorder warp start/stop handling
Holger Schemel [Thu, 2 Jun 2016 06:43:58 +0000 (08:43 +0200)]
cleanup of tape recorder warp start/stop handling

7 years agochanged updating tape recorder display more generically
Holger Schemel [Thu, 2 Jun 2016 06:30:31 +0000 (08:30 +0200)]
changed updating tape recorder display more generically

7 years agocleanup of tape recorder display activation/deactivation
Holger Schemel [Thu, 2 Jun 2016 06:23:52 +0000 (08:23 +0200)]
cleanup of tape recorder display activation/deactivation

7 years agosmall move of code block
Holger Schemel [Thu, 2 Jun 2016 06:04:57 +0000 (08:04 +0200)]
small move of code block

7 years agosmall move of code block
Holger Schemel [Thu, 2 Jun 2016 06:02:14 +0000 (08:02 +0200)]
small move of code block

7 years agoadded function to draw tape recorder play state
Holger Schemel [Thu, 2 Jun 2016 05:59:16 +0000 (07:59 +0200)]
added function to draw tape recorder play state

7 years agochanged tape control graphic positions to prepare for new tape logic
Holger Schemel [Thu, 2 Jun 2016 05:36:44 +0000 (07:36 +0200)]
changed tape control graphic positions to prepare for new tape logic

7 years agoadded missing definitions
Holger Schemel [Thu, 2 Jun 2016 05:26:48 +0000 (07:26 +0200)]
added missing definitions

7 years agoremoved unused definitions
Holger Schemel [Thu, 2 Jun 2016 05:25:00 +0000 (07:25 +0200)]
removed unused definitions

7 years agochanged order of tape controls
Holger Schemel [Thu, 2 Jun 2016 05:15:12 +0000 (07:15 +0200)]
changed order of tape controls

7 years agorenamed variable
Holger Schemel [Thu, 2 Jun 2016 05:05:21 +0000 (07:05 +0200)]
renamed variable

7 years agofixed 'skip next fade' logic for cross-fading buffers
Holger Schemel [Tue, 31 May 2016 19:54:54 +0000 (21:54 +0200)]
fixed 'skip next fade' logic for cross-fading buffers

7 years agochanged function for re-creating bitmaps to always use default depth
Holger Schemel [Tue, 31 May 2016 18:55:05 +0000 (20:55 +0200)]
changed function for re-creating bitmaps to always use default depth

7 years agofixed changing viewport properties not before fading out last screen
Holger Schemel [Tue, 31 May 2016 18:42:05 +0000 (20:42 +0200)]
fixed changing viewport properties not before fading out last screen

7 years agofixed re-creating window-sized buffers only if window size has changed
Holger Schemel [Tue, 31 May 2016 18:28:17 +0000 (20:28 +0200)]
fixed re-creating window-sized buffers only if window size has changed

7 years agoremoved unneeded tape recorder display update
Holger Schemel [Tue, 31 May 2016 10:29:52 +0000 (12:29 +0200)]
removed unneeded tape recorder display update

7 years agofixed small tape recorder state display bug
Holger Schemel [Tue, 31 May 2016 10:22:13 +0000 (12:22 +0200)]
fixed small tape recorder state display bug

7 years agocleanup of tape recorder state handling
Holger Schemel [Tue, 31 May 2016 10:12:40 +0000 (12:12 +0200)]
cleanup of tape recorder state handling

7 years agosmall cleanup for drawing tape recorder labels and symbols only
Holger Schemel [Tue, 31 May 2016 09:41:05 +0000 (11:41 +0200)]
small cleanup for drawing tape recorder labels and symbols only

7 years agofixed some tape recorder display update problems
Holger Schemel [Tue, 31 May 2016 09:35:12 +0000 (11:35 +0200)]
fixed some tape recorder display update problems

7 years agofixed small bug with wrong video state definition
Holger Schemel [Tue, 31 May 2016 08:51:21 +0000 (10:51 +0200)]
fixed small bug with wrong video state definition

7 years agofixed screen redraw if fading area differs from redraw area (again)
Holger Schemel [Mon, 30 May 2016 22:48:30 +0000 (00:48 +0200)]
fixed screen redraw if fading area differs from redraw area (again)

7 years agoimproved tape button logic (mainly warp modes) of the tape recorder
Holger Schemel [Mon, 30 May 2016 21:56:03 +0000 (23:56 +0200)]
improved tape button logic (mainly warp modes) of the tape recorder

7 years agofixed screen redraw if fading area differs from redraw area
Holger Schemel [Mon, 30 May 2016 00:01:31 +0000 (02:01 +0200)]
fixed screen redraw if fading area differs from redraw area

7 years agofixed removing potential multiple screen redraw in the same video frame
Holger Schemel [Sun, 29 May 2016 23:43:46 +0000 (01:43 +0200)]
fixed removing potential multiple screen redraw in the same video frame

7 years agofixed redrawing playfield and doors when drawing playfield is deactivated
Holger Schemel [Sun, 29 May 2016 23:19:03 +0000 (01:19 +0200)]
fixed redrawing playfield and doors when drawing playfield is deactivated

7 years agoremoved potential multiple screen redraw in the same video frame
Holger Schemel [Sun, 29 May 2016 23:16:11 +0000 (01:16 +0200)]
removed potential multiple screen redraw in the same video frame

7 years agoremoved forcing next screen redraw after handling global animations
Holger Schemel [Sun, 29 May 2016 23:11:43 +0000 (01:11 +0200)]
removed forcing next screen redraw after handling global animations

7 years agorenamed variables which changed their meaning after recent changes
Holger Schemel [Wed, 25 May 2016 19:55:33 +0000 (21:55 +0200)]
renamed variables which changed their meaning after recent changes

7 years agoremoved using cross-fading buffer (not needed anymore after recent changes)
Holger Schemel [Wed, 25 May 2016 19:36:30 +0000 (21:36 +0200)]
removed using cross-fading buffer (not needed anymore after recent changes)

7 years agoadded also fading in/out global animations to be started/stopped
Holger Schemel [Wed, 25 May 2016 19:13:13 +0000 (21:13 +0200)]
added also fading in/out global animations to be started/stopped

7 years agofixed global animations from moving again immediately after being started
Holger Schemel [Tue, 24 May 2016 00:11:43 +0000 (02:11 +0200)]
fixed global animations from moving again immediately after being started

7 years agoprepared global animation functions to store animation start/stop actions
Holger Schemel [Tue, 24 May 2016 00:03:39 +0000 (02:03 +0200)]
prepared global animation functions to store animation start/stop actions

7 years agoprepared global animation functions to update different screen buffers
Holger Schemel [Mon, 23 May 2016 23:49:03 +0000 (01:49 +0200)]
prepared global animation functions to update different screen buffers

7 years agofixed doing global animation stuff when it is disabled in setup menu
Holger Schemel [Mon, 23 May 2016 23:33:16 +0000 (01:33 +0200)]
fixed doing global animation stuff when it is disabled in setup menu

7 years agoadded value to constants for global animations control
Holger Schemel [Mon, 23 May 2016 23:17:23 +0000 (01:17 +0200)]
added value to constants for global animations control

7 years agochanged names of constants for different drawing targets
Holger Schemel [Wed, 11 May 2016 19:05:32 +0000 (21:05 +0200)]
changed names of constants for different drawing targets

7 years agoadded music support for global animations
Holger Schemel [Tue, 10 May 2016 22:11:21 +0000 (00:11 +0200)]
added music support for global animations

7 years agofixed default screen fading for the first title screen
Holger Schemel [Mon, 9 May 2016 21:10:32 +0000 (23:10 +0200)]
fixed default screen fading for the first title screen

7 years agoversion number set to 4.0.0.0 RC2 4.0.0.0-rc2
Holger Schemel [Sun, 1 May 2016 19:31:00 +0000 (21:31 +0200)]
version number set to 4.0.0.0 RC2

7 years agoremoved 'target texture only' rendering mode from non-debug builds
Holger Schemel [Thu, 28 Apr 2016 14:55:12 +0000 (16:55 +0200)]
removed 'target texture only' rendering mode from non-debug builds

7 years agoadded support for meta/windows/command key for window scaling shortcuts
Holger Schemel [Wed, 27 Apr 2016 22:14:18 +0000 (00:14 +0200)]
added support for meta/windows/command key for window scaling shortcuts

7 years agochanged playing music to prevent 'plop' sound for certain music files
Holger Schemel [Tue, 26 Apr 2016 19:25:59 +0000 (21:25 +0200)]
changed playing music to prevent 'plop' sound for certain music files

7 years agorenamed and cleaned up source files for handling global animations
Holger Schemel [Mon, 25 Apr 2016 17:32:04 +0000 (19:32 +0200)]
renamed and cleaned up source files for handling global animations

7 years agoremoved obsolete toon animation code (done by global animations now)
Holger Schemel [Sun, 24 Apr 2016 19:04:51 +0000 (21:04 +0200)]
removed obsolete toon animation code (done by global animations now)

7 years agoadded check if rendering to target texture is supported for SDL2
Holger Schemel [Sun, 24 Apr 2016 18:37:16 +0000 (20:37 +0200)]
added check if rendering to target texture is supported for SDL2

7 years agoremoved empty (obsolete) functions to init/do/stop toon animations
Holger Schemel [Fri, 22 Apr 2016 19:37:53 +0000 (21:37 +0200)]
removed empty (obsolete) functions to init/do/stop toon animations

7 years agofixed using unsupported rendering mode from config file with SDL1 target
Holger Schemel [Fri, 22 Apr 2016 17:48:44 +0000 (19:48 +0200)]
fixed using unsupported rendering mode from config file with SDL1 target

7 years agoremoved unused variables
Holger Schemel [Fri, 22 Apr 2016 17:33:20 +0000 (19:33 +0200)]
removed unused variables

7 years agosmall fix to prevent compilation warning for SDL1 target
Holger Schemel [Fri, 22 Apr 2016 17:30:03 +0000 (19:30 +0200)]
small fix to prevent compilation warning for SDL1 target

7 years agochanged maximum window size to 400% of unscaled window size
Holger Schemel [Thu, 21 Apr 2016 23:41:48 +0000 (01:41 +0200)]
changed maximum window size to 400% of unscaled window size

7 years agofixed setting effective window scaling value in window title
Holger Schemel [Thu, 21 Apr 2016 22:54:25 +0000 (00:54 +0200)]
fixed setting effective window scaling value in window title

7 years agoremoved unneeded additional screen redraws when window gets resized
Holger Schemel [Thu, 21 Apr 2016 22:53:11 +0000 (00:53 +0200)]
removed unneeded additional screen redraws when window gets resized

7 years agofixed setting effective window scaling value when window gets resized
Holger Schemel [Thu, 21 Apr 2016 22:50:26 +0000 (00:50 +0200)]
fixed setting effective window scaling value when window gets resized

7 years agofixed bug with window scaling selection list not updated by window resize
Holger Schemel [Thu, 21 Apr 2016 22:47:37 +0000 (00:47 +0200)]
fixed bug with window scaling selection list not updated by window resize

7 years agochanged minimum window size to 30% of unscaled window size
Holger Schemel [Thu, 21 Apr 2016 22:46:22 +0000 (00:46 +0200)]
changed minimum window size to 30% of unscaled window size

7 years agochanged screen update function name to be explicit regarding build-in delay
Holger Schemel [Thu, 21 Apr 2016 22:43:29 +0000 (00:43 +0200)]
changed screen update function name to be explicit regarding build-in delay

7 years agofixed title screen sound handling to not also stop title animation sounds
Holger Schemel [Thu, 21 Apr 2016 18:00:40 +0000 (20:00 +0200)]
fixed title screen sound handling to not also stop title animation sounds

7 years agofixed custom graphics for dragon flames not being correctly scaled up/down
Holger Schemel [Thu, 21 Apr 2016 17:53:05 +0000 (19:53 +0200)]
fixed custom graphics for dragon flames not being correctly scaled up/down

7 years agominor whitespace change
Holger Schemel [Thu, 21 Apr 2016 12:45:58 +0000 (14:45 +0200)]
minor whitespace change

8 years agomoved video frame synchronization to single location (screen update)
Holger Schemel [Tue, 19 Apr 2016 22:16:28 +0000 (00:16 +0200)]
moved video frame synchronization to single location (screen update)

8 years agoadded generic solution for naming conventions of extra graphic definitions
Holger Schemel [Mon, 18 Apr 2016 21:21:49 +0000 (23:21 +0200)]
added generic solution for naming conventions of extra graphic definitions

8 years agofixed bug with changing hash while iterating over it
Holger Schemel [Mon, 18 Apr 2016 21:17:02 +0000 (23:17 +0200)]
fixed bug with changing hash while iterating over it

8 years agofixed using narrow fonts for setup values on setup screens with scrollbar
Holger Schemel [Fri, 15 Apr 2016 18:36:17 +0000 (20:36 +0200)]
fixed using narrow fonts for setup values on setup screens with scrollbar

8 years agofixed repeatedly toggling fullscreen mode by repeated 'key press' events
Holger Schemel [Fri, 15 Apr 2016 18:08:24 +0000 (20:08 +0200)]
fixed repeatedly toggling fullscreen mode by repeated 'key press' events

8 years agoMerge branch 'global-anims'
Holger Schemel [Fri, 15 Apr 2016 17:51:59 +0000 (19:51 +0200)]
Merge branch 'global-anims'