convert line ends
[canaan.git] / prj / cam / src / render / litdbg.h
blob04434114762ac2cb69b6efd6d39d862d5c5b0398
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/render/litdbg.h,v 1.1 1999/06/07 22:58:27 dc Exp $
7 // is this idiotic, or what...
9 #ifndef __LITDBG_H
10 #pragma once
11 #define __LITDBG_H
13 #include <config.h>
15 #ifdef EDITOR
16 EXTERN int _watch_light;
17 #define is_watch_light(o) (o==_watch_light)
18 #define watch_light_mprint(o,x) do { if (is_watch_light(o)) mprintf x; } while (0)
19 #define WATCH_LIGHTS
20 #else
21 #define is_watch_light(o) (FALSE)
22 #define watch_light_mprint(o,x)
23 #endif
25 // uncomment this if you want wicked loud debugging of lights
26 //#define LOUD_LIGHT_DEBUG
28 #ifdef LOUD_LIGHT_DEBUG
29 #define loud_lights() config_is_defined("loud_lighting")
30 #define loud_light_mprint(x) do { if (loud_lights()) mprintf x; } while (0)
31 #else
32 #define loud_lights()
33 #define loud_light_mprint(x)
34 #endif
36 #endif __LITDBG_H