From: sparky4 Date: Mon, 24 Nov 2014 00:18:23 +0000 (-0600) Subject: modified: Project 16.bfproject X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=84b5664bd59fe990ed7f3fdfda82215c4758cc62;p=16.git modified: Project 16.bfproject modified: README modified: scroll.c modified: scroll.exe --- diff --git a/Project 16.bfproject b/Project 16.bfproject index cb3ed63a..0f779e64 100644 --- a/Project 16.bfproject +++ b/Project 16.bfproject @@ -1,10 +1,10 @@ c2e.convert_special: 0 e2c.convert_num: 0 openfiles: /dos/z/16/doc/project.txt:0:0:0: -openfiles: /dos/z/16/scroll.c:12536:10702:1: -openfiles: /dos/z/16/modex16.c:15726:15322:0: -openfiles: /dos/z/16/modex16.h:2230:1258:0: -openfiles: /dos/z/16/pcxtest.c:1339:797:0: +openfiles: /dos/z/16/scroll.c:2811:2233:1: +openfiles: /dos/z/16/modex16.c:9475:0:0: +openfiles: /dos/z/16/modex16.h:393:0:0: +openfiles: /dos/z/16/pcxtest.c:1339:753:0: snr_recursion_level: 0 convertcolumn_horizontally: 0 adv_open_matchname: 0 @@ -19,12 +19,10 @@ c2e.convert_iso: 0 opendir: file:///dos/z/16 wrap_text_default: 0 bookmarks_filename_mode: 1 -ssearch_text: waitb +ssearch_text: modexDrawSpriteRegion snr_casesens: 1 view_blocks: 1 name: project 16 -replacelist: modexClearPlayer(mv->page -replacelist: animatePlayer(draw replacelist: animatePlayer(spri replacelist: modexDrawSpriteRegion(spri replacelist: spri->page = modexDefaultPage(); @@ -38,6 +36,8 @@ replacelist: modexShowPage(draw replacelist: wPage(spri replacelist: 34); replacelist: bg +replacelist: dest +replacelist: animatePlayer(bg, spri, fb_show_hidden_f: 0 editor_tab_width: 4 show_visible_spacing: 1 @@ -99,8 +99,8 @@ recent_files: file:///dos/z/16/doc/16story.txt recent_files: file:///dos/z/16/scroll.c recent_files: file:///dos/z/16/doc/project.txt recent_files: file:///dos/z/16/modex16.h -recent_files: file:///dos/z/16/modex16.c recent_files: file:///dos/z/16/pcxtest.c +recent_files: file:///dos/z/16/modex16.c snr_replacetype: 0 savedir: file:///dos/z/16 spell_check_default: 1 @@ -112,10 +112,6 @@ snr_escape_chars: 0 htmlbar_view: 0 spell_lang: en ssearch_dotmatchall: 0 -searchlist: &mv, &src, -searchlist: modexCopyPageRegion -searchlist: modexShowPage(draw -searchlist: ->page searchlist: w->page searchlist: modexShowPage(spri searchlist: howPage(draw @@ -127,6 +123,10 @@ searchlist: draw searchlist: 34) searchlist: 0x3DA searchlist: waitb +searchlist: mv +searchlist: animatePlayer(spri, bg, +searchlist: clearpl +searchlist: modexDrawSpriteRegion autocomplete: 1 outputb_show_all_output: 0 bookmarks_show_mode: 0 diff --git a/README b/README index 23a3a37c..5b8b3d8a 100644 --- a/README +++ b/README @@ -14,7 +14,8 @@ DONE 5. sprite rendering 8. map loading 9. map rendering~ 10. map and item interation -11. item inventory~ +11. item inventory~ +12. Memory management (EMS + XMS) To compile: You need Open Watcom stable to compile and just run wmake diff --git a/scroll.c b/scroll.c index ff33e3f0..0a6a8c33 100644 --- a/scroll.c +++ b/scroll.c @@ -106,7 +106,7 @@ void main() { player.y = player.ty*TILEWH; modexDrawSpriteRegion(spri->page, player.x-4, player.y-TILEWH, 24, 64, 24, 32, &ptmp); modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); - modexShowPage(spri->page); + modexShowPage(bg->page); while(!keyp(1)) { //top left corner & bottem right corner of map veiw be set as map edge trigger since maps are actually square diff --git a/scroll.exe b/scroll.exe index ec9b1125..a57e9dde 100644 Binary files a/scroll.exe and b/scroll.exe differ