#define GLOBAL_INSTANCE
#include"GV.h"
extern int GetHitKeyStateAll_2();
extern int CheckStateKey(unsigned char Handle);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
ChangeWindowMode(TRUE), DxLib_Init(), SetDrawScreen(DX_SCREEN_BACK);
SetGraphMode(960, 540, 32);
int ziki;
int x = 0;
ziki = LoadGraph("pic/ziki1.png");
while (ScreenFlip() == 0 && ProcessMessage() == 0 && ClearDrawScreen() == 0)
{
DrawGraph(x, 100, ziki, TRUE);
x = x + 2;
}
DxLib_End();
return 0;
}
画像の保存場所も間違っていないのですが……。
どこか間違っていますか?