mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Update am_map.c
This commit is contained in:
parent
a5874019cb
commit
e628d98f20
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ static const UINT8 NOCLIMBYELLOWS = (11*16);
|
|||
#define FTOM(x) FixedMul(((x)<<FRACBITS),scale_ftom)
|
||||
#define MTOF(x) (FixedMul((x),scale_mtof)>>FRACBITS)
|
||||
// translates between frame-buffer and map coordinates
|
||||
#define CXMTOF(x) (f_x - (f_x/2) + MTOF((x)-m_x))
|
||||
#define CYMTOF(y) (f_y - (f_y/2) + (f_h - MTOF((y)-m_y)))
|
||||
#define CXMTOF(x) (f_x + MTOF((x)-m_x))
|
||||
#define CYMTOF(y) (f_y + (f_h - MTOF((y)-m_y)))
|
||||
|
||||
#define MAPBITS (FRACBITS-4)
|
||||
#define FRACTOMAPBITS (FRACBITS-MAPBITS)
|
||||
|
|
Loading…
Reference in a new issue