projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed compiled sprites
[dosdemo]
/
src
/
screen.c
diff --git
a/src/screen.c
b/src/screen.c
index
ea9bb94
..
8069ce8
100644
(file)
--- a/
src/screen.c
+++ b/
src/screen.c
@@
-37,6
+37,9
@@
static int num_screens;
static struct screen *cur, *prev, *next;
static long trans_start, trans_dur;
static struct screen *cur, *prev, *next;
static long trans_start, trans_dur;
+const char *dbg_curscr_name;
+int dbg_curscr_name_len, dbg_curscr_name_pos;
+
int scr_init(void)
{
int i, idx = 0;
int scr_init(void)
{
int i, idx = 0;
@@
-201,7
+204,7
@@
void start_loadscr(void)
void end_loadscr(void)
{
blitfb(loading_pixels + SPLAT_Y * 320 + SPLAT_X, loading_pixels + 320 * 240, 32, 72, 32);
void end_loadscr(void)
{
blitfb(loading_pixels + SPLAT_Y * 320 + SPLAT_X, loading_pixels + 320 * 240, 32, 72, 32);
- blitfb_key(loading_pixels + FING_Y * 320 + FING_LAST_X, loading_pixels + 247 * 320 + 64,
+ blit_key(loading_pixels + FING_Y * 320 + FING_LAST_X, 320, loading_pixels + 247 * 320 + 64,
FING_W, FING_H, FING_W, 0);
swap_buffers(loading_pixels);
sleep_msec(300);
FING_W, FING_H, FING_W, 0);
swap_buffers(loading_pixels);
sleep_msec(300);
@@
-217,7
+220,7
@@
void loadscr(int n, int count)
dptr = loading_pixels + FING_Y * 320 + FING_X + prev_xoffs;
while(prev_xoffs < xoffs) {
dptr = loading_pixels + FING_Y * 320 + FING_X + prev_xoffs;
while(prev_xoffs < xoffs) {
- blitfb_key(dptr, sptr, FING_W, FING_H, FING_W, 0);
+ blit_key(dptr, 320, sptr, FING_W, FING_H, FING_W, 0);
dptr++;
prev_xoffs++;
}
dptr++;
prev_xoffs++;
}