Changeset - c2ec981b6ce8
[Not reviewed]
default
0 1 4
Silverwing - 5 years ago 2019-04-28 12:20:51

Mouse-driven combat interface updates
5 files changed with 8 insertions and 0 deletions:
0 comments (0 inline, 0 general)
battlefield.lua
Show inline comments
 
@@ -448,6 +448,14 @@ battlefield = function(tab)
 
                    end;
 
                end;
 
            end;
 

	
 
            if s.ui_state == nil then
 
            elseif s.ui_state == 1 then
 
                v = v .. ';images/' .. 'wait_cursor.png' .. '@' .. tostring(s.plX * 32 - 32) .. "," .. tostring(s.plY * 32 - 32);
 
            else
 
                v = v .. ';images/' .. s.ui_state[3] .. '_cursor.png' .. '@' .. tostring(s.ui_state[1] * 32 - 32) .. "," .. tostring(s.ui_state[2] * 32 - 32);
 
            end;
 

	
 
            return v;
 
        end;
 
    end;
images/hit_cursor.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/shoot_cursor.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/wait_cursor.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/walk_cursor.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
0 comments (0 inline, 0 general)