]> 4ch.mooo.com Git - 16.git/blobdiff - src/fontgfx.c
ok!
[16.git] / src / fontgfx.c
old mode 100644 (file)
new mode 100755 (executable)
index ebfbb6d..4fc08ee
@@ -41,23 +41,23 @@ IIIIIII  BBBBBBBBBBB  MMMMMM     MMMMMM\n\
 IIIIIII  BBBBBBBBBBB  MMMM   MMM   MMMM\n\\r
 IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\\r
 ";\r
-       static byte rose[]="                                              :. ,..\\r
-                                            .' :~.':_.,\\r
-                                          .'   ::.::'.'\\r
-                                         :     ::'  .:\\r
-                                       `.:    .:  .:/\\r
-                                        `::--.:'.::'\\r
-                                          |. _:===-'\\r
-                                         / /\\r
-                        ,---.---.    __,','\\r
-                       (~`.  \   )   )','.,---..\\r
-                        `v`\ | ,' .-'.:,'_____   `.\\r
-                            )|/.-~.--~~--.   ~~~-. \\\r
-                          _/-'_.-~        ""---.._`.|\\r
-                     _.-~~_.-~                    ""'\\r
-              _..--~~_.(~~\\r
-   __...---~~~_..--~~\\r
-,'___...---~~~\\r
+       static byte rose[]="                                              :. ,..\n\\r
+                                            .' :~.':_.,\n\\r
+                                          .'   ::.::'.'\n\\r
+                                         :     ::'  .:\n\\r
+                                       `.:    .:  .:/\n\\r
+                                        `::--.:'.::'\n\\r
+                                          |. _:===-'\n\\r
+                                         / /\n\\r
+                        ,---.---.    __,','\n\\r
+                       (~`.  \   )   )','.,---..\n\\r
+                        `v`\ | ,' .-'.:,'_____   `.\n\\r
+                            )|/.-~.--~~--.   ~~~-. \ \n\\r
+                          _/-'_.-~        ""---.._`.|\n\\r
+                     _.-~~_.-~                    ""'\n\\r
+              _..--~~_.(~~\n\\r
+   __...---~~~_..--~~\n\\r
+,'___...---~~~\n\\r
 ";\r
 //     static byte *rosa;\r
        static word chx, chy, colpee;\r
@@ -65,8 +65,9 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
        modexEnter();\r
        /* setup camera and screen~ */\r
        screen = modexDefaultPage();\r
-       screen.width += (16*2);\r
-       screen.height += (16*2);\r
+       //screen.width += (16*2);\r
+       //screen.height += (16*2);\r
+//++++ modexShowPage(&screen);\r
        //modexprint(16, 16, 1, 15, "wwww");\r
        //getch();\r
        chx=0;\r
@@ -74,7 +75,7 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
        colpee=32;\r
        for(e=0x00; e<=0xFE; e++)\r
        {\r
-               if(chx+8>(SCREEN_WIDTH/2)-16)\r
+               if(chx+8>(screen.width/2))\r
                {\r
                        chx=0;\r
                        chy+=8;\r
@@ -90,7 +91,8 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
        //modexprint(100, 100, 1, 47, 0, "wwww");\r
        getch();\r
 //     modexprint(0, 0, 1, 0, colpee, &rose);\r
-       modexprint(&screen, 0, 0, 1, 0, colpee, &ibmlogo);\r
+//++++ modexprint(&screen, 0, 0, 0, 0, colpee, &ibmlogo);\r
+       modexprintbig(&screen, 0, 0, 1, colpee, 0, "IBM");\r
 //     modexprint(0, 0, 1, 0, colpee, ROSE);\r
        getch();\r
        modexLeave();\r