mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Makes math helpers defines for performance
This commit is contained in:
@@ -59,8 +59,13 @@
|
||||
|
||||
if(NORTH)
|
||||
|
||||
<<<<<<< HEAD
|
||||
int_panel_x = ux + Floor(lift_size_x/2)
|
||||
int_panel_y = uy + (make_walls ? 1 : 0)
|
||||
=======
|
||||
int_panel_x = ux + FLOOR(lift_size_x/2, 1)
|
||||
int_panel_y = uy + 1
|
||||
>>>>>>> 8da11c1... Makes math helpers defines for performance (#5654)
|
||||
ext_panel_x = ux
|
||||
ext_panel_y = ey + 2
|
||||
|
||||
@@ -76,8 +81,13 @@
|
||||
|
||||
if(SOUTH)
|
||||
|
||||
<<<<<<< HEAD
|
||||
int_panel_x = ux + Floor(lift_size_x/2)
|
||||
int_panel_y = ey - (make_walls ? 1 : 0)
|
||||
=======
|
||||
int_panel_x = ux + FLOOR(lift_size_x/2, 1)
|
||||
int_panel_y = ey - 1
|
||||
>>>>>>> 8da11c1... Makes math helpers defines for performance (#5654)
|
||||
ext_panel_x = ex
|
||||
ext_panel_y = uy - 2
|
||||
|
||||
@@ -93,8 +103,13 @@
|
||||
|
||||
if(EAST)
|
||||
|
||||
<<<<<<< HEAD
|
||||
int_panel_x = ux + (make_walls ? 1 : 0)
|
||||
int_panel_y = uy + Floor(lift_size_y/2)
|
||||
=======
|
||||
int_panel_x = ux+1
|
||||
int_panel_y = uy + FLOOR(lift_size_y/2, 1)
|
||||
>>>>>>> 8da11c1... Makes math helpers defines for performance (#5654)
|
||||
ext_panel_x = ex+2
|
||||
ext_panel_y = ey
|
||||
|
||||
@@ -110,8 +125,13 @@
|
||||
|
||||
if(WEST)
|
||||
|
||||
<<<<<<< HEAD
|
||||
int_panel_x = ex - (make_walls ? 1 : 0)
|
||||
int_panel_y = uy + Floor(lift_size_y/2)
|
||||
=======
|
||||
int_panel_x = ex-1
|
||||
int_panel_y = uy + FLOOR(lift_size_y/2, 1)
|
||||
>>>>>>> 8da11c1... Makes math helpers defines for performance (#5654)
|
||||
ext_panel_x = ux-2
|
||||
ext_panel_y = uy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user