Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MML Splash Screen #358

Merged
merged 14 commits into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added data/fonts/btclassic/BTLogo_old.ttf
Binary file not shown.
20 changes: 20 additions & 0 deletions data/fonts/btclassic/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Fontname: Battletech Oldstyle
Created by: Jason M. Knight (aka Deathshadow)
http://www.classicbattletech.com/truetype/bt_oldstyle.zip

This file contains a recreation of the fonts used in the Classic Battletech Logo on products from 1984 to 1991. Upper and Lower case letters are identical except for the letter R, which appears differently on the Battleforce products than it does on the others. The lower case R is that used on Battleforce, while the upper case version is that used on Mechwarrior and Succession Wars.

Additionally, the following 5 wingdings are available:

CHR ASCII IMAGE
! 33 House Davion
@ 64 House Kurita
# 35 House Steiner
$ 36 House Liao
% 37 House Marik

This file is free for non-profit and recreational use, and is not to be used on commercial products without the permission of Fantasy Productions. Any future fonts will be archived at http://www.classicbattletech.com/truetype

Original contents of ClassicBattletech.com � 2001 Fantasy Productions, LLC.

Battletech, Mechwarrior and Battlemech are registered trademarks of WizKids, LLC. All Rights Reserved.� 2001 WizKids, LLC.
Binary file added data/images/misc/mml_load_spooky_fhd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/misc/mml_load_spooky_hd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/misc/mml_load_spooky_uhd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/misc/mml_start_spooky_fhd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/misc/mml_start_spooky_hd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/images/misc/mml_start_spooky_uhd.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/images/splash/megameklabsplash.gif
Binary file not shown.
Binary file removed data/images/splash/megameklabsplashvehicle.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions mmconf/skinSchema.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- Schema for defining images and colors to be used for different UI elements in Megamek -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<!-- Defines the images that will be used in a border -->
<xs:element name="border">
<!-- Corner images -->
<xs:element name="corner_top_left" type="xs:string"/>
<xs:element name="corner_top_right" type="xs:string"/>
<xs:element name="corner_bottom_left" type="xs:string"/>
<xs:element name="corner_bottom_right" type="xs:string"/>
<!-- Border lines: these images will be tiled -->
<xs:element name="line_top" type="xs:string"/>
<xs:element name="line_right" type="xs:string"/>
<xs:element name="line_left" type="xs:string"/>
<xs:element name="line_bottom" type="xs:string"/>
</xs:element>


<xs:element name="UI_Element">
<!-- The name of the UI element -->
<xs:element name="name" type="xs:string"/>
<!-- Specification of border images -->
<xs:complexType>
<xs:element ref="border"/>
</xs:complexType>
<!-- Specification of background images -->
<xs:sequence>
<xs:element name="background_image" type="xs:string"/>
</xs:sequence>
</xs:element>

</xs:schema>
245 changes: 245 additions & 0 deletions mmconf/skins/BW - Default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
This is the default skin for Megamek

New skins can be created by specifying UI_Element tags

The defaultElement UI_Element specifies the default border to be used by UI
components

The defaultButton UI_Element specifies the default border and background
images to use for Megamek buttons. The first image is the base default
image and the second image is the pressed image

NOTE: All locations should be in data/images/widgets
-->
<skin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="skinSchema.xsl">
<UI_Element>
<name>PhaseDisplayBorder</name>
<no_border>false</no_border>
<!-- Specification of border images -->
<border>
<!-- Corner images -->
<corner_top_left>Bloodwolf/Parts/phase/TLC.gif</corner_top_left>
<corner_top_right>Bloodwolf/Parts/phase/TRC.gif</corner_top_right>
<corner_bottom_left>Bloodwolf/Parts/phase/BLC.gif</corner_bottom_left>
<corner_bottom_right>Bloodwolf/Parts/phase/BRC.gif</corner_bottom_right>
<!-- Border lines: these images will be tiled -->
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/TE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>top</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/BE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>bottom</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/LE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>left</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/RE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>right</edgeName>
</edge>
</border>
<background_image>Bloodwolf/Parts/phase/background.png</background_image>
<tile_background>true</tile_background>
<font_color>#ffffff</font_color>
<show_scroll_bars>false</show_scroll_bars>
<should_bold_mouseover>true</should_bold_mouseover>
</UI_Element>

