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
K'van
Tales of MajEyal
Commits
2c0b5dad
Commit
2c0b5dad
authored
11 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
do you see it? do you see it ? the nassssstttttyyyyyyyyy hook
parent
69b55947
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
game/modules/tome/class/uiset/Minimalist.lua
+12
-1
12 additions, 1 deletion
game/modules/tome/class/uiset/Minimalist.lua
with
12 additions
and
1 deletion
game/modules/tome/class/uiset/Minimalist.lua
+
12
−
1
View file @
2c0b5dad
...
...
@@ -144,6 +144,7 @@ local portrait_unsel = {core.display.loadImage("/data/gfx/ui/party-portrait-unse
local
portrait_lev
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/party-portrait-lev.png"
):
glTexture
()}
local
portrait_unsel_lev
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/party-portrait-unselect-lev.png"
):
glTexture
()}
local
pf_bg_x
,
pf_bg_y
=
0
,
0
local
pf_bg
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/playerframe/back.png"
):
glTexture
()}
local
pf_shadow
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/playerframe/shadow.png"
):
glTexture
()}
local
pf_defend
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/playerframe/defend.png"
):
glTexture
()}
...
...
@@ -177,6 +178,16 @@ local hk7 = {core.display.loadImage("/data/gfx/ui/hotkeys/hotkey_7.png"):glTextu
local
hk8
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/hotkeys/hotkey_8.png"
):
glTexture
()}
local
hk9
=
{
core
.
display
.
loadImage
(
"/data/gfx/ui/hotkeys/hotkey_9.png"
):
glTexture
()}
_M
:
triggerHook
{
"UISet:Minimalist:Load"
,
alterlocal
=
function
(
k
,
v
)
local
i
=
1
while
true
do
local
kk
,
_
=
debug.getlocal
(
4
,
i
)
if
not
kk
then
break
end
if
kk
==
k
then
debug.setlocal
(
4
,
i
,
v
)
break
end
i
=
i
+
1
end
end
}
function
_M
:
init
()
UISet
.
init
(
self
)
...
...
@@ -1546,7 +1557,7 @@ function _M:displayPlayer(scale, bx, by)
if
not
game
.
player
then
return
end
pf_shadow
[
1
]:
toScreenFull
(
0
,
0
,
pf_shadow
[
6
],
pf_shadow
[
7
],
pf_shadow
[
2
],
pf_shadow
[
3
])
pf_bg
[
1
]:
toScreenFull
(
0
,
0
,
pf_bg
[
6
],
pf_bg
[
7
],
pf_bg
[
2
],
pf_bg
[
3
])
pf_bg
[
1
]:
toScreenFull
(
pf_bg_x
,
pf_bg_y
,
pf_bg
[
6
],
pf_bg
[
7
],
pf_bg
[
2
],
pf_bg
[
3
])
player
:
toScreen
(
nil
,
22
,
22
,
40
,
40
)
if
(
not
config
.
settings
.
tome
.
actor_based_movement_mode
and
self
or
player
).
bump_attack_disabled
then
...
...
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