rocksndiamonds.git
5 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

5 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

5 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)

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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)

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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)

5 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

5 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

5 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

5 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

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

5 years agoversion number set to 4.0.0.0 RC1 4.0.0.0-rc1
Holger Schemel [Thu, 14 Apr 2016 23:01:03 +0000 (01:01 +0200)]
version number set to 4.0.0.0 RC1

5 years agochanged year in copyright string to '2016'
Holger Schemel [Thu, 14 Apr 2016 21:28:12 +0000 (23:28 +0200)]
changed year in copyright string to '2016'

5 years agoadded support for separate animations for 'main only' and 'type name' screen
Holger Schemel [Thu, 14 Apr 2016 19:25:46 +0000 (21:25 +0200)]
added support for separate animations for 'main only' and 'type name' screen

5 years agofixed bug with (soundless) classic toons playing wrong default sound
Holger Schemel [Thu, 14 Apr 2016 17:26:02 +0000 (19:26 +0200)]
fixed bug with (soundless) classic toons playing wrong default sound

5 years agochanged global animation sounds to stop before post delay
Holger Schemel [Wed, 13 Apr 2016 19:10:51 +0000 (21:10 +0200)]
changed global animation sounds to stop before post delay

5 years agofade sounds and music for main menu when entering other screen or menu
Holger Schemel [Wed, 13 Apr 2016 18:56:55 +0000 (20:56 +0200)]
fade sounds and music for main menu when entering other screen or menu

5 years agoadded sound support for global animations
Holger Schemel [Tue, 12 Apr 2016 21:44:39 +0000 (23:44 +0200)]
added sound support for global animations

5 years agochanged sound handling to only expire loop sounds during gameplay
Holger Schemel [Sun, 10 Apr 2016 22:00:08 +0000 (00:00 +0200)]
changed sound handling to only expire loop sounds during gameplay

5 years agoadded missing sound and music definitions for level number selection screen
Holger Schemel [Sun, 10 Apr 2016 21:36:23 +0000 (23:36 +0200)]
added missing sound and music definitions for level number selection screen

5 years agoadded support for separate animations for single title screens
Holger Schemel [Sat, 9 Apr 2016 00:34:16 +0000 (02:34 +0200)]
added support for separate animations for single title screens

5 years agocleanup of setting/resetting game status to control text font usage
Holger Schemel [Sat, 9 Apr 2016 00:28:51 +0000 (02:28 +0200)]
cleanup of setting/resetting game status to control text font usage

5 years agoadded handling of 'anim'/'post' delay for finished moving animations
Holger Schemel [Fri, 8 Apr 2016 17:47:06 +0000 (19:47 +0200)]
added handling of 'anim'/'post' delay for finished moving animations

5 years agoadded playing default (main) animation while animation parts are pausing
Holger Schemel [Wed, 6 Apr 2016 20:41:21 +0000 (22:41 +0200)]
added playing default (main) animation while animation parts are pausing

5 years agoadded using narrow fonts for setup values on setup screens with scrollbar
Holger Schemel [Tue, 5 Apr 2016 21:09:45 +0000 (23:09 +0200)]
added using narrow fonts for setup values on setup screens with scrollbar

5 years agoadded screen rendering mode to be configurable via setup menu
Holger Schemel [Tue, 5 Apr 2016 17:35:07 +0000 (19:35 +0200)]
added screen rendering mode to be configurable via setup menu

5 years agochanged screen rendering mode from preprocessor to runtime configurable
Holger Schemel [Sun, 3 Apr 2016 11:16:48 +0000 (13:16 +0200)]
changed screen rendering mode from preprocessor to runtime configurable

5 years agofixed wrong screen text and comments for scroll delay in setup menu
Holger Schemel [Sat, 2 Apr 2016 18:36:53 +0000 (20:36 +0200)]
fixed wrong screen text and comments for scroll delay in setup menu

5 years agomoved redundant code to new function
Holger Schemel [Sat, 2 Apr 2016 17:50:35 +0000 (19:50 +0200)]
moved redundant code to new function

5 years agoremoved redundant code (again)
Holger Schemel [Sat, 2 Apr 2016 17:38:23 +0000 (19:38 +0200)]
removed redundant code (again)

5 years agoremoved some global variables from function parameters
Holger Schemel [Sat, 2 Apr 2016 09:48:03 +0000 (11:48 +0200)]
removed some global variables from function parameters

