Add comment
This commit is contained in:
parent
ae960b050f
commit
04b21153d5
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue