mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Minor fixes
This commit is contained in:
@@ -570,7 +570,8 @@ end
|
|||||||
|
|
||||||
def pbDownloadData(url, filename=nil, depth=0)
|
def pbDownloadData(url, filename=nil, depth=0)
|
||||||
raise "Redirection level too deep" if depth>10
|
raise "Redirection level too deep" if depth>10
|
||||||
if url[/^http:\/\/([^\/]+)(.*)$/]
|
if url[/^(([^:\/?#]+):(?=\/\/))?(\/\/)?((([^:]+)(?::([^@]+)?)?@)?([^@\/?#:]*)(?::(\d+)?)?)?([^?#]*)(\?([^#]*))?(#(.*))?/]
|
||||||
|
# if url[/^http:\/\/([^\/]+)(.*)$/]
|
||||||
host = $1
|
host = $1
|
||||||
path = $2
|
path = $2
|
||||||
path = "/" if path.length==0
|
path = "/" if path.length==0
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class Game_Map
|
|||||||
attr_accessor :tileset_name # tileset file name
|
attr_accessor :tileset_name # tileset file name
|
||||||
attr_accessor :autotile_names # autotile file name
|
attr_accessor :autotile_names # autotile file name
|
||||||
attr_reader :passages # passage table
|
attr_reader :passages # passage table
|
||||||
attr_reader :priorities # prioroty table
|
attr_reader :priorities # priority table
|
||||||
attr_reader :terrain_tags # terrain tag table
|
attr_reader :terrain_tags # terrain tag table
|
||||||
attr_reader :events # events
|
attr_reader :events # events
|
||||||
attr_accessor :panorama_name # panorama file name
|
attr_accessor :panorama_name # panorama file name
|
||||||
|
|||||||
@@ -147,9 +147,6 @@ end
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Dungeon generation algorithm found at:
|
|
||||||
# http://members.gamedev.net/potentialwell/ProceduralDungeonGeneration-JTippets.pdf
|
|
||||||
|
|
||||||
class MazeNode
|
class MazeNode
|
||||||
def initialize
|
def initialize
|
||||||
@edges=0
|
@edges=0
|
||||||
|
|||||||
Reference in New Issue
Block a user