forked from NotAShelf/rogged
various: sub-tile lighting; nicer visibility calculations
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I0f0a0c12db76cc8e0f4c8ccc72ca4b826a6a6964
This commit is contained in:
parent
5b640dcefd
commit
00b3798ae0
8 changed files with 206 additions and 47 deletions
|
|
@ -79,10 +79,19 @@
|
|||
#define MESSAGE_TIMER_DURATION 60
|
||||
|
||||
// Visibility / Fog of War
|
||||
#define PLAYER_VIEW_RANGE 8
|
||||
#define ENEMY_VIEW_RANGE 6
|
||||
#define ENEMY_PATROL_MOVE_CHANCE 30
|
||||
|
||||
// Sub-tile lighting
|
||||
#define SUB_TILE_RES 8
|
||||
#define LIGHT_SIGHT_THRESHOLD 40
|
||||
|
||||
// Player light source parameters
|
||||
#define PLAYER_LIGHT_RANGE 8
|
||||
#define PLAYER_LIGHT_INTENSITY 255
|
||||
|
||||
// Enemy vision (default fallback for spawn)
|
||||
#define ENEMY_VIEW_RANGE 6
|
||||
|
||||
// Visual polish
|
||||
#define DRAW_GRID_LINES 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue