Removed all excess whitespace and standardized line endings.

This commit is contained in:
m3rein
2020-09-05 21:23:16 +02:00
parent caed5bd757
commit 240af4e5e7
219 changed files with 929 additions and 929 deletions

View File

@@ -17,7 +17,7 @@ end
def passable?(passages,tile_id)
return false if tile_id == nil
passage = passages[tile_id]
return (passage && passage<15)
return (passage && passage<15)
end
def getPassabilityMinimap(mapid)
@@ -222,7 +222,7 @@ class Draw_Tilemap # This class controls a set of sprites, with
end
if @flash_data
@sprites.push([])
@contentstrips.push([])
@contentstrips.push([])
end
end
@@ -444,4 +444,4 @@ class Sprite_Character
self.z=ScreenPosHelper.pbScreenZ(@character,@ch)
end
end
end
end

View File

@@ -1,5 +1,5 @@
#===============================================================================
#
#
#===============================================================================
class SynchronizedTilemapAutotilesInternal
def initialize(oldat)
@@ -115,4 +115,4 @@ class SynchronizedTilemap < Tilemap
@autotiles.sync
super
end
end
end

View File

@@ -67,4 +67,4 @@ class TilemapLoader
def ox=(v); @tilemap.ox = v; end
def oy; @tilemap.oy; end
def oy=(v); @tilemap.oy = v; end
end
end

View File

@@ -16,7 +16,7 @@ class TileDrawingHelper
[ [37, 38, 43, 44], [37, 6, 43, 44], [13, 18, 19, 24], [13, 14, 43, 44],
[37, 42, 43, 48], [17, 18, 47, 48], [13, 18, 43, 48], [ 1, 2, 7, 8] ]
]
# converts neighbors returned from tableNeighbors to tile indexes
NeighborsToTiles = [
46, 44, 46, 44, 43, 41, 43, 40, 46, 44, 46, 44, 43, 41, 43, 40,
@@ -98,7 +98,7 @@ class TileDrawingHelper
for i in 0...4
tile_position = tiles[i] - 1
src.set(tile_position % 6 * 16 + anim, tile_position / 6 * 16, 16, 16)
bitmap.stretch_blt(Rect.new(i % 2 * cxTile + x, i / 2 * cyTile + y, cxTile, cyTile),
bitmap.stretch_blt(Rect.new(i % 2 * cxTile + x, i / 2 * cyTile + y, cxTile, cyTile),
autotile, src)
end
end
@@ -115,7 +115,7 @@ class TileDrawingHelper
bltSmallRegularTile(bitmap, x, y, cxTile, cyTile, id)
elsif id > 0
bltSmallAutotile(bitmap, x, y, cxTile, cyTile, id, frame)
end
end
end
def bltAutotile(bitmap,x,y,id,frame)
@@ -131,6 +131,6 @@ class TileDrawingHelper
bltRegularTile(bitmap, x, y, id)
elsif id > 0
bltAutotile(bitmap, x, y, id, frame)
end
end
end
end
end