1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-24 20:59:58 +01:00

Change data types

This commit is contained in:
Miloslav Číž 2018-09-22 19:09:10 +02:00
parent 4fdef47f61
commit b8a1826e76

View file

@ -1239,11 +1239,11 @@ void _RCL_columnFunctionComplex(RCL_HitResult *hits, uint16_t hitCount, uint16_t
void _RCL_columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t x, void _RCL_columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t x,
RCL_Ray ray) RCL_Ray ray)
{ {
int16_t y = 0; RCL_Unit y = 0;
int16_t wallHeightScreen = 0; RCL_Unit wallHeightScreen = 0;
int16_t wallStart = _RCL_middleRow; RCL_Unit wallStart = _RCL_middleRow;
int16_t wallEnd = _RCL_middleRow; RCL_Unit wallEnd = _RCL_middleRow;
int16_t heightOffset = 0; RCL_Unit heightOffset = 0;
RCL_Unit dist = 1; RCL_Unit dist = 1;