<UI_Element>
<name>BoardViewBorder</name>
<no_border>false</no_border>
<!-- Specification of border images -->
<border>
<!-- Corner images -->
<corner_top_left>Bloodwolf/Parts/boardview/TLC.gif</corner_top_left>
<corner_top_right>Bloodwolf/Parts/boardview/TRC.gif</corner_top_right>
<corner_bottom_left>Bloodwolf/Parts/boardview/BLC.gif</corner_bottom_left>
<corner_bottom_right>Bloodwolf/Parts/boardview/BRC.gif</corner_bottom_right>
<!-- Border lines: these images will be tiled -->
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/TLCT.gif</icon>
<tiled>false</tiled>
</edgeIcon>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/TE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeIcon>
<icon>Bloodwolf/Default/boardview/TC.gif</icon>
<tiled>false</tiled>
</edgeIcon>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/TE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/TRCT.gif</icon>
<tiled>false</tiled>
</edgeIcon>
<edgeName>top</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/BE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>bottom</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/LE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>left</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/boardview/RE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>right</edgeName>
</edge>
</border>
<background_image>Bloodwolf/Parts/boardview/background.png</background_image>
<background_image>Bloodwolf/Parts/boardview/backdrop.png</background_image>
<tile_background>true</tile_background>
<font_color>#ffffff</font_color>
<show_scroll_bars>false</show_scroll_bars>
<should_bold_mouseover>true</should_bold_mouseover>
</UI_Element>

<UI_Element>
<name>defaultElement</name>
<no_border>false</no_border>
<!-- Specification of border images -->
<border>
<!-- Corner images -->
<corner_top_left>Bloodwolf/Parts/phase/TLC.gif</corner_top_left>
<corner_top_right>Bloodwolf/Parts/phase/TRC.gif</corner_top_right>
<corner_bottom_left>Bloodwolf/Parts/phase/BLC.gif</corner_bottom_left>
<corner_bottom_right>Bloodwolf/Parts/phase/BRC.gif</corner_bottom_right>
<!-- Border lines: these images will be tiled -->
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/TE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>top</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/BE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>bottom</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/LE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>left</edgeName>
</edge>
<edge>
<edgeIcon>
<icon>Bloodwolf/Parts/phase/RE.gif</icon>
<tiled>true</tiled>
</edgeIcon>
<edgeName>right</edgeName>
</edge>
</border>
<background_image>Bloodwolf/Parts/phase/background.png</background_image>
<tile_background>true</tile_background>
<font_color>#ffffff</font_color>
<show_scroll_bars>false</show_scroll_bars>
<should_bold_mouseover>true</should_bold_mouseover>
</UI_Element>

<UI_Element>
<name>MainMenuBorder</name>
<no_border>true</no_border>
<background_image>../misc/megamek_splash_spooky_fhd.png</background_image>
<background_image>Bloodwolf/Parts/boardview/background.png</background_image>
<background_image>../misc/megamek_splash_spooky_uhd.png</background_image>
<background_image>../misc/megamek_splash_spooky_hd.png</background_image>
<tile_background>true</tile_background>
<font_color>#ffffff</font_color>
<show_scroll_bars>false</show_scroll_bars>
<should_bold_mouseover>false</should_bold_mouseover>
</UI_Element>

<UI_Element>
<name>MainMenuButton</name>
<no_border>true</no_border>
<background_image>Bloodwolf/Parts/title/buttonNormal.png</background_image>
<background_image>Bloodwolf/Parts/title/buttonPushed.png</background_image>
<tile_background>false</tile_background>
<font_color>#7f7f7f</font_color>
<font_color>#000000</font_color>
<font_color>#ffffff</font_color>
<show_scroll_bars>false</show_scroll_bars>
<should_bold_mouseover>false</should_bold_mouseover>
<font_name>Battletech Oldstyle</font_name>
<font_size>12</font_size>
</UI_Element>

