openfiles: /dos/z/16/doc/project.txt:138:0:0:
openfiles: /dos/z/16/src/palettec.c:179:0:0:
openfiles: /dos/z/16/src/pcxtest.c:141:0:0:
-openfiles: /dos/z/16/src/scroll.c:3783:3119:1:
+openfiles: /dos/z/16/src/scroll.c:8595:7726:1:
openfiles: /dos/z/16/src/fmemtest.c:116:0:0:
openfiles: /dos/z/16/src/emmtest.c:439:0:0:
openfiles: /dos/z/16/src/emsdump.c:456:0:0:
openfiles: /dos/z/16/src/test.c:0:0:0:
openfiles: /dos/z/16/src/test2.c:0:0:0:
openfiles: /dos/z/16/src/lib/modex16.c:2760:2448:0:
-openfiles: /dos/z/16/src/lib/modex16.h:1833:866:0:
+openfiles: /dos/z/16/src/lib/modex16.h:503:0:0:
openfiles: /dos/z/16/src/lib/planar.h:131:0:0:
openfiles: /dos/z/16/src/lib/PLANAR.C:0:0:0:
openfiles: /dos/z/16/src/lib/bitmap.c:1152:604:0:
opendir: file:///dos/z/16/src
wrap_text_default: 0
bookmarks_filename_mode: 1
-ssearch_text: mv
+ssearch_text: mapscroll
snr_casesens: 0
view_blocks: 1
name: Project 16
+replacelist: mv[id]
+replacelist: ].
+replacelist: mv[id].
fb_show_hidden_f: 0
editor_tab_width: 4
template: /usr/share/bluefish/templates/C_header_GPL
htmlbar_view: 0
spell_lang: en
ssearch_dotmatchall: 0
-searchlist: modexShowPage()
+searchlist: vo scroll
+searchlist: voi scroll
+searchlist: void scrollright
+searchlist: void mscrollright
+searchlist: void mascrollright
+searchlist: void mapscrollright
searchlist: scrollright
-searchlist: col
-searchlist: dacol
-searchlist: dcol
-searchlist: drcol
-searchlist: dracol
-searchlist: drawcol
-searchlist: scrolle
-searchlist: scrollr
-searchlist: map_view_db_tscr
-searchlist: scrollright
-searchlist: map_view_db_t *mvdb, byte offset, word id
-searchlist: scrollright
-searchlist: mv
+searchlist: mvdb[id].mv
+searchlist: ]->
+searchlist: scroll
+searchlist: mscroll
+searchlist: mascroll
+searchlist: maposcroll
+searchlist: mapscroll
+searchlist: mv->
autocomplete: 1
outputb_show_all_output: 0
bookmarks_show_mode: 0
editor_indent_wspaces: 0
view_cline: 1
snr_type: 0
-snr_scope: 2
+snr_scope: 0
bmarksearchmode: 0
view_main_toolbar: 1
e2c.convert_symbol: 0
void mapDrawCol(map_view_t *mv, int tx, int ty, word x);\r
void qclean();\r
void pdump(map_view_t *pee);\r
-void animatePlayer(map_view_t *src, map_view_t *dest, /*map_view_t *top, */sword d, short scrolloffsetswitch, int x, int y, int ls, int lp, bitmap_t *bmp);\r
+void animatePlayer(map_view_t *src, map_view_t *dest, /*map_view_t *top, */sword d, short scrolloffsetswitch, int x, int y, int ls, int lp, bitmap_t *bmp);
\r
#define TILEWH 16\r
#define QUADWH TILEWH/2\r
bg = &mv[0];\r
spri = &mv[1];\r
mask = &mv[2];
- //pgid[0].mv = &mv;
- //pgid[1].mv = &mv2;
- //pgid[2].mv = &mv3;\r
\r
//TODO: LOAD map data and position the map in the middle of the screen if smaller then screen\r
mapGoTo(bg, 0, 0);\r
{\r
INC_PER_FRAME;\r
//animatePlayer(bg, spri, mask, 1, 1, player.x, player.y, persist_aniframe, q, &ptmp);\r
- animatePlayer(bg, spri, player.d-1, 1, player.x, player.y, persist_aniframe, player.q, &ptmp);\r
+ animatePlayer(bg, spri, player.d-1, 1, player.x, player.y, persist_aniframe, player.q, &ptmp);
mapScrollRight(mv, SPEED, 0);\r
- mapScrollRight(mv, SPEED, 1);\r
+ mapScrollRight(mv, SPEED, 1);
//mapScrollRight(mask, SPEED);\r
modexShowPage(spri->page);\r
player.q++;\r
}\r
//tile = tile ? 0 : 1;\r
}*/\r
-}\r
-\r
+}
+
\r
void\r
mapScrollRight(map_view_t *mv, byte offset, word id)
/* draw the next column */\r
x= SCREEN_WIDTH + mv[id].map->tiles->tileWidth;\r
if(id==0)
- mapDrawCol(&mv[id], mv[id].tx + 20 , mv[id].ty-1, x);
+ mapDrawCol(&mv[0], mv[0].tx + 20 , mv[0].ty-1, x);
else
modexCopyPageRegion(mv[id].page, mv[0].page, x, 0, x, 0, mv[id].map->tiles->tileWidth, mv[id].map->tiles->tileHeight*17);
}\r
mv[id].page->data -= 4;\r
mv[id].page->dx = mv[id].map->tiles->tileWidth;\r
\r
- /* draw the next column */\r
+ /* draw the next column */
+ x= 0;\r
if(id==0)\r
- mapDrawCol(&mv[0], mv[id].tx-1, mv[id].ty-1, 0);
+ mapDrawCol(&mv[0], mv[0].tx-1, mv[0].ty-1, 0);
else
- modexCopyPageRegion(mv[id].page, mv[0].page, 0, 0, 0, 0, mv[id].map->tiles->tileWidth, mv[id].map->tiles->tileHeight*17);\r
+ modexCopyPageRegion(mv[id].page, mv[0].page, x, 0, x, 0, mv[id].map->tiles->tileWidth, mv[id].map->tiles->tileHeight*17);\r
}\r
}\r
\r
mv[id].page->dy = mv[id].map->tiles->tileHeight;\r
\r
/* draw the next row */\r
- //y= 0;\r
+ y= 0;\r
if(id==0)\r
- mapDrawRow(&mv[0], mv[id].tx-1 , mv[id].ty-1, 0);
+ mapDrawRow(&mv[0], mv[0].tx-1 , mv[0].ty-1, 0);
else\r
- modexCopyPageRegion(mv[id].page, mv[0].page, 0, 0, 0, 0, mv[id].map->tiles->tileWidth*22, mv[id].map->tiles->tileHeight);
+ modexCopyPageRegion(mv[id].page, mv[0].page, 0, y, 0, y, mv[id].map->tiles->tileWidth*22, mv[id].map->tiles->tileHeight);
}\r
}\r
\r
/* draw the next row */\r
y= SCREEN_HEIGHT + mv[id].map->tiles->tileHeight;\r
if(id==0)\r
- mapDrawRow(&mv[0], mv[id].tx-1 , mv[id].ty+15, y);
+ mapDrawRow(&mv[0], mv[0].tx-1 , mv[0].ty+15, y);
else
modexCopyPageRegion(mv[id].page, mv[0].page, 0, y, 0, y, mv[id].map->tiles->tileWidth*22, mv[id].map->tiles->tileHeight);\r
}\r