Add comment

This commit is contained in:
Miloslav Číž 2018-09-14 12:25:34 +02:00
parent ae960b050f
commit 04b21153d5
2 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,9 @@
#define CAMERA_COLL_HEIGHT_BELOW ((3 * UNITS_PER_SQUARE) / 2)
#define HORIZONTAL_FOV (UNITS_PER_SQUARE / 5)
//#define USE_DIST_APPROX 1
// ^ This turns on distance approximation, which is a bit uglier and faster.
#include "general.hpp"
#define LEVEL_X_RES 29

View file

@ -822,7 +822,7 @@ void draw()
{
PixelInfo pos = mapToScreen(shotPosition,UNITS_PER_SQUARE,player.mCamera);
drawSprite(spritePlasma,pos.position.x * SUBSAMPLE,
drawSpriteSquare(spritePlasma,pos.position.x * SUBSAMPLE,
pos.position.y,pos.depth,
perspectiveScale(64,pos.depth));
}