Bugfixes, read more
* Manual modifications to the database caused the map to act unusual * The server's packet must be created and deleted as a char array * removed UnloadAll() from several singleton destructors * added SDL_Delay() to BaseScene::RenderFrame(), to reduce heavy CPU use in menus
This commit is contained in:
@@ -17,6 +17,7 @@ tiles = {
|
||||
|
||||
--custom generation systems here
|
||||
function islandGenerator(region)
|
||||
io.write("Generating (", Region.GetX(region), ", ", Region.GetY(region), ")\n")
|
||||
for i = 1, Region.GetWidth(region) do
|
||||
for j = 1, Region.GetHeight(region) do
|
||||
local dist = math.dist(0, 0, i + Region.GetX(region) -1, j + Region.GetY(region) -1)
|
||||
|
||||
Reference in New Issue
Block a user