|
Lines 67-73
Link Here
|
| 67 |
" /( )`", |
67 |
" /( )`", |
| 68 |
" \\ \\___ / |", |
68 |
" \\ \\___ / |", |
| 69 |
" /- _ `-/ '", |
69 |
" /- _ `-/ '", |
| 70 |
" (/\\/ \\ \\ /\\", |
70 |
" (/\\/^\\ \\ /\\", |
| 71 |
" / / | ` \\", |
71 |
" / / | ` \\", |
| 72 |
" O O ) / |", |
72 |
" O O ) / |", |
| 73 |
" `-^--'`< '", |
73 |
" `-^--'`< '", |
|
Lines 89-96
Link Here
|
| 89 |
" R R", |
89 |
" R R", |
| 90 |
" RR RR", |
90 |
" RR RR", |
| 91 |
" R RRRR R R", |
91 |
" R RRRR R R", |
| 92 |
" RR W RRR R", |
92 |
" RR R RRR R", |
| 93 |
" RWWW W R RR", |
93 |
" RWWWWW R RR", |
| 94 |
" W W W R R", |
94 |
" W W W R R", |
| 95 |
" B B W R R", |
95 |
" B B W R R", |
| 96 |
" WWWWWWRR R", |
96 |
" WWWWWWRR R", |
|
Lines 135-143
Link Here
|
| 135 |
|
135 |
|
| 136 |
if (xlen <= 0) |
136 |
if (xlen <= 0) |
| 137 |
return; |
137 |
return; |
| 138 |
for (y = yoff; y < ylen; y++) |
138 |
for (y = yoff; y < ylen; y++) { |
|
|
139 |
#ifdef PC98 |
| 140 |
fillw(scr_map[0x20], |
| 141 |
CONSOLE_VECT(xpos + xoff, ypos + y), xlen - xoff); |
| 142 |
fillw(at2pc98((FG_LIGHTGREY|BG_BLACK)<<8), |
| 143 |
CONSOLE_VECT(xpos + xoff, ypos + y), xlen - xoff); |
| 144 |
#else |
| 139 |
fillw(((FG_LIGHTGREY|BG_BLACK) << 8) | scr_map[0x20], |
145 |
fillw(((FG_LIGHTGREY|BG_BLACK) << 8) | scr_map[0x20], |
| 140 |
CONSOLE_VECT(xpos + xoff, ypos + y), xlen - xoff); |
146 |
CONSOLE_VECT(xpos + xoff, ypos + y), xlen - xoff); |
|
|
147 |
#endif |
| 148 |
} |
| 141 |
} |
149 |
} |
| 142 |
|
150 |
|
| 143 |
static void |
151 |
static void |
|
Lines 178-184
Link Here
|
| 178 |
if (dxdir < 0) { /* Moving left */ |
186 |
if (dxdir < 0) { /* Moving left */ |
| 179 |
#ifdef PC98 |
187 |
#ifdef PC98 |
| 180 |
*CONSOLE_VECT(xpos + x, ypos + y) = |
188 |
*CONSOLE_VECT(xpos + x, ypos + y) = |
| 181 |
scr_map[daemon_pic[y][x]]; |
189 |
scr_map[daemon_pic[y][px]]; |
| 182 |
*CONSOLE_ATTR(xpos + x, ypos + y) = |
190 |
*CONSOLE_ATTR(xpos + x, ypos + y) = |
| 183 |
at2pc98(attr); |
191 |
at2pc98(attr); |
| 184 |
#else |
192 |
#else |
|
Lines 187-195
Link Here
|
| 187 |
#endif |
195 |
#endif |
| 188 |
} else { /* Moving right */ |
196 |
} else { /* Moving right */ |
| 189 |
#ifdef PC98 |
197 |
#ifdef PC98 |
| 190 |
*CONSOLE_VECT(xpos + DAEMON_MAX_WIDTH - x - 1, ypos + y) = |
198 |
*CONSOLE_VECT(xpos + DAEMON_MAX_WIDTH - px - 1, ypos + y) = |
| 191 |
scr_map[xflip_symbol(daemon_pic[y][x])]; |
199 |
scr_map[xflip_symbol(daemon_pic[y][px])]; |
| 192 |
*CONSOLE_ATTR(xpos + DAEMON_MAX_WIDTH - x - 1, ypos + y) = |
200 |
*CONSOLE_ATTR(xpos + DAEMON_MAX_WIDTH - px - 1, ypos + y) = |
| 193 |
at2pc98(attr); |
201 |
at2pc98(attr); |
| 194 |
#else |
202 |
#else |
| 195 |
*CONSOLE_VECT(xpos + DAEMON_MAX_WIDTH - px - 1, ypos + y) = |
203 |
*CONSOLE_VECT(xpos + DAEMON_MAX_WIDTH - px - 1, ypos + y) = |
|
Lines 205-212
Link Here
|
| 205 |
{ |
213 |
{ |
| 206 |
if (len <= 0) |
214 |
if (len <= 0) |
| 207 |
return; |
215 |
return; |
|
|
216 |
#ifdef PC98 |
| 217 |
fillw(scr_map[0x20], |
| 218 |
CONSOLE_VECT(xpos + xoff, ypos), len - xoff); |
| 219 |
fillw(at2pc98((FG_LIGHTGREY|BG_BLACK)<<8), |
| 220 |
CONSOLE_VECT(xpos + xoff, ypos), len - xoff); |
| 221 |
#else |
| 208 |
fillw(((FG_LIGHTGREY|BG_BLACK) << 8) | scr_map[0x20], |
222 |
fillw(((FG_LIGHTGREY|BG_BLACK) << 8) | scr_map[0x20], |
| 209 |
CONSOLE_VECT(xpos + xoff, ypos), len - xoff); |
223 |
CONSOLE_VECT(xpos + xoff, ypos), len - xoff); |
|
|
224 |
#endif |
| 210 |
} |
225 |
} |
| 211 |
|
226 |
|
| 212 |
static void |
227 |
static void |