Odamex
Setting the Standard in Multiplayer Doom
client/src/am_map.cpp File Reference

Data Structures

struct  fline_t
struct  mpoint_t
struct  mline_t
struct  islope_t

Functions

 EXTERN_CVAR (am_rotate) EXTERN_CVAR(am_overlay) EXTERN_CVAR(am_showsecrets) EXTERN_CVAR(am_showmonsters) EXTERN_CVAR(am_showtime) EXTERN_CVAR(am_classicmapstring) EXTERN_CVAR(am_usecustomcolors) EXTERN_CVAR(am_ovshare) EXTERN_CVAR(am_backcolor) EXTERN_CVAR(am_yourcolor) EXTERN_CVAR(am_wallcolor) EXTERN_CVAR(am_tswallcolor) EXTERN_CVAR(am_fdwallcolor) EXTERN_CVAR(am_cdwallcolor) EXTERN_CVAR(am_thingcolor) EXTERN_CVAR(am_gridcolor) EXTERN_CVAR(am_xhaircolor) EXTERN_CVAR(am_notseencolor) EXTERN_CVAR(am_lockedcolor) EXTERN_CVAR(am_exitcolor) EXTERN_CVAR(am_teleportcolor) EXTERN_CVAR(am_ovyourcolor) EXTERN_CVAR(am_ovwallcolor) EXTERN_CVAR(am_ovtswallcolor) EXTERN_CVAR(am_ovfdwallcolor) EXTERN_CVAR(am_ovcdwallcolor) EXTERN_CVAR(am_ovthingcolor) EXTERN_CVAR(am_ovgridcolor) EXTERN_CVAR(am_ovxhaircolor) EXTERN_CVAR(am_ovnotseencolor) EXTERN_CVAR(am_ovlockedcolor) EXTERN_CVAR(am_ovexitcolor) EXTERN_CVAR(am_ovteleportcolor) BEGIN_COMMAND(resetcustomcolors)
 END_COMMAND (resetcustomcolors) EXTERN_CVAR(screenblocks) typedef struct
void AM_rotatePoint (fixed_t *x, fixed_t *y)
void AM_activateNewScale (void)
void AM_saveScaleAndLoc (void)
void AM_restoreScaleAndLoc (void)
void AM_addMark (void)
void AM_findMinMaxBoundaries (void)
void AM_changeWindowLoc (void)
void AM_initVariables (void)
void AM_initColors (BOOL overlayed)
void AM_loadPics (void)
void AM_unloadPics (void)
void AM_clearMarks (void)
void AM_LevelInit (void)
void AM_Stop (void)
void AM_Start (void)
void AM_minOutWindowScale (void)
void AM_maxOutWindowScale (void)
 BEGIN_COMMAND (togglemap)
 END_COMMAND (togglemap) BOOL AM_Responder(event_t *ev)
void AM_changeWindowScale (void)
void AM_doFollowPlayer (void)
void AM_Ticker (void)
void AM_clearFB (int color)
BOOL AM_clipMline (mline_t *ml, fline_t *fl)
void AM_drawFline (fline_t *fl, int color)
void AM_drawMline (mline_t *ml, int color)
void AM_drawGrid (int color)
void AM_drawWalls (void)
void AM_rotate (fixed_t *x, fixed_t *y, angle_t a)
void AM_drawLineCharacter (mline_t *lineguy, int lineguylines, fixed_t scale, angle_t angle, int color, fixed_t x, fixed_t y)
void AM_drawPlayers (void)
void AM_drawThings (int color)
void AM_drawMarks (void)
void AM_drawCrosshair (int color)
void AM_Drawer (void)

Variables

patch_thu_font []
static int YourColor
static int WallColor
static int TSWallColor
static int FDWallColor
static int CDWallColor
static int ThingColor
static int SecretWallColor
static int GridColor
static int XHairColor
static int NotSeenColor
static int LockedColor
static int AlmostBackground
static int TeleportColor
static int ExitColor
 fpoint_t
mline_t player_arrow []
mline_t cheat_player_arrow []
mline_t triangle_guy []
mline_t thintriangle_guy []
BOOL automapactive = false
static fixed_t m_y
static fixed_t m_y2
static fixed_t old_m_h
static fixed_t old_m_y
byte cheat_amap_seq [5]
cheatseq_t cheat_amap = { cheat_amap_seq, 0 }

