Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lisa Greene
Tales of MajEyal
Commits
7a3ee623
Commit
7a3ee623
authored
11 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
death is darker
parent
f7f27655
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/engines/default/engine/ui/Dialog.lua
+2
-1
2 additions, 1 deletion
game/engines/default/engine/ui/Dialog.lua
game/modules/tome/data/gfx/ui/definitions/deathbox.lua
+1
-0
1 addition, 0 deletions
game/modules/tome/data/gfx/ui/definitions/deathbox.lua
with
3 additions
and
1 deletion
game/engines/default/engine/ui/Dialog.lua
+
2
−
1
View file @
7a3ee623
...
...
@@ -219,6 +219,7 @@ function _M:init(title, w, h, x, y, alpha, font, showup, skin)
b5
=
"ui/dialogframe_5.png"
,
shadow
=
conf
.
frame_shadow
,
a
=
conf
.
frame_alpha
or
1
,
darkness
=
conf
.
frame_darkness
or
1
,
particles
=
table
.
clone
(
conf
.
particles
,
true
),
}
self
.
frame
.
ox1
=
self
.
frame
.
ox1
or
conf
.
frame_ox1
...
...
@@ -659,7 +660,7 @@ function _M:toScreen(x, y, nb_keyframes)
-- Draw the frame and shadow
if
self
.
frame
.
shadow
then
self
:
drawFrame
(
x
+
self
.
frame
.
shadow
.
x
,
y
+
self
.
frame
.
shadow
.
y
,
0
,
0
,
0
,
self
.
frame
.
shadow
.
a
)
end
self
:
drawFrame
(
x
,
y
,
1
,
1
,
1
,
self
.
frame
.
a
)
self
:
drawFrame
(
x
,
y
,
self
.
frame
.
darkness
,
self
.
frame
.
darkness
,
self
.
frame
.
darkness
,
self
.
frame
.
a
)
-- Title
if
self
.
title
then
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/gfx/ui/definitions/deathbox.lua
+
1
−
0
View file @
7a3ee623
...
...
@@ -20,6 +20,7 @@
deathbox
=
{
frame_shadow
=
{
x
=
15
,
y
=
15
,
a
=
0
.
5
},
frame_alpha
=
1
,
frame_darkness
=
0
.
6
,
frame_ox1
=
-
60
,
frame_ox2
=
60
,
frame_oy1
=
-
60
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment