diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-06-17 18:06:39 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2013-06-17 18:17:21 +0200 |
commit | 366d3a551ef3541f6eeb226f80a16b8de8fdd2e9 (patch) | |
tree | 191548d0cdf98740db0f6fa0eeb9e700d11450cf /src/graphics/core/device.h | |
parent | 868b5927064aba1ca72bd403446f9ff84c99c29b (diff) | |
download | colobot-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.h | 3 |
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 |