Function Documentation

void AM_activateNewScale ( void  )
void AM_addMark ( void  )
void AM_changeWindowLoc ( void  )
void AM_changeWindowScale ( void  )
void AM_clearFB ( int  color)
void AM_clearMarks ( void  )
BOOL AM_clipMline ( mline_t ml,
fline_t fl 
)
void AM_doFollowPlayer ( void  )
void AM_drawCrosshair ( int  color)
void AM_Drawer ( void  )
void AM_drawFline ( fline_t fl,
int  color 
)
void AM_drawGrid ( int  color)
void AM_drawLineCharacter ( mline_t lineguy,
int  lineguylines,
fixed_t  scale,
angle_t  angle,
int  color,
fixed_t  x,
fixed_t  y 
)
void AM_drawMarks ( void  )
void AM_drawMline ( mline_t ml,
int  color 
)
void AM_drawPlayers ( void  )
void AM_drawThings ( int  color)
void AM_drawWalls ( void  )
void AM_findMinMaxBoundaries ( void  )
void AM_initColors ( BOOL  overlayed)
void AM_initVariables ( void  )
void AM_LevelInit ( void  )
void AM_loadPics ( void  )
void AM_maxOutWindowScale ( void  )
void AM_minOutWindowScale ( void  )
void AM_restoreScaleAndLoc ( void  )
void AM_rotate ( fixed_t x,
fixed_t y,
angle_t  a 
)
void AM_rotatePoint ( fixed_t x,
fixed_t y 
)
void AM_saveScaleAndLoc ( void  )
void AM_Start ( void  )
void AM_Stop ( void  )
void AM_Ticker ( void  )
void AM_unloadPics ( void  )
BEGIN_COMMAND ( togglemap  )
END_COMMAND ( togglemap  )
END_COMMAND ( resetcustomcolors  )
EXTERN_CVAR ( am_rotate  )

Variable Documentation

Initial value:
 {
        { { -R+R/8, 0 }, { R, 0 } }, 
        { { R, 0 }, { R-R/2, R/6 } },  
        { { R, 0 }, { R-R/2, -R/6 } },
        { { -R+R/8, 0 }, { -R-R/8, R/6 } }, 
        { { -R+R/8, 0 }, { -R-R/8, -R/6 } },
        { { -R+3*R/8, 0 }, { -R+R/8, R/6 } }, 
        { { -R+3*R/8, 0 }, { -R+R/8, -R/6 } },
        { { -R/2, 0 }, { -R/2, -R/6 } }, 
        { { -R/2, -R/6 }, { -R/2+R/6, -R/6 } },
        { { -R/2+R/6, -R/6 }, { -R/2+R/6, R/4 } },
        { { -R/6, 0 }, { -R/6, -R/6 } }, 
        { { -R/6, -R/6 }, { 0, -R/6 } },
        { { 0, -R/6 }, { 0, R/4 } },
        { { R/6, R/4 }, { R/6, -R/7 } }, 
        { { R/6, -R/7 }, { R/6+R/32, -R/7-R/32 } },
        { { R/6+R/32, -R/7-R/32 }, { R/6+R/10, -R/7 } }
}
int ExitColor
int GridColor
Initial value:
 {
        { { -R+R/8, 0 }, { R, 0 } }, 
        { { R, 0 }, { R-R/2, R/4 } },  
        { { R, 0 }, { R-R/2, -R/4 } },
        { { -R+R/8, 0 }, { -R-R/8, R/4 } }, 
        { { -R+R/8, 0 }, { -R-R/8, -R/4 } },
        { { -R+3*R/8, 0 }, { -R+R/8, R/4 } }, 
        { { -R+3*R/8, 0 }, { -R+R/8, -R/4 } }
}
Initial value:
 {
        L (-.5,-.7, 1,0),
        L (1,0, -.5,.7),
        L (-.5,.7, -.5,-.7)
}
Initial value:
 {
        L (-.867,-.5, .867,-.5),
        L (.867,-.5, 0,1),
        L (0,1, -.867,-.5)
}
int WallColor
int YourColor
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends