int smshttp::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QMainWindow::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: logIn(); break; case 1: showHelp(); break; case 2: sendSms(); break; case 3: updateChars(); break; case 4: showNumber((*reinterpret_cast< int(*)>(_a[1]))); break; } _id -= 5; } return _id; }
static VIDEO_UPDATE(mlanding) { fillbitmap(bitmap, get_black_pen(machine), cliprect); updateChars(machine); { int i,dx,dy,j,k,num; for(i=0;i<0x1000;i+=4) { int x,y,code,color; code=ml_spriteram[i]; x=ml_spriteram[i+1]; y=ml_spriteram[i+2]; color=ml_spriteram[i+3]; dx=x>>11; dy=y>>11; dx&=0x1f; dy&=0x1f; dx++; dy++; x&=0x1ff; y&=0x1ff; num=code>>14; code&=0x1fff; for(j=0;j<dx;j++) { for(k=0;k<dy;k++) { //test if(code) { drawgfx(ml_bitmap[num],machine->gfx[0], code++, 0, 0,0, x+j*8,y+k*8, cliprect,TRANSPARENCY_PEN,0); } else { int xx,yy; for(yy=0;yy<8;yy++) for(xx=0;xx<8;xx++) { *BITMAP_ADDR16(ml_bitmap[num], y+yy+k*8, x+xx+j*8) = 0; //test only .. ugly } } } } } } { int i; for(i=0;i<7;i++) { copybitmap(bitmap,ml_bitmap[i], 0, 0, 0, 0, cliprect, TRANSPARENCY_PEN, 0); } } status_bit=0; { /* int i; for(i=0;i<0x8000;i++) { *BITMAP_ADDR16(bitmap, 156+( ml_unk[i]>>8), ml_unk[i]&0xff) = 0x207; } */ } return 0; }