X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_spri.h;h=a170795a52e1b8ddc94c873a5b6a707f91903980;hb=e2dc030c9e52911ed9808a9e4a65bc9e0e9d8e9b;hp=5d1de10dea1f125f74ad840b369bb3c7b5d3a628;hpb=8a10eb8dbca0b41c2e9e67491e20a2dd814f56f6;p=16.git diff --git a/src/lib/16_spri.h b/src/lib/16_spri.h index 5d1de10d..a170795a 100755 --- a/src/lib/16_spri.h +++ b/src/lib/16_spri.h @@ -25,6 +25,29 @@ #include "src/lib/16_vrs.h" #include "src/lib/scroll16.h" +void DrawVRL (unsigned int x,unsigned int y,struct vrl1_vgax_header *hdr,vrl1_vgax_offset_t *lineoffs/*array hdr->width long*/,unsigned char *data,unsigned int datasz); + +//moved to 16_tdef.h +// struct sprite +// { +// // VRS container from which we will extract animation and image data +// struct vrs_container *spritesheet; +// // Container for a vrl sprite +// struct vrl_container *sprite_vrl_cont; +// // Current sprite id +// int curr_spri_id; +// // Index of a current sprite in an animation sequence +// int curr_anim_spri; +// // Current animation sequence +// struct vrs_animation_list_entry_t *curr_anim_list; +// // Index of current animation in relevant VRS offsets table +// int curr_anim; +// // Delay in time units untill we should change sprite +// int delay; +// // Position of sprite on screen +// int x, y; +// }; + /* Retrive current animation name of sprite * In: * + struct sprite *spri - sprite to retrive current animation sequence name from