Changeset - a40fc6c91b5f
[Not reviewed]
default
0 3 0
Silverwing - 7 years ago 2017-10-15 17:04:37

w32 fixes
3 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
images/wh32_guard_2.png
Show inline comments
 
binary diff not shown
Show images
images/wh32_guard_4.png
Show inline comments
 
binary diff not shown
Show images
warehouse32.lua
Show inline comments
 
@@ -446,11 +446,12 @@ warehouse_32 = room {
 
                rval = rval .. ";images/wh32_guard_" .. tostring(s.guards[i].dir) .. ".png@" .. tostring((g_x - pl_x) * 64 + 128 + deltax) .. ",".. tostring((pl_y - g_y) * 64 + 128 + deltay);
 
            end;
 
            if math.abs(pl_y - g_y) == 1 and math.abs(pl_x - g_x) == 1 then
 
                rval = rval .. ";images/uneen_enemy.png@" .. tostring((g_x - pl_x) * 64 + 128 + deltax) .. ",".. tostring((pl_y - g_y) * 64 + 128 + deltay);
 
                rval = rval .. ";images/unseen_enemy.png@" .. tostring((g_x - pl_x) * 64 + 128 + deltax) .. ",".. tostring((pl_y - g_y) * 64 + 128 + deltay);
 
            end;
 
        end;
 
        
 
        rval = rval .. ";images/wh32_player.png@128,128";
 
        print(rval);
 
        return rval .. ";images/wh32_mask.png";
 
    end;
 
	disp = function(s)
0 comments (0 inline, 0 general)