From a54a466252f41004b5199995f9bfda8072f7f09a Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Sun, 30 Mar 2014 06:57:20 +0000 Subject: Add screen shot, fix screen shot bug in hge_unix. --- main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 7224a6c..5c351f3 100644 --- a/main.cpp +++ b/main.cpp @@ -810,6 +810,7 @@ bool FrameFunc() fnt->printf(5, 150, HGETEXT_LEFT, "Multiplier: %.2lf",mult); } } + if(hge->Input_GetKeyStateEx(HGEK_S)==HGEKST_HIT)hge->System_Snapshot(); hge->Gfx_EndScene(); return false; } -- cgit v1.2.3