summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-08-11 19:12:52 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-08-11 19:12:52 (GMT)
commitd5435c50a966c0fb5a0c62a5af7aa834ccf9e48d (patch)
treedece342fdb3f1245d8f962183a37a334a89ddeaf /src/main.c
parent4f8720eecc034fcbb91fb5045bd7670140ba2f2f (diff)
downloadpowder-d5435c50a966c0fb5a0c62a5af7aa834ccf9e48d.zip
powder-d5435c50a966c0fb5a0c62a5af7aa834ccf9e48d.tar.gz
Debug info for particles allocation
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 918073e..e403b3d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -188,6 +188,7 @@ int frameidx = 0;
//int CGOL = 0;
//int GSPEED = 1;//causes my .exe to crash..
int sound_enable = 0;
+int debug_flags = 0;
sign signs[MAXSIGNS];
@@ -1960,6 +1961,11 @@ int main(int argc, char *argv[])
clearrect(vid_buf, XRES-1, 0, BARSIZE+1, YRES);
draw_svf_ui(vid_buf, sdl_mod & (KMOD_LCTRL|KMOD_RCTRL));
+
+ if(debug_flags)
+ {
+ draw_debug_info(vid_buf);
+ }
if (http_ver_check)
{