Ignore:
Timestamp:
Jul 30, 2013, 5:48:38 PM (9 years ago)
Author:
Sam Hocevar
Message:

core: get rid of custom Min(), Max(), ERROR(), etc. and use the Lol Engine
features instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/branches/lol/src/transp.cpp

    r682 r687  
    2525    ivec2 pos(x, y);
    2626
    27     aa += Max(caa - pos, ivec2(0));
    28     bb -= Max(caa - pos, ivec2(0));
    29     pos = Max(caa, pos);
     27    aa += lol::max(caa - pos, ivec2(0));
     28    bb -= lol::max(caa - pos, ivec2(0));
     29    pos = lol::max(caa, pos);
    3030
    31     bb = Min(bb, cbb - ivec2(1) - pos);
     31    bb = lol::min(bb, cbb - ivec2(1) - pos);
    3232
    3333    if (!(bb >= ivec2(0)))
Note: See TracChangeset for help on using the changeset viewer.