<UI_Element>
<name>defaultButton</name>
<no_border>true</no_border>
<background_image>Bloodwolf/Default/button/buttonNormal.png</background_image>
<background_image>Bloodwolf/Default/button/buttonPushed.png</background_image>
<tile_background>false</tile_background>
<font_color>#ffffff</font_color>
<font_color>#7f7f7f</font_color>
<font_color>#ffffff</font_color>
<show_scroll_bars>false</show_scroll_bars>
<should_bold_mouseover>true</should_bold_mouseover>
</UI_Element>

<UI_Element>
<name>UnitDisplay</name>
<tab_general_idle>Bloodwolf/Default/unit/tab_general_idle.gif</tab_general_idle>
<tab_pilot_idle>Bloodwolf/Default/unit/tab_pilot_idle.gif</tab_pilot_idle>
<tab_armor_idle>Bloodwolf/Default/unit/tab_armor_idle.gif</tab_armor_idle>
<tab_systems_idle>Bloodwolf/Default/unit/tab_systems_idle.gif</tab_systems_idle>
<tab_weapon_idle>Bloodwolf/Default/unit/tab_weapon_idle.gif</tab_weapon_idle>
<tab_extras_idle>Bloodwolf/Default/unit/tab_extras_idle.gif</tab_extras_idle>
<tab_general_active>Bloodwolf/Default/unit/tab_general_active.gif</tab_general_active>
<tab_pilot_active>Bloodwolf/Default/unit/tab_pilot_active.gif</tab_pilot_active>
<tab_armor_active>Bloodwolf/Default/unit/tab_armor_active.gif</tab_armor_active>
<tab_systems_active>Bloodwolf/Default/unit/tab_systems_active.gif</tab_systems_active>
<tab_weapon_active>Bloodwolf/Default/unit/tab_weapon_active.gif</tab_weapon_active>
<tab_extras_active>Bloodwolf/Default/unit/tab_extras_active.gif</tab_extras_active>
<idle_corner>Bloodwolf/Parts/unit/idle_corner.gif</idle_corner>
<active_corner>Bloodwolf/Parts/unit/active_corner.gif</active_corner>
<background_tile>Bloodwolf/Parts/unit/background.png</background_tile>
<top_line>Bloodwolf/Parts/unit/TE.gif</top_line>
<bottom_line>Bloodwolf/Parts/unit/BE.gif</bottom_line>
<left_line>Bloodwolf/Parts/unit/LE.gif</left_line>
<right_line>Bloodwolf/Parts/unit/RE.gif</right_line>
<tl_corner>Bloodwolf/Parts/unit/TLC.gif</tl_corner>
<bl_corner>Bloodwolf/Parts/unit/BLC.gif</bl_corner>
<tr_corner>Bloodwolf/Parts/unit/TRC.gif</tr_corner>
<br_corner>Bloodwolf/Parts/unit/BRC.gif</br_corner>
<mech_outline>Bloodwolf/Parts/unit/bg_mech.gif</mech_outline>
</UI_Element>

</skin>
15 changes: 15 additions & 0 deletions resources/megameklab/resources/Splash.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
btnLoadUnit.text=Load Existing Unit
btnNewMek.text=New Mek
btnNewVee.text=New Combat Vehicle
btnNewSupportVee.text=New Support Vehicle
btnNewProto.text=New Protomech
btnNewBA.text=New Battle Armor
btnNewPbi.text=New Infantry Unit
btnNewAero.text=New Aero Fighter
btnNewDropper.text=New Dropship/Small Craft
btnNewLargeCraft.text=New Capital-Scale Craft
btnQuit.text=Quit
version.text=MegaMekLab Version
message.invalidUnit.format=Warning: Invalid unit, it might load incorrectly!\n%1$s
message.abortUnitLoad.text=Warning: Could not create new UI, aborting unit load!\
Probable cause: Unsupported unit type.
Loading