#include"variable.h"
botan_t botan;
key_t key;
my_t my;
int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int){
ChangeWindowMode(TRUE), DxLib_Init(), SetDrawScreen( DX_SCREEN_BACK );
SetMainWindowText("ACE C○MBAT");
load_main();
while( ScreenFlip()==0 && ProcessMessage()==0 && ClearDrawScreen()==0 && GHK()==0 && GHP()==0 && comand()==0){
graph_main();
}
DxLib_End();
return 0;
}#include"variable.h"
botan_t botan;
key_t key;
my_t my;
int model;
int WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,int){
ChangeWindowMode(TRUE), DxLib_Init(), SetDrawScreen( DX_SCREEN_BACK );
SetMainWindowText("ACE C○MBAT");
load_main();
while( ScreenFlip()==0 && ProcessMessage()==0 && ClearDrawScreen()==0 && GHK()==0 && GHP()==0 && comand()==0){
graph_main();
}
DxLib_End();
return 0;
}モデルはここには書いていませんが構造体に格納しています。
ここ以外でmodelは使っていません。