This commit is contained in:
parent
dcd717febe
commit
bf395b7d01
8 changed files with 100 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
if hoveredunit != noone {
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(global.gw, global.gh, global.gw-100, global.gh-(array_length(hoveredunit.inventory)-1)*32-16, false);
|
||||
draw_rectangle(global.gw, global.gh, global.gw-140, global.gh-(array_length(hoveredunit.inventory)-1)*32-16, false);
|
||||
draw_set_color(c_white);
|
||||
var i;
|
||||
draw_set_halign(fa_right);
|
||||
|
|
|
@ -3,6 +3,8 @@ var cam = camera_get_active();
|
|||
global.projMat = camera_get_proj_mat(cam);
|
||||
global.viewMat = camera_get_view_mat(cam);
|
||||
setCam();
|
||||
draw_set_color(c_black);
|
||||
draw_rectangle(-9999, -9999, 9999, 9999, false);
|
||||
var i, j, k;
|
||||
for (i=0; i<array_length(global.map); i++) {
|
||||
for (j=0; j<array_length(global.map[i]); j++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue