diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-03-01 19:32:49 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-03-01 19:32:49 +0000 |
commit | f76443329ab6d536326080d14f5565f066ca433f (patch) | |
tree | 7e4f585c81d52accb7cf15527fc95a2f4f2793f4 /Game/Code/Classes/UMain.pas | |
parent | 4ec8eae5229e26b8ee648f5168d9b9c7f4e154eb (diff) | |
download | usdx-f76443329ab6d536326080d14f5565f066ca433f.tar.gz usdx-f76443329ab6d536326080d14f5565f066ca433f.tar.xz usdx-f76443329ab6d536326080d14f5565f066ca433f.zip |
summerizing of highscores in top screen as an option (never, dynamic, always);
top 3 in song menu;
ctrl+print for jpg screenshots;
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2164 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UMain.pas | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index 795f2241..cb70cd08 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -188,7 +188,10 @@ Begin if (Event.key.keysym.sym = SDLK_SYSREQ) or (Event.key.keysym.sym = SDLK_PRINT) then
begin
// ScreenPopupError.ShowPopup('How dare you press the <Print> key'); //show error message
- Display.ScreenShot;
+ if (SDL_GetModState and KMOD_LCTRL = KMOD_LCTRL) then
+ Display.PrintScreen //jpeg
+ else
+ Display.ScreenShot; //bmp
end
// popup hack... if there is a visible popup then let it handle input instead of underlying screen
// shoud be done in a way to be sure the topmost popup has preference (maybe error, then check)
|