|
|
1.1 ! root 1: #include "samterm.h" ! 2: ! 3: short bullseye_bits[]={ ! 4: 0x07E0, 0x1FF8, 0x399C, 0x63C6, 0x6FF6, 0xCDB3, 0xD99B, 0xFFFF, ! 5: 0xFFFF, 0xD99B, 0xCDB3, 0x6FF6, 0x63C6, 0x399C, 0x1FF8, 0x07E0, ! 6: }; ! 7: short coffeecup_bits[]={ ! 8: 0x0100, 0x00E0, 0x0010, 0x03E0, 0x0400, 0x0FE0, 0x123C, 0x1FE2, ! 9: 0x101A, 0x101A, 0x1002, 0x103C, 0x1810, 0x6FEC, 0x4004, 0x3FF8, ! 10: }; ! 11: short sweep_bits[]={ ! 12: 0x43FF, 0xE001, 0x7001, 0x3801, 0x1D01, 0x0F01, 0x8701, 0x8F01, ! 13: 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0x8001, 0xFFFF, ! 14: }; ! 15: short deadmouse_bits[]={ ! 16: 0x0000, 0x0114, 0xA208, 0x4100, 0x0000, 0x0008, 0x0004, 0x0082, ! 17: 0x0441, 0xFFE1, 0x5FF1, 0x3FFE, 0x17F0, 0x03E0, 0x0000, 0x0000, ! 18: }; ! 19: short lockarrow_bits[]={ ! 20: 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0FC0, 0x0FC0, ! 21: 0x03C0, 0x07C0, 0x0EC0, 0x1CC0, 0x3800, 0x7000, 0xE0DB, 0xC0DB, ! 22: }; ! 23: short darkgrey_bits[]={ ! 24: 0xDDDD, 0x7777, 0xDDDD, 0x7777, 0xDDDD, 0x7777, 0xDDDD, 0x7777, ! 25: 0xDDDD, 0x7777, 0xDDDD, 0x7777, 0xDDDD, 0x7777, 0xDDDD, 0x7777, ! 26: }; ! 27: ! 28: Cursor *cursor,bullseye,coffeecup,sweep,deadmouse,lockarrow; ! 29: Texture darkgrey; ! 30: ! 31: initcursors() ! 32: { ! 33: darkgrey = ToTexture(darkgrey_bits); ! 34: bullseye = ToCursor(bullseye_bits, bullseye_bits, 7, 7); ! 35: coffeecup = ToCursor(coffeecup_bits, coffeecup_bits, 7, 7); ! 36: sweep = ToCursor(sweep_bits, sweep_bits, 7, 7); ! 37: deadmouse = ToCursor(deadmouse_bits, deadmouse_bits, 7, 7); ! 38: lockarrow = ToCursor(lockarrow_bits, lockarrow_bits, 0, 0); ! 39: cursor= &normalcursor; ! 40: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.