diff options
author | Max Horn | 2009-06-04 11:28:05 +0000 |
---|---|---|
committer | Max Horn | 2009-06-04 11:28:05 +0000 |
commit | 382ebea3faa5f824ba385b9837c4106b6c1fe3c7 (patch) | |
tree | c6d6b2d141039bd8f4ea4e1cb4e90cc1dfdb8286 /engines/sci/debug.h | |
parent | 85950d6f6b25421c86ab79eea0c4cf96f6feb720 (diff) | |
download | scummvm-rg350-382ebea3faa5f824ba385b9837c4106b6c1fe3c7.tar.gz scummvm-rg350-382ebea3faa5f824ba385b9837c4106b6c1fe3c7.tar.bz2 scummvm-rg350-382ebea3faa5f824ba385b9837c4106b6c1fe3c7.zip |
SCI: Renamed various debug related global variables to have a g_ prefix; and moved any 'extern' decls of them into a new header file
svn-id: r41163
Diffstat (limited to 'engines/sci/debug.h')
-rw-r--r-- | engines/sci/debug.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/engines/sci/debug.h b/engines/sci/debug.h new file mode 100644 index 0000000000..ec44838826 --- /dev/null +++ b/engines/sci/debug.h @@ -0,0 +1,47 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#ifndef SCI_DEBUG_H +#define SCI_DEBUG_H + +namespace Sci { + +// Various global variables used for debugging are declared here + +extern int g_stop_on_event; + +extern int g_debugstate_valid; +extern int g_debug_seeking; +extern int g_debug_step_running; + +extern int g_debug_sleeptime_factor; +extern int g_debug_simulated_key; +extern bool g_debug_track_mouse_clicks; +extern bool g_debug_weak_validations; + + +} // End of namespace Sci + +#endif |