OSDN Git Service

no idea how to get joy buttons 2 and 3 to function.
[proj16/16.git] / src / fonttest.c
old mode 100644 (file)
new mode 100755 (executable)
index 58dbce8..c6a35b1
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2021 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -21,8 +21,8 @@
  */\r
 #include <stdio.h>\r
 #include <conio.h>\r
-#include "lib/types.h"\r
-#include "lib/16text.h"\r
+#include "src/lib/16_t.h"\r
+#include "src/lib/16text.h"\r
 \r
 void main(int argc, char near *argv[])\r
 {\r
@@ -41,9 +41,9 @@ void main(int argc, char near *argv[])
     }\r
 \r
 //     printf("*argv[1]=%d\n", *argv[1]);\r
-
+\r
        printf("Font type: ");\r
-       gets(&ct);
+       gets(&ct);\r
 \r
        printf("Character: ");\r
        gets(&c);\r
@@ -51,37 +51,37 @@ void main(int argc, char near *argv[])
        if(ct!=1)\r
        switch(ct)\r
        {\r
-               case 48:
+               case 48:\r
                        printf("type 0\n");\r
                        t=0;\r
                        w=14;\r
                break;\r
-               case 49:
+               case 49:\r
                        printf("type 1\n");\r
                        t=1;\r
                        w=8;\r
                break;\r
-               case 50:
+               case 50:\r
                        printf("type 2\n");\r
                        t=2;\r
                        w=8;\r
                break;\r
-               case 51:
+               case 51:\r
                        printf("type 3\n");\r
                        t=3;\r
                        w=16;\r
                break;\r
-               default:
+               default:\r
                        printf("type 3\n");\r
                        t=3;\r
                        w=16;\r
                break;\r
        }\r
        else\r
-       {
+       {\r
                printf("type 3\n");\r
                t=3;\r
-               w=16;   \r
+               w=16;\r
        }\r
 \r
 \r