Ignore:
Timestamp:
May 16, 2011, 2:37:43 AM (11 years ago)
Author:
Sam Hocevar
Message:

game: convert a few View members to vec2i.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/clisp.cpp

    r672 r674  
    18461846      view *v=current_object->controller();
    18471847      if (!v) lbreak("object has no view : view_x1");
    1848       else return v->cx1;
     1848      else return v->m_aa.x;
    18491849    } break;
    18501850    case 218 :
     
    18521852      view *v=current_object->controller();
    18531853      if (!v) lbreak("object has no view : view_x1");
    1854       else return v->cy1;
     1854      else return v->m_aa.y;
    18551855    } break;
    18561856    case 219 :
     
    18581858      view *v=current_object->controller();
    18591859      if (!v) lbreak("object has no view : view_x1");
    1860       else return v->cx2;
     1860      else return v->m_bb.x;
    18611861    } break;
    18621862    case 220 :
     
    18641864      view *v=current_object->controller();
    18651865      if (!v) lbreak("object has no view : view_x1");
    1866       else return v->cy2;
     1866      else return v->m_bb.y;
    18671867    } break;
    18681868    case 221 :
Note: See TracChangeset for help on using the changeset viewer.