Added Cutscene and Minimal Cutscene themes from After the Storm
These were added with permission from shadowm, and were copied verbatim save for a small tweak to the position of the menu button in the cutscene theme to get rid of the 3 pixel offset on the left which had been corrected a few releases back in the default theme.
This commit is contained in:
parent
8128093f61
commit
01e3aaf97d
4 changed files with 146 additions and 1 deletions
|
@ -63,12 +63,13 @@ Version 1.13.7+dev:
|
|||
* Fixed bug that allows you to use the minimap to bypass view locking
|
||||
* You can now change the theme (in preferences) while a game is in progress.
|
||||
* Fixed units moving after in game help exit. (#24644)
|
||||
* Fixed a bug that caused rapid announce messages to overlap eachother. (bug #21634)
|
||||
* Fixed a bug that caused rapid announce messages to overlap each other. (bug #21634)
|
||||
* Fix buttons disappearing while menus are open.
|
||||
* Fix map labels disappearing when a dialog is open.
|
||||
* Improve tooltip placement.
|
||||
* Move recruit/recall to top of context menu
|
||||
* Add a hotkey to launch test scenarios from the titlescreen
|
||||
* Added a Cutscene and Minimal Cutscene theme for UMC authors to use.
|
||||
* WML Engine:
|
||||
* Add base_income key to [store_side]
|
||||
* Fix issues with alpha animations on hidden units (#14503)
|
||||
|
|
|
@ -12,6 +12,15 @@
|
|||
[/main_map_border]
|
||||
#enddef
|
||||
|
||||
# TODO: cutscene themes aren't meant to have a border
|
||||
#define CUTSCENE_THEME_BACKGROUND
|
||||
[main_map_border]
|
||||
border_size = 0.5
|
||||
background_image = "terrain/off-map/background.png~CS(-255,-255,-255)"
|
||||
tile_image = "alphamask.png"
|
||||
[/main_map_border]
|
||||
#enddef
|
||||
|
||||
#define STATUS_BOX_BORDERLESS X1 Y1 X2 Y2 ID REF XANCHOR YANCHOR
|
||||
[panel]
|
||||
id={ID}-box-topleft
|
||||
|
|
52
data/themes/cutscene-minimal.cfg
Normal file
52
data/themes/cutscene-minimal.cfg
Normal file
|
@ -0,0 +1,52 @@
|
|||
#textdomain wesnoth
|
||||
|
||||
[theme]
|
||||
id=Cutscene_Minimal
|
||||
hidden=yes
|
||||
|
||||
[resolution]
|
||||
id=1024x768
|
||||
width=1024
|
||||
height=768
|
||||
|
||||
[screen]
|
||||
id=screen
|
||||
rect="0,0,1024,768"
|
||||
[/screen]
|
||||
|
||||
[main_map]
|
||||
id=main-map
|
||||
rect="0,0,1024,768"
|
||||
xanchor=left
|
||||
yanchor=top
|
||||
[/main_map]
|
||||
|
||||
{CUTSCENE_THEME_BACKGROUND}
|
||||
|
||||
[menu]
|
||||
is_context_menu=true
|
||||
items=describeunit,endturn,quit
|
||||
[/menu]
|
||||
[/resolution]
|
||||
|
||||
[partialresolution]
|
||||
id=1024x600
|
||||
inherits=1024x768
|
||||
width=1024
|
||||
height=600
|
||||
[/partialresolution]
|
||||
|
||||
[partialresolution]
|
||||
id=800x600
|
||||
inherits=1024x600
|
||||
width=800
|
||||
height=600
|
||||
[/partialresolution]
|
||||
|
||||
[partialresolution]
|
||||
id=800x480
|
||||
inherits=800x600
|
||||
width=800
|
||||
height=480
|
||||
[/partialresolution]
|
||||
[/theme]
|
83
data/themes/cutscene.cfg
Normal file
83
data/themes/cutscene.cfg
Normal file
|
@ -0,0 +1,83 @@
|
|||
#textdomain wesnoth
|
||||
|
||||
[theme]
|
||||
id=Cutscene
|
||||
hidden=yes
|
||||
|
||||
[resolution]
|
||||
id=1024x768
|
||||
width=1024
|
||||
height=768
|
||||
|
||||
[screen]
|
||||
id=screen
|
||||
rect="0,0,1024,768"
|
||||
[/screen]
|
||||
|
||||
[panel]
|
||||
id=top-panel
|
||||
image=themes/classic/menubar.png
|
||||
ref=screen
|
||||
rect="=,=,=,+26"
|
||||
xanchor=top
|
||||
yanchor=fixed
|
||||
[/panel]
|
||||
|
||||
[main_map]
|
||||
id=main-map
|
||||
rect="=,+0,1024,768"
|
||||
xanchor=left
|
||||
yanchor=top
|
||||
[/main_map]
|
||||
|
||||
{CUTSCENE_THEME_BACKGROUND}
|
||||
|
||||
[menu]
|
||||
id=menu-main
|
||||
title= _ "Menu"
|
||||
image=button_menu/menu_button_copper_H20
|
||||
items=load,preferences,help,quit
|
||||
ref=top-panel
|
||||
rect="=,=+1,+100,=-4"
|
||||
xanchor=fixed
|
||||
yanchor=fixed
|
||||
[/menu]
|
||||
|
||||
[menu]
|
||||
is_context_menu=true
|
||||
items=wml,describeunit,endturn
|
||||
[/menu]
|
||||
|
||||
[action]
|
||||
id=button-endturn
|
||||
title= _ "End Turn"
|
||||
title2= _ "End Scenario"
|
||||
items=endturn
|
||||
ref=screen
|
||||
rect="-110,=+1,+80,="
|
||||
xanchor=right
|
||||
yanchor=fixed
|
||||
[/action]
|
||||
[/resolution]
|
||||
|
||||
[partialresolution]
|
||||
id=1024x600
|
||||
inherits=1024x768
|
||||
width=1024
|
||||
height=600
|
||||
[/partialresolution]
|
||||
|
||||
[partialresolution]
|
||||
id=800x600
|
||||
inherits=1024x600
|
||||
width=800
|
||||
height=600
|
||||
[/partialresolution]
|
||||
|
||||
[partialresolution]
|
||||
id=800x480
|
||||
inherits=800x600
|
||||
width=800
|
||||
height=480
|
||||
[/partialresolution]
|
||||
[/theme]
|
Loading…
Add table
Reference in a new issue