diff --git a/Scenes/CharacterSelect.go b/Scenes/CharacterSelect.go index dc3026b0..62f8c8fc 100644 --- a/Scenes/CharacterSelect.go +++ b/Scenes/CharacterSelect.go @@ -45,19 +45,19 @@ func (v *CharacterSelect) Load() []func() { v.background.MoveTo(0, 0) }, func() { - v.newCharButton = UI.CreateButton(UI.ButtonTypeTall, v.fileProvider, Common.CombineStrings(Common.SplitIntoLinesWithMaxWidth(Common.TranslateString("#831"), 13))) + v.newCharButton = UI.CreateButton(UI.ButtonTypeTall, v.fileProvider, Common.CombineStrings(Common.SplitIntoLinesWithMaxWidth(Common.TranslateString("#831"), 15))) v.newCharButton.MoveTo(33, 468) v.newCharButton.OnActivated(func() { v.onNewCharButtonClicked() }) v.uiManager.AddWidget(v.newCharButton) }, func() { - v.convertCharButton = UI.CreateButton(UI.ButtonTypeTall, v.fileProvider, Common.CombineStrings(Common.SplitIntoLinesWithMaxWidth(Common.TranslateString("#825"), 13))) + v.convertCharButton = UI.CreateButton(UI.ButtonTypeTall, v.fileProvider, Common.CombineStrings(Common.SplitIntoLinesWithMaxWidth(Common.TranslateString("#825"), 15))) v.convertCharButton.MoveTo(233, 468) v.convertCharButton.SetEnabled(false) v.uiManager.AddWidget(v.convertCharButton) }, func() { - v.deleteCharButton = UI.CreateButton(UI.ButtonTypeTall, v.fileProvider, Common.CombineStrings(Common.SplitIntoLinesWithMaxWidth(Common.TranslateString("#832"), 13))) + v.deleteCharButton = UI.CreateButton(UI.ButtonTypeTall, v.fileProvider, Common.CombineStrings(Common.SplitIntoLinesWithMaxWidth(Common.TranslateString("#832"), 15))) v.deleteCharButton.MoveTo(433, 468) v.deleteCharButton.SetEnabled(false) v.uiManager.AddWidget(v.deleteCharButton) diff --git a/Scenes/SelectHeroClass.go b/Scenes/SelectHeroClass.go index 1213b919..de025bd2 100644 --- a/Scenes/SelectHeroClass.go +++ b/Scenes/SelectHeroClass.go @@ -107,6 +107,7 @@ func (v *SelectHeroClass) Load() []func() { v.campfire = v.fileProvider.LoadSprite(ResourcePaths.CharacterSelectCampfire, Palettes.Fechar) v.campfire.MoveTo(380, 335) v.campfire.Animate = true + v.campfire.Blend = true }, func() { v.exitButton = UI.CreateButton(UI.ButtonTypeMedium, v.fileProvider, Common.TranslateString("#970")) diff --git a/docs/SelectHeroSS.png b/docs/SelectHeroSS.png new file mode 100644 index 00000000..c7e8460e Binary files /dev/null and b/docs/SelectHeroSS.png differ diff --git a/docs/index.html b/docs/index.html index a9f2fcfd..a6c0eb28 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,11 +1,21 @@ - - OpenDiablo 2 - - - + + + + + OpenDiablo 2 + + + + @@ -37,7 +47,74 @@
+

Configuration

+
+ There is a configuration file (config.json) that should be located in the root folder. The following table describes the different options and what they mean. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Setting NameDescription
Language + Defines the locale the game is running in. For english this should be set to ENG. Other values include + (but are not limited to) CHI, DEU, ESP, FRA, ITA, + JPN, etc. +
FullScreenDetermines if the client is initially full screen or not. Do note that fullscreen mode can be toggled at any time + with ALT+ENTER.
ScaleDefines the graphical scale of the game. this value is a decimal number representing the direct scale of the game. + For example, a scale of 1.25 will increase the size of the game to 1 1/4 the original size. Note that full screen will + always scale to match the proper aspect ratio.
TicksPerSecondDetermines how often the engine updates. Please note that the core will always run game-level updates at exactly 25FPS + to match the original engine.
RunInBackgroundIf true, the game will continue running when the window is not focused. If false, the game will stop running when the + window looses focus.
VsyncEnabledDetermines if screen updates are synchronized on the (real or virtual) vblank of your display.
SfxVolumeA decimal value between 0.0 and 1.0 representing how loud sound effects should be.
BgmVolumeA decimal value between 0.0 and 1.0 representing how loud background music should be.
MpqPathThe base path of where the MPQ files are located. If you install Diablo2+LOD on linux with wine using the default settings, + OpenDiablo 2 will automatically check the wine prefix for the path if it is still set to the windows path.
MpqLoadOrderThis is the list of MPQs to load. In the event that the same file is in multiple MPQs, the first MPQ (highest on the list) + will be the one from which the file will be loaded.
+
+

Screenshots

- + Main Menu + Select Hero - \ No newline at end of file + diff --git a/docs/style.css b/docs/style.css index 405ee3db..3238b6f3 100644 --- a/docs/style.css +++ b/docs/style.css @@ -8,11 +8,23 @@ src: local('Diablo Heavy'), url('diablo.woff') format('woff'); } body { - font-family:'Diablo Heavy'; + font-family: 'Lato', sans-serif; background-color: #111; color: #fff; text-align:center; - text-shadow: 0px 0px 6px #000; + text-shadow: 0 0 6px #000; +} + +code { + background-color: #ccc; + color: #000; + border-radius: 3px; + text-shadow: none; + padding: 0 3px; + + font-family: monospace; + font-weight: bold; + border: solid 1px #000; } hr { @@ -23,17 +35,20 @@ hr { } h1 { + font-family:'Diablo Heavy'; font-size: 5em; text-shadow: 0px 0px 6px #c00; } h1 span { + font-family:'Diablo Heavy'; font-size: 0.2em; display: block; margin: 8px 0; } h2 { + font-family:'Diablo Heavy'; font-size: 2.5em; text-shadow: 0px 0px 4px #c00; } @@ -42,27 +57,32 @@ img.imgFrame { display: inline-block; clear: bloth; border-radius: 6px; - box-shadow: 0px 0px 8px #000; - margin: 6px 0px; + box-shadow: 0 0 8px #000; + margin: 6px; + } div.paragraph { - text-align: left; max-width: 1000px; margin-left: auto; margin-right: auto; display: block; font-size: 1.2em; margin-bottom: 24px; + word-wrap: break-word; + text-align: justify; } div.paragraph span { display: block; padding: 12px 0; + color: #eaeaea; } + div.paragraph span::first-letter { - font-size: 1.5em; + font-size: 1.3em; + color: #fff; } a { @@ -73,4 +93,26 @@ a { a:hover { text-decoration: underline; color: #faa; -} \ No newline at end of file +} + +table { + width: 100%; + border-spacing: 0; +} +table tr { + vertical-align: top; + border-spacing: 1px; + border-bottom: dashed 1px #444; +} +table thead tr th { + color: #FFFF00; + padding-right:24px; + border-bottom: solid 1px #aaa; + min-width: 200px; +} +table tbody tr td { + text-align: justify; + border-spacing: 1px; + border-bottom: dashed 1px #444; + padding: 6px 0; +}