From 9a5821284772728cebb6568e29f8c50e29e0ea8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Sat, 7 Jul 2007 10:09:33 +0000 Subject: [PATCH] =?UTF-8?q?*=20dodano=20nieco=20wi=C4=99cej=20wypisywania?= =?UTF-8?q?=20na=20konsolk=C4=99=20czas=C3=B3w,=20wywalono=20rozpakowywani?= =?UTF-8?q?e=20wava=20*=20bugfix=20b=C5=82=C3=A4du=20z=20CPreGame=20powodu?= =?UTF-8?q?j=C4=85cego=20nie=20znikanie=20naci=C5=9Bni=C4=99tego=20przycis?= =?UTF-8?q?ku=20przy=20zmianie=20ekran=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMT.cpp | 11 ++++++++--- CPreGame.cpp | Bin 77056 -> 78046 bytes 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CMT.cpp b/CMT.cpp index 3a34bdeca..42044ccf7 100644 --- a/CMT.cpp +++ b/CMT.cpp @@ -211,6 +211,8 @@ void zerr(int ret) }*/ int _tmain(int argc, _TCHAR* argv[]) { + THC timeHandler tmh; + THC tmh.getDif(); int xx=0, yy=0, zz=0; SDL_Event sEvent; srand ( time(NULL) ); @@ -232,8 +234,8 @@ int _tmain(int argc, _TCHAR* argv[]) //initializing audio CMusicHandler * mush = new CMusicHandler; mush->initMusics(); - CSndHandler snd("Heroes3.snd"); - snd.extract("AELMMOVE.wav","snddd.wav"); + //CSndHandler snd("Heroes3.snd"); + //snd.extract("AELMMOVE.wav","snddd.wav"); //audio initialized /*if(Mix_PlayMusic(mush->mainMenuWoG, -1)==-1) //uncomment this fragment to have music @@ -261,10 +263,12 @@ int _tmain(int argc, _TCHAR* argv[]) // fclose(ko);fclose(zr); //} SDL_WM_SetCaption(NAME,""); //set window title + THC std::cout<<"Inicjalizacja ekranu, czcionek, obslugi dzwieku: "<mush = mush; cpg->runLoop(); - THC timeHandler tmh; + THC tmh.getDif(); CGameInfo * cgi = new CGameInfo; CGameInfo::mainObj = cgi; cgi->mush = mush; @@ -320,6 +324,7 @@ int _tmain(int argc, _TCHAR* argv[]) cgi->dobjinfo = new CDefObjInfoHandler; cgi->dobjinfo->load(); + THC std::cout<<"Inicjalizacja wszelakich handlerow: "<ourScenSel->mapsel.ourMaps[CPG->ourScenSel->mapsel.selected].filename; //else mapname = "4gryf"; diff --git a/CPreGame.cpp b/CPreGame.cpp index 511ca454d0f04830dccef5b55fa8b0221b901b02..cad7b710634f391bbde2535b083717a667a9a9d1 100644 GIT binary patch delta 967 zcmcJNJxc>Y5Qg8AAR5rd!a@(u6Eqgu3W)(Bf|d%Fg2c7*!kF*d1iJl9umz~qR}=cZ3q-mf{P90QAPnCWxqaS zs&w=CxtE9>eG zj>zFrs`2h<78~{0LC6;_5dTIW^a;J$aw}T=1F%L3I5@qEf*;>o%l})0 q95%6zEQGp>ZpyL|j>y;fIXV6Itgcgch8llq4$0N0VU>LU$b14-yvF7L delta 83 zcmV-Z0IdJs;RJx%1hDi0vnT@Gce6x#$^nzQ;T)65d|;E-eIk>nej<~Me