MapValue *dst_mv = (MapValue *) &dst_sprite-> data. Memcpy(dst_sprite-> data, &sd, sizeof(SpriteData)) Ĭolour *dst_rgba_line = (Colour *) &dst_sprite-> data. Sprite *dst_sprite = (Sprite *) allocator( sizeof(Sprite) + sizeof(SpriteData) + all_sprites_size) mv_offset = all_sprites_size + rgba_size Ĭonst uint mv_size = sizeof(MapValue) * src_sprite-> width * src_sprite-> height sprite_line_size = sizeof(Colour) * src_sprite-> width + sizeof(uint32) * META_LENGTH Ĭonst uint rgba_size = sd. If (zoom_max = zoom_min) zoom_max = ZOOM_LVL_MAX * Second uint32 of a line = the number of transparent pixels from the right. * First uint32 of a line = the number of transparent pixels from the left. Sprite * Blitter_32bppSSE_Base::Encode( const SpriteLoader::Sprite *sprite, AllocatorProc *allocator) Static FBlitter_32bppSSE2 iFBlitter_32bppSSE2 ** Instantiation of the SSE2 32bpp blitter factory. ** 32bpp_sse2.cpp Implementation of the SSE2 32 bpp blitter. You should have received a copy of the GNU General Public License along with OpenTTD. * See the GNU General Public License for more details. ![]() * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * OpenTTD is free software you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |