Mercurial > mm7
diff mm7_2.cpp @ 246:1bfe546561c4
sprintfex
author | Nomad |
---|---|
date | Mon, 18 Feb 2013 03:58:08 +0200 |
parents | 47e06334c564 |
children | fb8a876f41e1 |
line wrap: on
line diff
--- a/mm7_2.cpp Sun Feb 17 18:04:22 2013 +0100 +++ b/mm7_2.cpp Mon Feb 18 03:58:08 2013 +0200 @@ -12971,18 +12971,6 @@ srand(GetTickCount()); - /*GetDiskFreeSpaceA(0, &SectorsPerCluster, &BytesPerSector, &hdc, &TotalNumberOfClusters); - v4 = hdc * BytesPerSector * SectorsPerCluster; - if ( (unsigned int)v4 < 0x1E00000 ) - { - sprintfex( - pTmpBuf, - "Due to Window Virtual Memory requirements Might and Magic® VII\nrequires 30MB of free hard drive space to operate properly.\n\nAvailable on Current Drive = %luk", - (unsigned int)v4 / 1024i64); - v41 = 48; - v40 = "More Hard Drive Space Required"; - v39 = pTmpBuf; -*/ WNDCLASSEXW wcxw; { @@ -13485,11 +13473,9 @@ unsigned int startms; // [sp+8h] [bp-24h]@55 RECT Rect; // [sp+Ch] [bp-20h]@15 int a2[4]; // [sp+1Ch] [bp-10h]@15 -#ifdef MM7_TEXT_DLL - auto mm7text_dll = LoadLibraryW(L"mm7text.dll"); - sprintfex = (int (__cdecl *)(char *a1, const char *a2, ...))GetProcAddress(mm7text_dll, "_sprintfex"); -#endif - + + char test[1024]; + sprintfex(test, "^Pi[%s]: çíàõàð^R[ü;êà;]", "Çîëòàí"); if (pCmdLine && *pCmdLine) {