X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2Fdebug.h;h=9460055eae1f47e38f9b34074ee2dc3ebf570603;hb=46e842c7cc2e977f9bdd9fb4480dac26163fa25b;hp=1a9fc02766cb336e583e3a2218db21848a33a12b;hpb=7adc59fef43ae9741d455448770b585e28e87c98;p=physics.git diff --git a/src/debug.h b/src/debug.h index 1a9fc02..9460055 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,15 +1,37 @@ +/* + * Copyright (C) 2008 Patrik Gornicz, Gornicz_P (at) hotmail (dot) com. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #ifndef DEBUG_H #define DEBUG_H +#include +using std::cerr; +using std::cout; +using std::endl; + + // comment out when not debugging #define DEBUGGING +// comment out to supress warnings +#define WARNINGS + // comment out to prevent FPS and UPS printing #define FPSUPS -#include -using std::cerr; -using std::cout; -using std::endl; #endif // DEBUG_H