5 years agocleanup of screen initialization code
Holger Schemel [Sat, 2 Apr 2016 09:38:11 +0000 (11:38 +0200)]
cleanup of screen initialization code

5 years agofixed (reactivated) global animations (toons) for SDL 1.2 target
Holger Schemel [Sat, 2 Apr 2016 08:17:39 +0000 (10:17 +0200)]
fixed (reactivated) global animations (toons) for SDL 1.2 target

5 years agofixed bug with drawing animations with negative or zero width/height
Holger Schemel [Sat, 2 Apr 2016 08:13:39 +0000 (10:13 +0200)]
fixed bug with drawing animations with negative or zero width/height

5 years agocleanup of warning messages if setting up SDL 1.2 video mode failed
Holger Schemel [Fri, 1 Apr 2016 15:29:18 +0000 (17:29 +0200)]
cleanup of warning messages if setting up SDL 1.2 video mode failed

5 years agoremoved redundant code
Holger Schemel [Thu, 31 Mar 2016 22:45:16 +0000 (00:45 +0200)]
removed redundant code

5 years agoremoved support for 'real' (non-desktop) fullscreen mode for all targets
Holger Schemel [Thu, 31 Mar 2016 22:35:59 +0000 (00:35 +0200)]
removed support for 'real' (non-desktop) fullscreen mode for all targets

5 years agoremoved unused (obsolete) option to specify X11 server display
Holger Schemel [Thu, 31 Mar 2016 18:37:15 +0000 (20:37 +0200)]
removed unused (obsolete) option to specify X11 server display

5 years agoremoved support for 'real' (non-desktop) fullscreen mode for SDL2 target
Holger Schemel [Thu, 31 Mar 2016 18:23:01 +0000 (20:23 +0200)]
removed support for 'real' (non-desktop) fullscreen mode for SDL2 target

5 years agoremoved support for non-renderer graphics for SDL2 target
Holger Schemel [Thu, 31 Mar 2016 17:55:16 +0000 (19:55 +0200)]
removed support for non-renderer graphics for SDL2 target

5 years agoadded target texture rendering to suppress scaling artifacts of animations
Holger Schemel [Thu, 31 Mar 2016 17:16:24 +0000 (19:16 +0200)]
added target texture rendering to suppress scaling artifacts of animations

5 years agoadded support for '.draw_order' for global animations
Holger Schemel [Fri, 25 Mar 2016 12:23:57 +0000 (13:23 +0100)]
added support for '.draw_order' for global animations

5 years agoimproved robustness of function for drawing global borders
Holger Schemel [Tue, 22 Mar 2016 09:29:38 +0000 (10:29 +0100)]
improved robustness of function for drawing global borders

5 years agofixed bugs when drawing global borders when fading screens
Holger Schemel [Tue, 22 Mar 2016 09:24:18 +0000 (10:24 +0100)]
fixed bugs when drawing global borders when fading screens

5 years agoadded drawing global borders when fading screens
Holger Schemel [Tue, 22 Mar 2016 09:21:58 +0000 (10:21 +0100)]
added drawing global borders when fading screens

5 years agochanged drawing of global borders to more generic approach (again)
Holger Schemel [Tue, 22 Mar 2016 09:15:43 +0000 (10:15 +0100)]
changed drawing of global borders to more generic approach (again)

5 years agochanged getting global border from game status to more generic approach
Holger Schemel [Tue, 22 Mar 2016 09:07:02 +0000 (10:07 +0100)]
changed getting global border from game status to more generic approach

5 years agocleanup of state changes before/after fading in/out (more generic approach)
Holger Schemel [Tue, 22 Mar 2016 09:01:51 +0000 (10:01 +0100)]
cleanup of state changes before/after fading in/out (more generic approach)

5 years agochanged drawing of global borders to more generic approach
Holger Schemel [Tue, 22 Mar 2016 08:55:28 +0000 (09:55 +0100)]
changed drawing of global borders to more generic approach

5 years agocleanup of fade bitmap handling (after screen size changes)
Holger Schemel [Tue, 22 Mar 2016 08:36:02 +0000 (09:36 +0100)]
cleanup of fade bitmap handling (after screen size changes)

5 years agochanged closing doors before fading screens when leaving level editor
Holger Schemel [Mon, 21 Mar 2016 08:08:12 +0000 (09:08 +0100)]
changed closing doors before fading screens when leaving level editor

