Devilution
Diablo devolved - magic behind the 1996 computer game
Source
engine.h
CelBlitFrame
CelBlitLightSafe
CelBlitLightTransSafe
CelBlitOutline
CelBlitSafe
CelBlitWidth
CelClippedBlitLightTrans
CelClippedDraw
CelClippedDrawLight
CelClippedDrawSafe
CelDraw
CelDrawLight
CelDrawLightRed
CelDrawLightRedSafe
CelGetFrame
CelGetFrameClipped
CelGetFrameStart
Cl2ApplyTrans
Cl2BlitLightSafe
Cl2BlitOutlineSafe
Cl2BlitSafe
Cl2Draw
Cl2DrawLight
Cl2DrawLightTbl
Cl2DrawOutline
DiabloAllocPtr
DrawLine
ENG_set_pixel
engine_debug_trap
engine_draw_pixel
gbNotInView
gbPixelCol
gbRotateMap
GetDirection
GetRndSeed
LOAD_LE32
LoadFileInMem
LoadFileWithMem
mem_free_dbg
orgseed
PlayInGameMovie
random_
RndInc
RndMult
SeedCount
SetRndSeed
◆
GetDirection()
int GetDirection
(
int
x1
,
int
y1
,
int
x2
,
int
y2
)
Calculate the best fit direction between two points.
Parameters
x1
Tile coordinate
y1
Tile coordinate
x2
Tile coordinate
y2
Tile coordinate
Returns
A value from the direction enum
Definition at line
683
of file
engine.cpp
.
Generated by
1.8.17