TNP資料室 @ ウィキ

ダミー関数を作成する

最終更新:

kokeiro

- view
だれでも歓迎! 編集
ただ関数のプロトタイプ宣言?と空の関数を書き足しただけです。

main.cpp

#include"DxLib.h"

void MainLoop();
void ProcessTitle();
void ProcessGameMain();
void ProcessGameClear();
void ProcessGameOver();
void GetKeyInput( int *KeyBuf );
void LoadFiles();
void ChangeGameState( int NewGameState );

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow ){
	ChangeWindowMode(TRUE);
	if(DxLib_Init()==-1)
		return 1;
	SetDrawScreen(DX_SCREEN_BACK);

	int green = GetColor( 0 , 255, 0 );

	while(1){
		if( ProcessMessage() != 0 || CheckHitKey( KEY_INPUT_ESCAPE ) != 0 )
			break;
		ClearDrawScreen();

		DrawString( 0 , 0 , "Helllo World!" , green );

		ScreenFlip();
	}
	DxLib_End();
	return 0;
}

void MainLoop(){}
void ProcessTitle(){}
void ProcessGameMain(){}
void ProcessGameClear(){}
void ProcessGameOver(){}
void GetKeyInput( int *KeyBuf ){}
void LoadFiles(){}
void ChangeGameState( int NewGameState ){}

タグ:

+ タグ編集
  • タグ:

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

人気記事ランキング
目安箱バナー