forked from Jonathan/Peradventure
fix merge conflicts
This commit is contained in:
commit
989d33ff5e
4
app.lua
4
app.lua
@ -14,7 +14,11 @@ app.layout = require "views.layout"
|
|||||||
|
|
||||||
app:post("/clickme", function(self)
|
app:post("/clickme", function(self)
|
||||||
self.plane = "P-38L"
|
self.plane = "P-38L"
|
||||||
|
<<<<<<< HEAD
|
||||||
mapFunc:populate(map)
|
mapFunc:populate(map)
|
||||||
|
=======
|
||||||
|
mapFunc.populate(self, map)
|
||||||
|
>>>>>>> refs/remotes/origin/master
|
||||||
return {self.plane, layout = false}
|
return {self.plane, layout = false}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ config("development", {
|
|||||||
server = "nginx",
|
server = "nginx",
|
||||||
code_cache = "off",
|
code_cache = "off",
|
||||||
num_workers = "1",
|
num_workers = "1",
|
||||||
|
port = "1010"
|
||||||
sqlite = {
|
sqlite = {
|
||||||
database = "database.sqlite3",
|
database = "database.sqlite3",
|
||||||
-- open_flags = ...
|
-- open_flags = ...
|
||||||
|
BIN
database.sqlite3
BIN
database.sqlite3
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
|
||||||
local map = {
|
local map = {
|
||||||
@ -20,6 +21,16 @@ local map = {
|
|||||||
x = h,
|
x = h,
|
||||||
y = i,
|
y = i,
|
||||||
occupied_by_type = self.map_tiles[h][i],
|
occupied_by_type = self.map_tiles[h][i],
|
||||||
|
=======
|
||||||
|
local map = {
|
||||||
|
populate = function(self, map)
|
||||||
|
for h=1,100 do
|
||||||
|
for i=1,100 do
|
||||||
|
local tile = map:create({
|
||||||
|
x = h,
|
||||||
|
y = i,
|
||||||
|
occupied_by_type = "",
|
||||||
|
>>>>>>> refs/remotes/origin/master
|
||||||
occupied_by_id = ""
|
occupied_by_id = ""
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user