njPrint
デバッグ用文字を表示する

書 式

#include <Ninja.h>
void njPrint(loc,*fmt, ...);
Int loc
const char *fmt

引 数

loc
表示位置
fmt
文字列

返 値

なし

機 能

文字列を指定した画面位置に表示する。 使用方法は、C標準関数のprintf関数と同じです。

用 例

njPrint(NJM_LOCATION(10,10),"Count = %d",count);

備 考

表示位置はNJM_LOCATION(x,y)で指定します。x,yの値は文字列の行と列です。

関 連

njPrintColor
njPrintB
njPrintC
njPrintD
njPrintH
njPrintF

njPrint

Copyright SEGA ENTERPRISES, LTD., 1998