Changeset 1360 for trunk/tigcc/doc/System/Include/sprites.h/Sprite32.hsf
- Timestamp:
- 07/24/09 18:55:27 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tigcc/doc/System/Include/sprites.h/Sprite32.hsf
r1307 r1360 5 5 Header Files=sprites.h 6 6 Definition=void Sprite32 (short x, short y, short height, const unsigned long *sprite, void *vm_addr, short mode); 7 Real Definition=extern void Sprite32(short,short,short,__cpulong,void*,short)__ATTR_LIB_C__; 7 Real Definition=extern void Sprite32(short asm("d0"),short asm("d1"),short asm("d2"),__cpulong asm("a0"),void* asm("a1"),short asm("d3"))__ATTR_LIB_ASM__; 8 9 [Library Call] 10 Asm=1 11 12 [Registers] 13 x=d0 14 y=d1 15 height=d2 16 sprite=a0 17 vm_addr=a1 18 mode=d3 8 19 9 20 [Description] … … 23 34 <BR><BR> 24 35 If you want to use sprites wider than 32 pixels (which is not very likely), one solution is to 25 use DoorsOS and its "put_sprite" function (see <A HREF="$$INFOLINK(faq)">Frequently Asked Questions</A> 26 for more info about how to do it). If you don't want to use DoorsOS, the proposed method depends 27 on what the use of the sprite will be. If you don't need too fast action, the built-in TIOS function 28 <A HREF="$$LINK(graph.h/BitmapPut)">BitmapPut</A> may be good enough. If you need a very fast sprite 29 routine for very large sprites, then you must write it yourself. 36 use a "kernel"-based program and <CODE>graphlib::put_sprite</CODE> (see <A HREF="$$INFOLINK(faq)">Frequently Asked Questions</A> 37 for more info about how to do it). If you don't want to use kernel-based programs, the proposed method depends 38 on what the use of the sprite will be: 39 <UL> 40 <LI> 41 If you don't need too fast action, the built-in TIOS function <A HREF="$$LINK(graph.h/BitmapPut)">BitmapPut</A> may be good enough. 42 </LI> 43 <LI> 44 If you need a very fast sprite routine for very large sprites, then you must write it yourself, or use prewritten ones in 45 ExtGraph or Genlib. 46 </LI> 47 </UL> 30 48 <BR><BR> 31 49 See <A HREF="$$LINK(sprites.h/Sprite8)">Sprite8</A> for more info about sprites.
Note: See TracChangeset
for help on using the changeset viewer.
