home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d115
/
marketroid.lha
/
Marketroid
/
src
/
miscimg.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-11-22
|
9KB
|
287 lines
/* :ts=8 bk=0
*
* miscimg.c: Miscellaneous images
* 1987, Amiga logo, Boing, BPTRs, Skull, MIPS.
*
* Leo L. Schwab 8710.1 (415) 456-3960
*/
#include <exec/types.h>
#include <graphics/gfx.h>
#include "marketroid.h"
/******************************** -- 1987 -- ******************************/
static UWORD onenineeightseven0[112];
static UWORD onenineeightseven1[] = {
0x0, 0x0, 0x0, 0x0,0x0, 0x9, 0x0, 0x0,
0x0, 0x19, 0x8000, 0x0,0x0, 0x39, 0xC000, 0x0,
0x0, 0x79, 0xE000, 0x0,0x0, 0xF9, 0xF000, 0x0,
0x0, 0x1D9, 0xB800, 0x0,0x0, 0x399, 0x9C00, 0x0,
0x0, 0x719, 0x8E00, 0x0,0xF0, 0xE19, 0x873F, 0xFFF0,
0x3F0, 0xC19, 0x833F, 0xFFF0,0xFF0, 0xC19, 0x8300, 0xF0,
0xF0, 0xFF9, 0xC700, 0x3C0,0xF0, 0xFF9, 0xEF00, 0xF00,
0xF0, 0x19, 0xC700, 0x3C00,0xF0, 0x19, 0x8300, 0xF000,
0xF0, 0x19, 0x8303, 0xC000,0x7FFF, 0xCC19, 0x830F, 0x0,
0x7FFF, 0xCE19, 0x870F, 0x0,0x0, 0x719, 0x8E00, 0x0,
0x0, 0x399, 0x9C00, 0x0,0x0, 0x1D9, 0xB800, 0x0,
0x0, 0xF9, 0xF000, 0x0,0x0, 0x79, 0xE000, 0x0,
0x0, 0x39, 0xC000, 0x0,0x0, 0x19, 0x8000, 0x0,
0x0, 0x9, 0x0, 0x0,0x0, 0x0, 0x0, 0x0
};
static UWORD onenineeightseven2[] = {
0x0, 0x1F, 0x8000, 0x0,0x0, 0x36, 0xC000, 0x0,
0x0, 0x66, 0x6000, 0x0,0x0, 0xC6, 0x3000, 0x0,
0x0, 0x186, 0x1800, 0x0,0x0, 0x306, 0xC00, 0x0,
0x0, 0x626, 0x4600, 0x0,0x0, 0xC66, 0x6300, 0x0,
0x1F8, 0x18E6, 0x71FF, 0xFFF8,0x708, 0x11A6, 0x58C0, 0x8,
0x1C08, 0x1326, 0x4CC0, 0x8,0x1008, 0x13E6, 0x6CFF, 0xFF08,
0x1F08, 0x1006, 0x3880, 0x1C38,0x108, 0x1006, 0x1080, 0x70E0,
0x108, 0x1FE6, 0x3881, 0xC380,0x108, 0x26, 0x6C87, 0xE00,
0xFF0F, 0xFE26, 0x449C, 0x3800,0x8000, 0x3326, 0x4C90, 0xE000,
0x8000, 0x31A6, 0x5890, 0x8000,0xFFFF, 0xF8E6, 0x719F, 0x8000,
0x0, 0xC66, 0x6300, 0x0,0x0, 0x626, 0x4600, 0x0,
0x0, 0x306, 0xC00, 0x0,0x0, 0x186, 0x1800, 0x0,
0x0, 0xC6, 0x3000, 0x0,0x0, 0x66, 0x6000, 0x0,
0x0, 0x36, 0xC000, 0x0,0x0, 0x1F, 0x8000, 0x0
};
/*----- bitmap : w = 64, h = 28 ------ */
static struct BitMap bm_1987 = {
8, 28, 0, 4,
0,
onenineeightseven0, onenineeightseven1,
onenineeightseven2, onenineeightseven0, /* Trickery here */
0, 0, 0, 0
};
struct object ob_1987 = {
&bm_1987,
61, 28,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/*************************** -- Amiga Logo -- ****************************/
UWORD amiga0[] = {
0x0, 0x0, 0x3000, 0x7FF, 0x0, 0xFF, 0x8FFF, 0x8000, 0x0, 0x0, 0x18, 0x0,
0x0, 0x0, 0x7800, 0x1FF, 0x0, 0x1FE, 0x3FE, 0x0, 0x3E, 0x0, 0x3C, 0x0,
0x0, 0x0, 0xF800, 0x1FF, 0x0, 0x3F8, 0x1FC, 0x0, 0x3FF, 0x0,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7001, 0xF800, 0x307F, 0x180, 0x3F00, 0x3F83, 0xFF00, 0xFFFC, 0x38, 0xFC, 0x0,
0x0, 0xE001, 0xF800, 0x307F, 0x300, 0x3F00, 0x3F83, 0xFF00, 0x3FF0, 0x70, 0xFC, 0x0,
0x1, 0xFFFF, 0xF800, 0x307F, 0x600, 0x3F00, 0x3F87, 0xFF00, 0x1FE0, 0xFF, 0xFFFC, 0x0,
0x3, 0xFFFF, 0xF800, 0x607F, 0xC00, 0x7E00, 0x7F07, 0xFE00, 0x1FE0, 0x1FF, 0xFFFC, 0x0,
0x7, 0x1, 0xF800, 0x607F, 0x1800, 0x7E00, 0x7F07, 0xFE00, 0x3FC0, 0x380, 0xFC, 0x0,
0xE, 0x1, 0xF800, 0x607F, 0x3000, 0x7E00, 0x7F07, 0xFF00, 0x3FC0, 0x700, 0xFC, 0x0,
0x1C, 0x1, 0xF800, 0xC07F, 0x6000, 0xFC00, 0xFE07, 0xFF00, 0x3FC0, 0xE00, 0xFC, 0x0,
0x38, 0x1, 0xF800, 0xC07F, 0xC000, 0xFC00, 0xFE03, 0xFF00, 0x7F80, 0x1C00, 0xFC, 0x0,
0x70, 0x1, 0xF800, 0xC07F, 0x8000, 0xFC00, 0xFE03, 0xFF80, 0x7F80, 0x3800, 0xFC, 0x0,
0xE0, 0x1, 0xF801, 0x807F, 0x1, 0xF801, 0xFC01, 0xFFC0, 0x7F80, 0x7000, 0xFC, 0x0,
0x1C0, 0x1, 0xF801, 0x807E, 0x1, 0xF801, 0xFC00, 0xFFC0, 0xFF00, 0xE000, 0xFC, 0x0,
0x380, 0x1, 0xF801, 0x807C, 0x1, 0xF801, 0xFC00, 0x7FF0, 0xFF01, 0xC000, 0xFC, 0x0,
0x700, 0x1, 0xF803, 0x8078, 0x3, 0xF803, 0xFC00, 0x3FFF, 0xFE03, 0x8000, 0xFC, 0x0,
0x1F00, 0x3, 0xFC07, 0xC070, 0x7, 0xFC07, 0xFE00, 0xFFF, 0xFC0F, 0x8000, 0x1FE, 0x0,
0xFFE0, 0xF, 0xFF1F, 0xF060, 0x1F, 0xFF3F, 0xFF80, 0x1FF, 0xF07F, 0xF000, 0x7FF, 0x8000
};
/*------ plane # 1-3: --------*/
UWORD amiga1[384];
/*----- bitmap : w = 192, h = 32 ------ */
struct BitMap bm_amiga = {
24, 32, 0, 4,
0,
amiga0, amiga1, amiga1, amiga1, /* Trickery here */
0, 0, 0, 0
};
struct object ob_amiga = {
&bm_amiga,
177, 32,
1,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/****************************** -- Boing -- ******************************/
static UWORD boing0[] = {
0x7F, 0x0, 0x18E, 0xC000, 0x731, 0xB000, 0xE71, 0xC800,
0x138E, 0x3400, 0x370F, 0x1A00, 0x270F, 0x1E00, 0x78F0, 0xE100,
0x58F0, 0xE100, 0xB0F0, 0xF180, 0xB0F0, 0xF180, 0xB0F0, 0xF180,
0xCF0F, 0xE80, 0xCF0F, 0xE80, 0xCF0F, 0xE80, 0xC70F, 0x1C80,
0x470F, 0x1D00, 0x78F0, 0xE300, 0x2CF0, 0xE200, 0x2C71, 0xC600,
0x138E, 0x3C00, 0x98C, 0x7800, 0x673, 0xB000, 0x196, 0xC000,
0x7F, 0x0
};
/*----- bitmap : w = 32, h = 25 ------ */
static struct BitMap bm_boing = {
4, 25, 0, 4,
0,
boing0, boing0, boing0, boing0, /* Trickery here */
0, 0, 0, 0
};
struct object ob_boing = {
&bm_boing,
25, 25,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/******************************* -- BPTR1 -- ******************************/
static UWORD bptr10[9];
static UWORD bptr11[] = {
0x800, 0x4900, 0x2A00, 0x1C00, 0xFF80, 0x1C00, 0x2A00, 0x4900,
0x800
};
/*----- bitmap : w = 16, h = 9 ------ */
static struct BitMap bm_bptr1 = {
2, 9, 0, 4,
0,
bptr10, bptr11, bptr10, bptr11, /* Trickery here */
0, 0, 0, 0
};
struct object ob_bptr1 = {
&bm_bptr1,
9, 9,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/****************************** -- BPTR2 -- *******************************/
static UWORD bptr20[] = {
0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00, 0xFF00
};
static UWORD bptr22[8];
/*----- bitmap : w = 16, h = 8 ------ */
static struct BitMap bm_bptr2 = {
2, 8, 0, 4,
0,
bptr20, bptr20, bptr22, bptr20, /* Trickery here */
0, 0, 0, 0
};
struct object ob_bptr2 = {
&bm_bptr2,
8, 8,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/****************************** -- BPTR3 -- *******************************/
static UWORD bptr30[] = {
0x100, 0x300, 0x700, 0xF00, 0x1F00, 0x3F00, 0x7F00, 0xFF00
};
static UWORD bptr31[8];
/*----- bitmap : w = 16, h = 8 ------ */
static struct BitMap bm_bptr3 = {
2, 8, 0, 4,
0,
bptr30, bptr31, bptr30, bptr30, /* More tricks... */
0, 0, 0, 0
};
struct object ob_bptr3 = {
&bm_bptr3,
8, 8,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/******************************* -- BPTR4 -- ******************************/
static UWORD bptr40[8];
static UWORD bptr42[] = {
0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800, 0xF800
};
/*----- bitmap : w = 16, h = 8 ------ */
static struct BitMap bm_bptr4 = {
2, 8, 0, 4,
0,
bptr40, bptr40, bptr42, bptr42, /* More tricks */
0, 0, 0, 0
};
struct object ob_bptr4 = {
&bm_bptr4,
5, 8,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/****************************** -- Skull -- ******************************/
static UWORD skull0[] = {
0xE00, 0x1F00, 0x4440, 0xDB60, 0x2E80, 0x1500, 0xA00, 0x400,
0xA00, 0x3180, 0x1100
};
static UWORD skull1[] = {
0xE00, 0x1F00, 0x5F40, 0xDB60, 0x2E80, 0x1500, 0xA00, 0x400,
0xA00, 0x3180, 0x1100
};
/*----- bitmap : w = 16, h = 11 ------ */
static struct BitMap bm_skull = {
2, 11, 0, 4,
0,
skull0, skull1, skull0, skull1,
0, 0, 0, 0
};
struct object ob_skull = {
&bm_skull,
11, 11,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 4 /* Motionless (more or less) */
};
/********************* -- MIPS (hero's bullet) -- ************************/
static UWORD mips0[] = { 0xFAEE, 0xAAA8, 0xAAEE, 0x8A82, 0x8A8E };
/*----- bitmap : w = 16, h = 5 ------ */
static struct BitMap bm_mips = {
2, 5, 0, 4,
0,
mips0, mips0, mips0, mips0, /* Trickery */
0, 0, 0, 0
};
struct object ob_mips = {
&bm_mips,
15, 5,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
2, 1
};