From 84b5664bd59fe990ed7f3fdfda82215c4758cc62 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 23 Nov 2014 18:18:23 -0600 Subject: [PATCH] modified: Project 16.bfproject modified: README modified: scroll.c modified: scroll.exe --- Project 16.bfproject | 24 ++++++++++++------------ README | 3 ++- scroll.c | 2 +- scroll.exe | Bin 19872 -> 19872 bytes 4 files changed, 15 insertions(+), 14 deletions(-) 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 ec9b1125e71c6e8c4ee90763cb29f854fa6e182e..a57e9dde17221231b80b6f945d20d25375bec60f 100644 GIT binary patch delta 16 YcmZ25n{mNx#trt2j88T@Fedl_05+}#?f?J) delta 16 YcmZ25n{mNx#trt2jAu4GFedl_05%>4)&Kwi -- 2.39.5