5 years agofixed forced screen redraw in every frame (again)
Holger Schemel [Sun, 20 Mar 2016 15:22:54 +0000 (16:22 +0100)]
fixed forced screen redraw in every frame (again)

5 years agochanged main screen to initially start with closed upper door
Holger Schemel [Sun, 20 Mar 2016 15:10:43 +0000 (16:10 +0100)]
changed main screen to initially start with closed upper door

5 years agofixed order of some drawing operations to be related to correct screen
Holger Schemel [Sun, 20 Mar 2016 15:01:31 +0000 (16:01 +0100)]
fixed order of some drawing operations to be related to correct screen

5 years agofixed bug with drawing masked borders for off-screen viewports
Holger Schemel [Sat, 19 Mar 2016 21:18:18 +0000 (22:18 +0100)]
fixed bug with drawing masked borders for off-screen viewports

5 years agofixed wrong screen transitions by forced screen redraw in every frame
Holger Schemel [Sat, 19 Mar 2016 18:46:46 +0000 (19:46 +0100)]
fixed wrong screen transitions by forced screen redraw in every frame

5 years agoupdated border graphic to show current year
Holger Schemel [Sat, 19 Mar 2016 15:44:41 +0000 (16:44 +0100)]
updated border graphic to show current year

5 years agocode cleanup of main event loop
Holger Schemel [Sat, 19 Mar 2016 15:19:07 +0000 (16:19 +0100)]
code cleanup of main event loop

5 years agoadded frame time debugging (deactivated)
Holger Schemel [Sat, 19 Mar 2016 14:29:11 +0000 (15:29 +0100)]
added frame time debugging (deactivated)

5 years agoimproved synchronization of main game loop
Holger Schemel [Sat, 19 Mar 2016 14:24:20 +0000 (15:24 +0100)]
improved synchronization of main game loop

5 years agoadded support for alpha channel transparency for global animation images
Holger Schemel [Thu, 10 Mar 2016 23:18:44 +0000 (00:18 +0100)]
added support for alpha channel transparency for global animation images

5 years agofixed new animation mode (modifier) 'once' for global animations
Holger Schemel [Thu, 10 Mar 2016 16:19:52 +0000 (17:19 +0100)]
fixed new animation mode (modifier) 'once' for global animations

5 years agofixed graphical responsiveness of gadgets (mainly in editor)
Holger Schemel [Wed, 9 Mar 2016 20:56:07 +0000 (21:56 +0100)]
fixed graphical responsiveness of gadgets (mainly in editor)

5 years agoadded new animation mode (modifier) 'once' for global animations
Holger Schemel [Wed, 9 Mar 2016 20:14:56 +0000 (21:14 +0100)]
added new animation mode (modifier) 'once' for global animations

5 years agoadded initial window size to default program config (using <program>.conf)
Holger Schemel [Tue, 8 Mar 2016 23:30:30 +0000 (00:30 +0100)]
added initial window size to default program config (using <program>.conf)

5 years agoreduced minimum required screen frame rate at startup (for speed-up)
Holger Schemel [Tue, 8 Mar 2016 12:14:10 +0000 (13:14 +0100)]
reduced minimum required screen frame rate at startup (for speed-up)

5 years agoforced screen redraw in every frame to continue drawing global animations
Holger Schemel [Tue, 8 Mar 2016 12:01:56 +0000 (13:01 +0100)]
forced screen redraw in every frame to continue drawing global animations

5 years agoadjusted title screen handling, fixing screen border redraw bug on start
Holger Schemel [Tue, 8 Mar 2016 11:58:17 +0000 (12:58 +0100)]
adjusted title screen handling, fixing screen border redraw bug on start

5 years agosmall fix of variable initialization on program startup
Holger Schemel [Tue, 8 Mar 2016 11:54:05 +0000 (12:54 +0100)]
small fix of variable initialization on program startup

5 years agofixed screen specific global animations to stop when fading screens
Holger Schemel [Mon, 7 Mar 2016 22:27:38 +0000 (23:27 +0100)]
fixed screen specific global animations to stop when fading screens

5 years agoadded special screen mode group '.SUBMENU' for global animations
Holger Schemel [Sun, 6 Mar 2016 23:51:16 +0000 (00:51 +0100)]
added special screen mode group '.SUBMENU' for global animations

5 years agochanged screen specific global animations to stop when fading screens
Holger Schemel [Sun, 6 Mar 2016 23:15:23 +0000 (00:15 +0100)]
changed screen specific global animations to stop when fading screens