home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d115
/
marketroid.lha
/
Marketroid
/
src
/
letters.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-11-22
|
10KB
|
332 lines
/* :ts=8 bk=0
*
* letters.c: The letters to "MARKETROID:".
*
* Leo L. Schwab 8710.1 (415) 456-3960
*/
#include <exec/types.h>
#include <graphics/gfx.h>
#include "marketroid.h"
/******************************* -- M -- **********************************/
static UWORD M0[] = {
0x0, 0x0, 0x3FFF, 0xE000, 0x7FFF, 0xF000, 0x7070, 0x7000,
0x7070, 0x7000, 0x7070, 0x7000, 0x7070, 0x7000, 0x7070, 0x7000,
0x7070, 0x7000, 0x7020, 0x7000, 0x7000, 0xF000, 0x7001, 0xF000,
0x7001, 0xF000, 0x7001, 0xF000, 0x7001, 0xF000, 0x7001, 0xF000,
0x7001, 0xF000, 0x7001, 0xF000, 0x2000, 0xE000, 0x0, 0x0
};
static UWORD M1[] = {
0x7FFF, 0xF000, 0xFFFF, 0xF800, 0xFFFF, 0xF800, 0xFFFF, 0xF800,
0xF8F8, 0xF800, 0xF8F8, 0xF800, 0xF8F8, 0xF800, 0xF8F8, 0xF800,
0xF8F8, 0xF800, 0xF8F9, 0xF800, 0xF873, 0xF800, 0xF803, 0xF800,
0xF803, 0xF800, 0xF803, 0xF800, 0xF803, 0xF800, 0xF803, 0xF800,
0xF803, 0xF800, 0xF803, 0xF800, 0xF801, 0xF800, 0x7001, 0xF000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_M = {
4, 20, 0, 4,
0,
M0, M1, M0, M1,
0, 0, 0, 0
};
struct object ob_M = {
&bm_M,
21, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/******************************** -- A -- ********************************/
static UWORD A0[] = {
0x0, 0x0, 0x3FFF, 0xC000, 0x7FFF, 0xE000, 0x7000, 0xE000,
0x7000, 0xE000, 0x7000, 0xE000, 0x7000, 0xE000, 0x7000, 0xE000,
0x7000, 0xE000, 0x7FFF, 0xE000, 0x7FFF, 0xE000, 0x7C00, 0xE000,
0x7C00, 0xE000, 0x7C00, 0xE000, 0x7C00, 0xE000, 0x7C00, 0xE000,
0x7C00, 0xE000, 0x7C00, 0xE000, 0x3800, 0x4000, 0x0, 0x0
};
static UWORD A1[] = {
0x7FFF, 0xE000, 0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000,
0xF801, 0xF000, 0xF801, 0xF000, 0xF801, 0xF000, 0xF801, 0xF000,
0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000,
0xFE01, 0xF000, 0xFE01, 0xF000, 0xFE01, 0xF000, 0xFE01, 0xF000,
0xFE01, 0xF000, 0xFE01, 0xF000, 0xFE01, 0xF000, 0x7C00, 0xE000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_A = {
4, 20, 0, 4,
0,
A0, A1, A0, A1,
0, 0, 0, 0
};
struct object ob_A = {
&bm_A,
20, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/******************************** -- R -- *********************************/
static UWORD R0[] = {
0x0, 0x0, 0x3FFF, 0x0, 0x7FFF, 0x8000, 0x7001, 0x8000,
0x7001, 0x8000, 0x7001, 0x8000, 0x7001, 0x8000, 0x7001, 0x8000,
0x7001, 0xC000, 0x7FFF, 0xE000, 0x7FFF, 0xE000, 0x7C00, 0xE000,
0x7C00, 0xE000, 0x7C00, 0xE000, 0x7C00, 0xE000, 0x7C00, 0xE000,
0x7C00, 0xE000, 0x7C00, 0xE000, 0x3800, 0x4000, 0x0, 0x0
};
static UWORD R1[] = {
0x7FFF, 0x8000, 0xFFFF, 0xC000, 0xFFFF, 0xC000, 0xFFFF, 0xC000,
0xF803, 0xC000, 0xF803, 0xC000, 0xF803, 0xC000, 0xF803, 0xE000,
0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000,
0xFE01, 0xF000, 0xFE01, 0xF000, 0xFE01, 0xF000, 0xFE01, 0xF000,
0xFE01, 0xF000, 0xFE01, 0xF000, 0xFE01, 0xF000, 0x7C00, 0xE000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_R = {
4, 20, 0, 4,
0,
R0, R1, R0, R1,
0, 0, 0, 0
};
struct object ob_R = {
&bm_R,
20, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/********************************* -- K -- *******************************/
static UWORD K0[] = {
0x0, 0x0, 0x200C, 0x0, 0x701C, 0x0, 0x7038, 0x0,
0x7070, 0x0, 0x70E0, 0x0, 0x71C0, 0x0, 0x7380, 0x0,
0x7700, 0x0, 0x7FFF, 0x0, 0x7FFF, 0x8000, 0x7C03, 0x8000,
0x7C03, 0x8000, 0x7C03, 0x8000, 0x7C03, 0x8000, 0x7C03, 0x8000,
0x7C03, 0x8000, 0x7C03, 0x8000, 0x3801, 0x0, 0x0, 0x0
};
static UWORD K1[] = {
0x701E, 0x0, 0xF83E, 0x0, 0xF87E, 0x0, 0xF8FE, 0x0,
0xF9FC, 0x0, 0xFBF8, 0x0, 0xFFF0, 0x0, 0xFFE0, 0x0,
0xFFFF, 0x8000, 0xFFFF, 0xC000, 0xFFFF, 0xC000, 0xFFFF, 0xC000,
0xFE07, 0xC000, 0xFE07, 0xC000, 0xFE07, 0xC000, 0xFE07, 0xC000,
0xFE07, 0xC000, 0xFE07, 0xC000, 0xFE07, 0xC000, 0x7C03, 0x8000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_K = {
4, 20, 0, 4,
0,
K0, K1, K0, K1,
0, 0, 0, 0
};
struct object ob_K = {
&bm_K,
18, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/********************************* -- E -- ********************************/
static UWORD E0[] = {
0x0, 0x0, 0x3FFF, 0x0, 0x7FFF, 0x8000, 0x7000, 0x0,
0x7000, 0x0, 0x7000, 0x0, 0x7000, 0x0, 0x7000, 0x0,
0x7000, 0x0, 0x7FFF, 0x8000, 0x7FFF, 0x8000, 0x7C00, 0x0,
0x7C00, 0x0, 0x7C00, 0x0, 0x7C00, 0x0, 0x7C00, 0x0,
0x7C00, 0x0, 0x7FFF, 0x8000, 0x3FFF, 0x0, 0x0, 0x0
};
static UWORD E1[] = {
0x7FFF, 0x8000, 0xFFFF, 0xC000, 0xFFFF, 0xC000, 0xFFFF, 0xC000,
0xF800, 0x0, 0xF800, 0x0, 0xF800, 0x0, 0xF800, 0x0,
0xFFFF, 0xC000, 0xFFFF, 0xC000, 0xFFFF, 0xC000, 0xFFFF, 0xC000,
0xFE00, 0x0, 0xFE00, 0x0, 0xFE00, 0x0, 0xFE00, 0x0,
0xFFFF, 0xC000, 0xFFFF, 0xC000, 0xFFFF, 0xC000, 0x7FFF, 0x8000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_E = {
4, 20, 0, 4,
0,
E0, E1, E0, E1,
0, 0, 0, 0
};
struct object ob_E = {
&bm_E,
18, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/********************************* -- T -- ********************************/
static UWORD T0[] = {
0x0, 0x0, 0x3FFF, 0xE000, 0x7FFF, 0xF000, 0x70, 0x0,
0x70, 0x0, 0x70, 0x0, 0x78, 0x0, 0x7C, 0x0,
0x7C, 0x0, 0x7C, 0x0, 0x7C, 0x0, 0x7C, 0x0,
0x7C, 0x0, 0x7C, 0x0, 0x7C, 0x0, 0x7C, 0x0,
0x7C, 0x0, 0x7C, 0x0, 0x38, 0x0, 0x0, 0x0
};
static UWORD T1[] = {
0x7FFF, 0xF000, 0xFFFF, 0xF800, 0xFFFF, 0xF800, 0xFFFF, 0xF800,
0xF8, 0x0, 0xFC, 0x0, 0xFE, 0x0, 0xFE, 0x0,
0xFE, 0x0, 0xFE, 0x0, 0xFE, 0x0, 0xFE, 0x0,
0xFE, 0x0, 0xFE, 0x0, 0xFE, 0x0, 0xFE, 0x0,
0xFE, 0x0, 0xFE, 0x0, 0xFE, 0x0, 0x7C, 0x0
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_T = {
4, 20, 0, 4,
0,
T0, T1, T0, T1,
0, 0, 0, 0
};
struct object ob_T = {
&bm_T,
21, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/********************************** -- O -- *******************************/
static UWORD O0[] = {
0x0, 0x0, 0x3FFF, 0xC000, 0x7FFF, 0xE000, 0x7003, 0xE000,
0x7003, 0xE000, 0x7003, 0xE000, 0x7003, 0xE000, 0x7001, 0xE000,
0x7000, 0xE000, 0x7000, 0xE000, 0x7000, 0xE000, 0x7000, 0xE000,
0x7000, 0xE000, 0x7000, 0xE000, 0x7000, 0xE000, 0x7000, 0xE000,
0x7000, 0xE000, 0x7FFF, 0xE000, 0x3FFF, 0xC000, 0x0, 0x0
};
static UWORD O1[] = {
0x7FFF, 0xE000, 0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000,
0xF807, 0xF000, 0xF807, 0xF000, 0xF807, 0xF000, 0xF807, 0xF000,
0xF803, 0xF000, 0xF801, 0xF000, 0xF801, 0xF000, 0xF801, 0xF000,
0xF801, 0xF000, 0xF801, 0xF000, 0xF801, 0xF000, 0xF801, 0xF000,
0xFFFF, 0xF000, 0xFFFF, 0xF000, 0xFFFF, 0xF000, 0x7FFF, 0xE000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_O = {
4, 20, 0, 4,
0,
O0, O1, O0, O1,
0, 0, 0, 0
};
struct object ob_O = {
&bm_O,
20, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/********************************** -- I -- *******************************/
static UWORD I0[] = {
0x0, 0x800, 0x1C00, 0x1C00, 0x1C00, 0x1C00, 0x1C00, 0x1C00,
0x1C00, 0x1C00, 0x3C00, 0x7C00, 0x7C00, 0x7C00, 0x7C00, 0x7C00,
0x7C00, 0x7C00, 0x3800, 0x0
};
static UWORD I1[] = {
0x1C00, 0x3E00, 0x3E00, 0x3E00, 0x3E00, 0x3E00, 0x3E00, 0x3E00,
0x3E00, 0x7E00, 0xFE00, 0xFE00, 0xFE00, 0xFE00, 0xFE00, 0xFE00,
0xFE00, 0xFE00, 0xFE00, 0x7C00
};
/*----- bitmap : w = 16, h = 20 ------ */
static struct BitMap bm_I = {
2, 20, 0, 4,
0,
I0, I1, I0, I1,
0, 0, 0, 0
};
struct object ob_I = {
&bm_I,
7, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/********************************* -- D -- ********************************/
static UWORD D0[] = {
0x0, 0x0, 0x3FFF, 0x0, 0x7FFF, 0x8000, 0x7001, 0xC000,
0x7001, 0xC000, 0x7001, 0xC000, 0x7001, 0xC000, 0x7001, 0xC000,
0x7001, 0xC000, 0x7001, 0xC000, 0x7801, 0xC000, 0x7C01, 0xC000,
0x7C01, 0xC000, 0x7C01, 0xC000, 0x7C01, 0xC000, 0x7C01, 0xC000,
0x7C01, 0xC000, 0x7FFF, 0x8000, 0x3FFF, 0x0, 0x0, 0x0
};
static UWORD D1[] = {
0x7FFF, 0x8000, 0xFFFF, 0xC000, 0xFFFF, 0xE000, 0xFFFF, 0xE000,
0xF803, 0xE000, 0xF803, 0xE000, 0xF803, 0xE000, 0xF803, 0xE000,
0xF803, 0xE000, 0xFC03, 0xE000, 0xFE03, 0xE000, 0xFE03, 0xE000,
0xFE03, 0xE000, 0xFE03, 0xE000, 0xFE03, 0xE000, 0xFE03, 0xE000,
0xFFFF, 0xE000, 0xFFFF, 0xE000, 0xFFFF, 0xC000, 0x7FFF, 0x8000
};
/*----- bitmap : w = 32, h = 20 ------ */
static struct BitMap bm_D = {
4, 20, 0, 4,
0,
D0, D1, D0, D1,
0, 0, 0, 0
};
struct object ob_D = {
&bm_D,
19, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};
/******************************** -- : -- ********************************/
static UWORD colon0[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x3F80, 0x7FC0, 0x3F80,
0x0, 0x0, 0x0, 0x0, 0x3F80, 0x7FC0, 0x3F80, 0x0,
0x0, 0x0, 0x0, 0x0
};
static UWORD colon1[] = {
0x0, 0x0, 0x0, 0x0, 0x7FC0, 0xFFE0, 0xFFE0, 0xFFE0,
0x7FC0, 0x0, 0x0, 0x7FC0, 0xFFE0, 0xFFE0, 0xFFE0, 0x7FC0,
0x0, 0x0, 0x0, 0x0
};
/*----- bitmap : w = 16, h = 20 ------ */
static struct BitMap bm_colon = {
2, 20, 0, 4,
0,
colon0, colon1, colon0, colon1, /* Trickery here */
0, 0, 0, 0
};
struct object ob_colon = {
&bm_colon,
11, 20,
1, NULL,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0 /* Motionless (more or less) */
};