]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.h
mad emore near stuff wwww
[16.git] / src / lib / 16_in.h
index eecfae5905bd772859827f1c8385ad0d2779825c..6cdf2514c1905eba0e13dc280cf42435dde9f1f9 100755 (executable)
@@ -28,7 +28,7 @@
 #define        __16_IN__\r
 \r
 #include <string.h>\r
-#include "src/lib/16_head.h"
+#include "src/lib/16_head.h"\r
 #include "src/lib/bitmap.h"\r
 \r
 #ifdef __DEBUG__\r
@@ -175,14 +175,14 @@ typedef   enum            {
                                                dir_South,//dir_Soutinest,\r
                                        } Direction;\r
 typedef        struct          {\r
-                                               boolean         button0,button1,button2,button3;\r
-                                               int                     x,y;\r
-                                               Motion          xaxis,yaxis;\r
-                                               Direction       dir;\r
+                                               boolean near    button0,button1,button2,button3;\r
+                                               int     near            x,y;\r
+                                               Motion  near    xaxis,yaxis;\r
+                                               Direction near  dir;\r
                                        } CursorInfo;\r
 \r
 typedef        struct          {\r
-                                               ScanCode        button0,button1,\r
+                                               ScanCode near   button0,button1,\r
                                                                        //upleft,\r
                                                                        up,\r
                                                                        down,\r
@@ -194,7 +194,7 @@ typedef     struct          {
                                                                        ;\r
                                        } KeyboardDef;\r
 typedef        struct          {\r
-                                               word            joyMinX,joyMinY,\r
+                                               word    near    joyMinX,joyMinY,\r
                                                                        threshMinX,threshMinY,\r
                                                                        threshMaxX,threshMaxY,\r
                                                                        joyMaxX,joyMaxY,\r
@@ -215,15 +215,15 @@ typedef   struct
        int triggerx; //player's trigger box tile position on the viewable map\r
        int triggery; //player's trigger box tile position on the viewable map\r
        int sheetsetx; //NOT USED YET! player sprite sheet set on the image x\r
-       int sheetsety; //NOT USED YET! player sprite sheet set on the image y
+       int sheetsety; //NOT USED YET! player sprite sheet set on the image y\r
        word d; //direction!! wwww\r
-       word q; //loop variable
+       word q; //loop variable\r
        word speed;             //player speed!\r
        bitmap_t data; //supposively the sprite sheet data\r
-       sword hp; //hitpoints of the player
+       sword hp; //hitpoints of the player\r
        int persist_aniframe;    /* gonna be increased to 1 before being used, so 0 is ok for default */\r
        CursorInfo      info;\r
-       ControlType     Controls;
+       ControlType     Controls;\r
 } player_t;\r
 \r
 /*\r
@@ -280,7 +280,7 @@ extern void IN_SetKeyHook(void (*hook)());
 extern void IN_ClearKeysDown();\r
 //static void INL_AdjustCursor(CursorInfo *info,word buttons,int dx,int dy);\r
 extern void IN_ReadCursor(CursorInfo *info);\r
-extern void IN_ReadControl(int playnum,player_t *player);\r
+extern void near IN_ReadControl(int playnum,player_t *player);\r
 extern void IN_SetControlType(word playnum,player_t *player,ControlType type);\r
 #if DEMO0\r
 extern boolean IN_StartDemoRecord(word bufsize);\r