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:1431:1432:0:
-openfiles: /dos/z/16/src/scroll.c:19850:19233:0:
+openfiles: /dos/z/16/src/scroll.c:19798:19084:0:
openfiles: /dos/z/16/src/fmemtest.c:116:0:0:
openfiles: /dos/z/16/src/emmtest.c:732:0:0:
openfiles: /dos/z/16/src/emsdump.c:456:0:0:
openfiles: /dos/z/16/src/test2.c:0:0:0:
openfiles: /dos/z/16/src/lib/planar.h:602:0:0:
openfiles: /dos/z/16/src/lib/PLANAR.C:0:0:0:
-openfiles: /dos/z/16/src/lib/bitmap.c:0:0:0:
+openfiles: /dos/z/16/src/lib/bitmap.c:294:0:0:
openfiles: /dos/z/16/src/lib/bitmap.h:257:0:0:
-openfiles: /dos/z/16/src/lib/modex16.c:22970:22527:0:
-openfiles: /dos/z/16/src/lib/modex16.h:2168:1159:0:
-openfiles: /dos/z/16/src/lib/dos_kb.c:3264:2408:1:
+openfiles: /dos/z/16/src/lib/modex16.c:23968:23029:1:
+openfiles: /dos/z/16/src/lib/modex16.h:2566:1791:0:
+openfiles: /dos/z/16/src/lib/dos_kb.c:3264:2598:0:
openfiles: /dos/z/16/src/lib/dos_kb.h:0:0:0:
openfiles: /dos/z/16/src/lib/mapread.c:2265:1988:0:
openfiles: /dos/z/16/src/lib/mapread.h:584:0:0:
openfiles: /dos/z/16/src/lib/jsmn/farjsmn.c:7182:6673:0:
openfiles: /dos/z/16/src/lib/jsmn/farjsmn.h:861:381:0:
openfiles: /dos/z/16/src/lib/lib_head.c:0:0:0:
-openfiles: /dos/z/16/src/lib/lib_head.h:2424:2067:0:
+openfiles: /dos/z/16/src/lib/lib_head.h:2786:2219:0:
openfiles: /dos/z/16/makefile:2533:2535:0:
-openfiles: /dos/z/16/src/lib/types.h:165:0:0:
+openfiles: /dos/z/16/src/lib/types.h:274:0:0:
snr_recursion_level: 0
convertcolumn_horizontally: 0
adv_open_matchname: 0
opendir: file:///dos/z/16/src/lib
wrap_text_default: 0
bookmarks_filename_mode: 1
-ssearch_text: reg
+ssearch_text: memset
snr_casesens: 0
view_blocks: 1
name: Project 16
htmlbar_view: 0
spell_lang: en
ssearch_dotmatchall: 0
-searchlist: 44
-searchlist: page, x, y, w.width, w.height, &w);
-searchlist: bmp(
-searchlist: modexDrawBmp
-searchlist: CopyPageRegion
-searchlist: vga
-searchlist: VGA
searchlist: =VGA
searchlist: = VGA
searchlist: FARPTR
searchlist: (*bmp)=bitmapLoadPcx("data/font.pcx");(*bmp)=bitmapLoadPcx("data/font.pcx");
searchlist: modexDraws
searchlist: reg
+searchlist: animate
+searchlist: SelectPlane
+searchlist: modexClearRegion(page_t *page, int x, int y, int w, int h, byte color) {
+searchlist: cla
+searchlist: clear
+searchlist: trigg
+searchlist: memset
autocomplete: 1
outputb_show_all_output: 0
bookmarks_show_mode: 0
regs_t regs;
\r
/* use BIOS INT 10h AX=1130h to find font #3 (8x8) in ROM */\r
- //memset(®s, 0, sizeof(regs)); /* for Watcom C */\r
+ memset(®s, 0, sizeof(regs)); /* for Watcom C */\r
regs.w.ax = 0x1130;\r
regs.w.bx = 0x0300;\r
intr(0x10, ®s);\r
/*****************************************************************************\r
*****************************************************************************/\r
-void bputs(page_t *page, bitmap_t *bmp, int x, int y, const char *s)\r
+void bputs(page_t *pee, int x, int y, const char *s)\r
{\r
byte far *font;
- //byte far *fontoffset;
- //bitmap_t w; //font bitmap wwww
+ byte far *fontoffset;
\r
font = bios_8x8_font();
//printf("font=%Fp\n", font);\r
for(; *s != '\0'; s++)\r
- {
-//++++ (*bmp)=bitmapLoadPcx("data/font.pcx");\r
+ {\r
//src.raster = font + 8 * (*s);
- //bmp->width=8;
- //w.height=8;
//BLOODY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111111111111!!!11!!11!111!11!!1111!!111!11!!1!!!11!11!!1!!111!11!!
-//++++ (*(bmp->data)) = (*(font + 8 * (*s)));
+// (*(bmp->data)) = (*(font + 8 * (*s)));
//printf("fontoffset=%Fp\n", font + 8 * (*s));
//printf("*fontoffset=%s\n", *(font + 8 * (*s)));
//printf("*w.data=%s\n", *(w.data));
//blit1(&src, bmp, x, y);
// modexDrawSprite(page, x, y, bmp);
- modexDrawBmp(page, x, y, bmp);
+// modexDrawBmp(page, x, y, bmp);
+// printf("%x\n", (*(font + 8 * (*s))));
+ //_fmemset(VGA, *(font + 8 * (*s)), _msize(font));
+ //draw text?!?! wwww
+ modexClearRegion(pee, x, y, 8, 8, 4);
x += 8;\r
}
- //printf("\n");\r
+// printf("\n");\r
}
void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/);
void modexWaitBorder();
byte far *bios_8x8_font(void);
-void bputs(page_t *page, bitmap_t *bmp, int x, int y, const char *s);
+void bputs(page_t *pee, int x, int y, const char *s);
/* -======================= Constants & Vars ==========================- */
extern byte far* VGA; /* The VGA Memory */
byte *ptr;
byte *mappalptr;\r
actor_t player;
- bitmap_t font;\r
+// bitmap_t font;\r
//actor_t npc0;\r
\r
// atexit(qclean());\r
/* data */\r
//0000 printf("Total used @ before image loading: %zu\n", oldfreemem-GetFreeSize());
ptmp = bitmapLoadPcx("data/ptmp.pcx"); // load sprite
- //font = bitmapLoadPcx("data/font.pcx");
+// font = bitmapLoadPcx("data/font.pcx");
//npctmp = bitmapLoadPcx("ptmp1.pcx"); // load sprite\r
\r
/* create the planar buffer */\r
}\r
if(player.q == (TILEWH/SPEED)+1 && player.d > 0 && (player.triggerx == 5 && player.triggery == 5)){ player.hp--; }\r
//if(keyp(0x0E)) while(1){ if(xmsmalloc(24)) break; }
- if(keyp(0x44)) bputs(bg->page, &font, player.triggerx, player.triggery, "wwww"); //f10
+ if(keyp(0x44)){ bputs(spri->page, player.x+(TILEWH*2), player.y+(TILEWH*2), "wwww"); } //f10
if(keyp(25)){ pdump(bg); pdump(spri); }\r
if(keyp(24)){ modexPalUpdate0(gpal); paloffset=0; pdump(bg); pdump(spri); }\r
if(keyp(22)){\r