holaa
necesito comprobar la colision grafica de un proceso,
en vez de colisionar 2 procesos, uno de ellos se trata del mouse
si del raton, del puntero del raton coordendas del punto de control 0.
y me pregunto si es valido asi:
collision_box(type mouse);
y otra pregunta:
existe una manera de hacerlo SOLO por coordenadas?
collision_box(mouse.x,mouse.y);

----------------
Se me ocurrre usar esto:
INT box_x0 - The x-coordinate of the topleft corner of the process' graphic (process.x-graphic.width/2).
INT box_y0 - The y-coordinate of the topleft corner of the process' graphic (process.y-graphic.height/2).
INT box_x1 - The x-coordinate of the bottomright corner of the process' graphic (process.x+graphic.width/2).
INT box_y1 - The y-coordinate of the bottomright corner of the process' graphic (process.y+graphic.height/2).
para hacer una comprobacion por caja/box, y hacer la condicion:
if(Reserved.box_x0<mouse.x and Reserved.box_x1>mouse.x);
if(Reserved.box_y0<mouse.y and Reserved.box_y1>mouse.y);
-----------
Ahh mierda, me da error de compilacion!!
error: Unknown identifier ( error in token: "BOX_X0" ).
