Lines Matching refs:firmBitmap

102 	FirmDieBitmap	*firmBitmap;  in load_bitmap_info()  local
117 firmBitmap = firm_bitmap_array+i; in load_bitmap_info()
122 firmBitmap->bitmap_ptr = NULL; in load_bitmap_info()
123 firmBitmap->width = 0; in load_bitmap_info()
124 firmBitmap->height = 0; in load_bitmap_info()
126 firmBitmap->offset_x = misc.atoi( firmBitmapRec->offset_x, firmBitmapRec->OFFSET_LEN ); in load_bitmap_info()
127 firmBitmap->offset_y = misc.atoi( firmBitmapRec->offset_y, firmBitmapRec->OFFSET_LEN ); in load_bitmap_info()
129 firmBitmap->loc_width = misc.atoi( firmBitmapRec->loc_width , firmBitmapRec->LOC_LEN ); in load_bitmap_info()
130 firmBitmap->loc_height = misc.atoi( firmBitmapRec->loc_height, firmBitmapRec->LOC_LEN ); in load_bitmap_info()
131 firmBitmap->display_layer = firmBitmapRec->layer - '0'; in load_bitmap_info()
133 firmBitmap->bitmap_offset = bitmapOffset; in load_bitmap_info()
148 FirmBitmap *firmBitmap; in load_build_info() local
223 firmBitmap = firm_bitmap_array + firmBuild->first_bitmap_array[j] - 1; in load_build_info()
225 for( k=firmBuild->bitmap_count_array[j] ; k>0 ; k--, firmBitmap++ ) in load_build_info()
227 if( firmBitmap->offset_x < minOffsetX ) in load_build_info()
228 minOffsetX = firmBitmap->offset_x; in load_build_info()
230 if( firmBitmap->offset_y < minOffsetY ) in load_build_info()
231 minOffsetY = firmBitmap->offset_y; in load_build_info()
233 if( firmBitmap->offset_x + firmBitmap->width > maxX2 ) in load_build_info()
234 maxX2 = firmBitmap->offset_x + firmBitmap->width; in load_build_info()
236 if( firmBitmap->offset_y + firmBitmap->height > maxY2 ) in load_build_info()
237 maxY2 = firmBitmap->offset_y + firmBitmap->height; in load_build_info()
247 firmBitmap = firm_bitmap_array + bitmapRecno - 1; in load_build_info()
249 firmBuild->loc_width = firmBitmap->loc_width; in load_build_info()
250 firmBuild->loc_height = firmBitmap->loc_height; in load_build_info()
356 FirmDieBitmap* firmBitmap; in draw() local
366 firmBitmap = firm_die_res.get_bitmap(bitmapRecno); in draw()
369 if( firmBitmap ) in draw()
372firmBitmap->bitmap_ptr = bitmapPtr = firm_die_res.res_bitmap.read_imported(firmBitmap->bitmap_offs… in draw()
373 firmBitmap->width = *(short *)bitmapPtr; in draw()
374 firmBitmap->height= *(1+(short *)bitmapPtr); in draw()
375firmBitmap->draw_at(loc_x1*ZOOM_LOC_WIDTH, loc_y1*ZOOM_LOC_HEIGHT, colorRemapTable, displayLayer); in draw()