#include <stdio.h>
#include "../winuser.h"
int _FILLbitmap(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _LDbitmap(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _GETbitmapSize(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _CRbitmap(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
int _BLTbitmap(mmachine m)
{ m->pp+=4;return MMpush(m,NIL); }
int _DRAWrectangle(mmachine m)
{ m->pp+=10;return MMpush(m,NIL); }
int _DRAWline(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _DRAWcircle(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _DRAWtext(mmachine m)
{ m->pp+=7;return MMpush(m,NIL); }
int _LDbitmap8(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _BLTbitmap8(mmachine m)
{ m->pp+=4;return MMpush(m,NIL); }
int _FILLbitmap8(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _GETbitmap8Size(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _DRAWrectangle8(mmachine m)
{ m->pp+=10;return MMpush(m,NIL); }
int _DRAWline8(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _DRAWcircle8(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _DRAWtext8(mmachine m)
{ m->pp+=7;return MMpush(m,NIL); }
int _CRbitmap8(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
int _DSbitmap8(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _DSbitmap(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETbitmapPalette(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETbitmapPalette(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _CPbitmap8(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _CPbitmap(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _AFFbitmapPalette(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _GETbitmap(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _GETbitmap8(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _SETbitmap(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _SETbitmap8(mmachine m)
{ m->pp+=2;return MMpush(m,NIL); }
int _SCPbitmap8(mmachine m)
{ m->pp+=11;return MMpush(m,NIL); }
int _SCPbitmap(mmachine m)
{ m->pp+=11;return MMpush(m,NIL); }
int _MAPbitmap(mmachine m)
{ m->pp+=15;return MMpush(m,NIL); }
int _FILEbitmap(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _FILEbitmap8(mmachine m)
{ m->pp+=1;return MMpush(m,NIL); }
int _CPWbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _CPWbitmap8(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _CPbitmap16(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _GETpixel8(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
int _GETpixel16(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
int _DRAWpoly16(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _PUTpixel16(mmachine m)
{ m->pp+=4;return MMpush(m,NIL); }
int _PUTpixel8(mmachine m)
{ m->pp+=4;return MMpush(m,NIL); }
int _ANDbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _ORbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _XORbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _PLUSbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _MINUSbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _SPLUSbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _SMINUSbitmap(mmachine m)
{ m->pp+=8;return MMpush(m,NIL); }
int _NOTbitmap(mmachine m)
{ m->pp+=5;return MMpush(m,NIL); }
int _MULbitmap(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _DRAWrectangleText(mmachine m)
{ m->pp+=9;return MMpush(m,NIL); }
int _STBLTbitmap(mmachine m)
{ m->pp+=10;return MMpush(m,NIL); }
int _STBLTbitmap8(mmachine m)
{ m->pp+=10;return MMpush(m,NIL); }
int _drawIconExe(mmachine m)
{ m->pp+=6;return MMpush(m,NIL); }
int _infoIconExe(mmachine m)
{ m->pp+=3;return MMpush(m,NIL); }
#define NbitmapPKG 56
char* bitmapname[NbitmapPKG]=
{"_FILLbitmap","_LDbitmap","_GETbitmapSize","_CRbitmap","_BLTbitmap","_DRAWrectangle","_DRAWline","_DRAWcircle","_DRAWtext","_LDbitmap8","_BLTbitmap8","_FILLbitmap8","_GETbitmap8Size","_DRAWrectangle8","_DRAWline8","_DRAWcircle8","_DRAWtext8","_CRbitmap8","_DSbitmap8","_DSbitmap","_GETbitmapPalette","_SETbitmapPalette","_CPbitmap8","_CPbitmap","_AFFbitmapPalette","_GETbitmap","_GETbitmap8","_SETbitmap","_SETbitmap8","_SCPbitmap8","_SCPbitmap","_MAPbitmap","_FILEbitmap","_FILEbitmap8","_CPWbitmap","_CPWbitmap8","_CPbitmap16","_GETpixel8","_GETpixel16","_DRAWpoly16","_PUTpixel16","_PUTpixel8","_ANDbitmap","_ORbitmap","_XORbitmap","_PLUSbitmap","_MINUSbitmap","_SPLUSbitmap","_SMINUSbitmap","_NOTbitmap","_MULbitmap","_DRAWrectangleText","_STBLTbitmap","_STBLTbitmap8","_drawIconExe","_infoIconExe"};
int (*bitmapfun[NbitmapPKG])(mmachine m)=
{_FILLbitmap,_LDbitmap,_GETbitmapSize,_CRbitmap,_BLTbitmap,_DRAWrectangle,_DRAWline,_DRAWcircle,_DRAWtext,_LDbitmap8,_BLTbitmap8,_FILLbitmap8,_GETbitmap8Size,_DRAWrectangle8,_DRAWline8,_DRAWcircle8,_DRAWtext8,_CRbitmap8,_DSbitmap8,_DSbitmap,_GETbitmapPalette,_SETbitmapPalette,_CPbitmap8,_CPbitmap,_AFFbitmapPalette,_GETbitmap,_GETbitmap8,_SETbitmap,_SETbitmap8,_SCPbitmap8,_SCPbitmap,_MAPbitmap,_FILEbitmap,_FILEbitmap8,_CPWbitmap,_CPWbitmap8,_CPbitmap16,_GETpixel8,_GETpixel16,_DRAWpoly16,_PUTpixel16,_PUTpixel8,_ANDbitmap,_ORbitmap,_XORbitmap,_PLUSbitmap,_MINUSbitmap,_SPLUSbitmap,_SMINUSbitmap,_NOTbitmap,_MULbitmap,_DRAWrectangleText,_STBLTbitmap,_STBLTbitmap8,_drawIconExe,_infoIconExe};
int bitmapnarg[NbitmapPKG]=
{2,2,1,3,4,10,8,9,7,2,4,2,1,10,8,9,7,3,1,1,1,2,9,9,2,1,1,2,2,11,11,15,1,1,8,8,9,3,3,8,4,4,8,8,8,8,8,8,8,5,9,9,10,10,6,3};
char* bitmaptype[NbitmapPKG]=
{"fun [ObjBitmap I] ObjBitmap","fun [Chn P] ObjBitmap","fun [ObjBitmap] [I I]","fun [Chn I I] ObjBitmap","fun [ObjWin ObjBitmap I I] ObjWin","fun [ObjBitmap I I I I I I I I I] ObjBitmap","fun [ObjBitmap I I I I I I I] ObjBitmap","fun [ObjBitmap I I I I I I I I] ObjBitmap","fun [ObjBitmap ObjFont I I I I S] ObjBitmap","fun [Chn P] ObjBitmap8","fun [ObjWin ObjBitmap8 I I] ObjWin","fun [ObjBitmap8 I] ObjBitmap8","fun [ObjBitmap8] [I I]","fun [ObjBitmap8 I I I I I I I I I] ObjBitmap8","fun [ObjBitmap8 I I I I I I I] ObjBitmap8","fun [ObjBitmap8 I I I I I I I I] ObjBitmap8","fun [ObjBitmap8 ObjFont I I I I S] ObjBitmap8","fun [Chn I I] ObjBitmap8","fun [ObjBitmap8] I","fun [ObjBitmap] I","fun [ObjBitmap8] tab I","fun [ObjBitmap8 tab I] ObjBitmap8","fun [ObjBitmap8 I I ObjBitmap8 I I I I I] ObjBitmap8","fun [ObjBitmap I I ObjBitmap8 I I I I I] ObjBitmap","fun [ObjBitmap8 tab I] ObjBitmap8","fun [ObjBitmap] S","fun [ObjBitmap8] S","fun [ObjBitmap S] ObjBitmap","fun [ObjBitmap8 S] ObjBitmap8","fun [ObjBitmap8 I I I I ObjBitmap8 I I I I I] ObjBitmap8","fun [ObjBitmap I I I I ObjBitmap I I I I I] ObjBitmap","fun [ObjBitmap I I I I I I I I ObjBitmap I I I I I] ObjBitmap","fun [ObjBitmap] S","fun [ObjBitmap8] S","fun [ObjWin I I ObjBitmap I I I I] ObjWin","fun [ObjWin I I ObjBitmap8 I I I I] ObjWin","fun [ObjBitmap I I ObjBitmap I I I I I] ObjBitmap","fun [ObjBitmap8 I I] I","fun [ObjBitmap I I] I","fun [ObjBitmap I tab [I I] I I I I I] ObjBitmap","fun [ObjBitmap I I I] ObjBitmap","fun [ObjBitmap8 I I I] ObjBitmap8","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I ObjBitmap I I] ObjBitmap","fun [ObjBitmap I I I I] ObjBitmap","fun [ObjBitmap I I I I F F F I] ObjBitmap","fun [ObjBitmap ObjFont I I I I I I S] ObjBitmap","fun [ObjWin I I I I ObjBitmap I I I I] ObjWin","fun [ObjWin I I I I ObjBitmap8 I I I I] ObjWin","fun [S S ObjBitmap I I I] I","fun [S S I] [I I]"};
int SCOLloadbitmap(mmachine m)
{
return PKhardpak(m,"bitmap.pkg",NbitmapPKG,bitmapname,bitmapfun,bitmapnarg,bitmaptype);
}
