doom

a minimalistic implementation of doom
git clone git://ssnf.xyz/doom
Log | Files | Refs

st_stuff.h (620B)


      1 
      2 
      3 
      4 
      5 
      6 
      7 
      8 
      9 
     10 
     11 
     12 
     13 
     14 
     15 
     16 
     17 
     18 
     19 
     20 
     21 
     22 
     23 
     24 #ifndef __STSTUFF_H__
     25 #define __STSTUFF_H__
     26 
     27 #include "doomdef.h"
     28 #include "d_event.h"
     29 
     30 
     31 
     32 #define ST_HEIGHT	32*SCREEN_MUL
     33 #define ST_WIDTH	SCREENWIDTH
     34 #define ST_Y		(SCREENHEIGHT - ST_HEIGHT)
     35 
     36 
     37 
     38 
     39 
     40 
     41 
     42 boolean ST_Responder (event_t* ev);
     43 
     44 
     45 void ST_Ticker (void);
     46 
     47 
     48 void ST_Drawer (boolean fullscreen, boolean refresh);
     49 
     50 
     51 void ST_Start (void);
     52 
     53 
     54 void ST_Init (void);
     55 
     56 
     57 
     58 
     59 typedef enum
     60 {
     61     AutomapState,
     62     FirstPersonState
     63     
     64 } st_stateenum_t;
     65 
     66 
     67 
     68 typedef enum
     69 {
     70     StartChatState,
     71     WaitDestState,
     72     GetChatState
     73     
     74 } st_chatstateenum_t;
     75 
     76 
     77 boolean ST_Responder(event_t* ev);
     78 
     79 
     80 
     81 #endif
     82 
     83 
     84 
     85 
     86