summaryrefslogtreecommitdiffstats
path: root/src/graphics/core/device.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-06-17 18:06:39 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-06-17 18:17:21 +0200
commit366d3a551ef3541f6eeb226f80a16b8de8fdd2e9 (patch)
tree191548d0cdf98740db0f6fa0eeb9e700d11450cf /src/graphics/core/device.h
parent868b5927064aba1ca72bd403446f9ff84c99c29b (diff)
downloadcolobot-366d3a551ef3541f6eeb226f80a16b8de8fdd2e9.tar.gz
colobot-366d3a551ef3541f6eeb226f80a16b8de8fdd2e9.tar.bz2
colobot-366d3a551ef3541f6eeb226f80a16b8de8fdd2e9.zip
Added debug aids for lighting
* displaying positions of current lights (F11) * dumping info to console (F10) * added assert() in suspicious place in CPyro
Diffstat (limited to 'src/graphics/core/device.h')
-rw-r--r--src/graphics/core/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphics/core/device.h b/src/graphics/core/device.h
index 38bc463..4c1189c 100644
--- a/src/graphics/core/device.h
+++ b/src/graphics/core/device.h
@@ -240,6 +240,9 @@ public:
//! Provides a hook to debug graphics code (implementation-specific)
virtual void DebugHook() = 0;
+ //! Displays light positions to aid in debuggings
+ virtual void DebugLights() = 0;
+
//! Initializes the device, setting the initial state
virtual bool Create() = 0;
//! Destroys the device, releasing every acquired resource