X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Feng_core.cpp;h=853e64cc60419efa032766958dd4c41f6a91ff08;hb=b9f13dd0b67939f2d0897edfafdf0821d53fc405;hp=084ca9ff11d8be044707a6d5861952890639aa8a;hpb=76054517bc4855a1bd1866ef3bd34a07ac95ab1a;p=16.git diff --git a/src/eng_core.cpp b/src/eng_core.cpp index 084ca9ff..853e64cc 100644 --- a/src/eng_core.cpp +++ b/src/eng_core.cpp @@ -112,8 +112,8 @@ namespace engine{ bool Core::init(){ bool xz = 0; // error switch... std::cout << "VIDEO INITIATION" << std::endl; - setvideo(0x13, 1); - setvbuff(1); +//____working on mode x setvideo(0x13, 1); +//____working on mode x setvbuff(1); std::cout << "Checking for Adlib sound card...." << std::endl; if(!AdlibExists()){ std::cout << "not found." << std::endl; @@ -137,8 +137,8 @@ namespace engine{ void Core::release() { //release contexts and set engine to exit - setvideo(0x03, 0); - setvbuff(0); +//____working on mode x setvideo(0x03, 0); +//____working on mode x setvbuff(0); setkb(0); FMReset(); this->msg = ENGINE_EXIT; @@ -172,7 +172,7 @@ namespace engine{ graphics_flag = true; this->timer.start_timer(); //==== std::cout << "GRAPHICS GRAPHICS GRAPHICS GRAPHICS GRAPHICS" << std::endl; - updatevbuff(); +//____ updatevbuff(); } else {