/*
 * $Id: m_debug_mode.h,v 1.1 2003/06/06 00:15:12 tong Exp $
 *
 *
 */

#ifndef INCLUDE_M_DEBUG_MODE_H
#define INCLUDE_M_DEBUG_MODE_H

#include "m_debug.h"		/* Debug_mode */
#include "graph.h"		/* GRAPH */
#include <pad.h>		/* pad_t */
#include <gfxprint.h>		/* gfxprint */

#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
#endif
#if 0
}
#endif

/************************************************************************
 *
 *	デバッグモードクラス
 *
 ************************************************************************/

/*-----------------------------------------------------------------------
 *
 *	デバッグモードクラス宣言
 *
 *----------------------------------------------------------------------*/
extern void new_Debug_mode(void);

#ifndef DEBUG_MODE_NOINPUT
/*-----------------------------------------------------------------------
 *
 *	デバッグモード入力
 *
 *----------------------------------------------------------------------*/
extern void Debug_mode_input(pad_t *pad);
#endif /* DEBUG_MODE_NOINPUT */

/*-----------------------------------------------------------------------
 *
 *	デバッグ文字列設定
 *
 *----------------------------------------------------------------------*/
extern void Debug_mode_output(GRAPH *graph);

/*-----------------------------------------------------------------------
 *
 *	デバッグ文字列
 *
 *----------------------------------------------------------------------*/

/*-----------------------------------------------------------------------
 *
 *	デバッグ文字列設定
 *
 *----------------------------------------------------------------------*/
extern void Debug_Print_write(int line, int color, char *str);
extern void Debug_Print2_write(char row, char column, char color, char *str);
extern void Debug_Print_reset(void);
extern void Debug_Print2_output(gfxprint_t *gfxprint);

/*-----------------------------------------------------------------------
 *
 *	デバッグ文字列出力
 *
 *----------------------------------------------------------------------*/

#define DEBUG_PRINT_COLOR_BLUE     (1)
#define DEBUG_PRINT_COLOR_RED      (2)
#define DEBUG_PRINT_COLOR_MAGENTA  (3)
#define DEBUG_PRINT_COLOR_GREEN    (4)
#define DEBUG_PRINT_COLOR_CYAN     (5)
#define DEBUG_PRINT_COLOR_YELLOW   (6)
#define DEBUG_PRINT_COLOR_WHITE    (7)

#if 0
{
#endif
#ifdef _LANGUAGE_C_PLUS_PLUS
} /* extern "C" */
#endif

#endif /* INCLUDE_M_DEBUG_MODE_H */
