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
Otowa Kotori
Tales of MajEyal
Commits
ef3e71b5
Commit
ef3e71b5
authored
14 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
oups
git-svn-id:
http://svn.net-core.org/repos/t-engine4@2349
51575b47-30f0-44d4-a5cc-537603b46e54
parent
136358bf
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/modules/tome/class/NicerTiles.lua
+9
-9
9 additions, 9 deletions
game/modules/tome/class/NicerTiles.lua
game/modules/tome/data/rooms/forest_clearing.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/data/rooms/forest_clearing.lua
with
10 additions
and
10 deletions
game/modules/tome/class/NicerTiles.lua
+
9
−
9
View file @
ef3e71b5
...
...
@@ -96,15 +96,15 @@ end
--- Make walls have a pseudo 3D effect & rounded corners
function
_M
:
niceTileRoundwall3d
(
level
,
i
,
j
,
g
,
nt
)
local
s
=
level
.
map
:
checkEntity
(
i
,
j
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g8
=
level
.
map
:
checkEntity
(
i
,
j
-
1
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g2
=
level
.
map
:
checkEntity
(
i
,
j
+
1
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g4
=
level
.
map
:
checkEntity
(
i
-
1
,
j
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g6
=
level
.
map
:
checkEntity
(
i
+
1
,
j
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g1
=
level
.
map
:
checkEntity
(
i
-
1
,
j
+
1
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g3
=
level
.
map
:
checkEntity
(
i
+
1
,
j
+
1
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g7
=
level
.
map
:
checkEntity
(
i
-
1
,
j
-
1
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
g9
=
level
.
map
:
checkEntity
(
i
+
1
,
j
-
1
,
Map
.
TERRAIN
,
"
block_move"
)
and
true
or
false
local
s
=
level
.
map
:
checkEntity
(
i
,
j
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g8
=
level
.
map
:
checkEntity
(
i
,
j
-
1
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g2
=
level
.
map
:
checkEntity
(
i
,
j
+
1
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g4
=
level
.
map
:
checkEntity
(
i
-
1
,
j
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g6
=
level
.
map
:
checkEntity
(
i
+
1
,
j
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g1
=
level
.
map
:
checkEntity
(
i
-
1
,
j
+
1
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g3
=
level
.
map
:
checkEntity
(
i
+
1
,
j
+
1
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g7
=
level
.
map
:
checkEntity
(
i
-
1
,
j
-
1
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
local
g9
=
level
.
map
:
checkEntity
(
i
+
1
,
j
-
1
,
Map
.
TERRAIN
,
"
type"
)
or
"wall"
-- Full
if
g1
==
s
and
g2
==
s
and
g3
==
s
and
g4
==
s
and
g6
==
s
and
g7
==
s
and
g8
==
s
and
g9
==
s
then
self
:
replace
(
i
,
j
,
self
:
getTile
(
nt
.
inner
))
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/data/rooms/forest_clearing.lua
+
1
−
1
View file @
ef3e71b5
...
...
@@ -92,7 +92,7 @@ return function(gen, id)
end
end
else
return
make_hmap
(
self
,
x
,
y
,
is_lit
)
end
return
make_hmap
(
self
,
x
,
y
,
is_lit
)
end
-- Materialize the map
...
...
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