aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenEditSub.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-03-02 18:04:13 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-03-02 18:04:13 +0000
commit7a5d3ff36db18cbcf6a53530a64838ccdc3a76cb (patch)
tree4158dd866e517f2f765958fd01f0db8362a8e9e6 /Game/Code/Screens/UScreenEditSub.pas
parentf76443329ab6d536326080d14f5565f066ca433f (diff)
downloadusdx-7a5d3ff36db18cbcf6a53530a64838ccdc3a76cb.tar.gz
usdx-7a5d3ff36db18cbcf6a53530a64838ccdc3a76cb.tar.xz
usdx-7a5d3ff36db18cbcf6a53530a64838ccdc3a76cb.zip
some corrections;
remapping of M and D to Shift+D and Shift+M in editor git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2165 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens/UScreenEditSub.pas')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas18
1 files changed, 10 insertions, 8 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas
index d5c7d9aa..e61cdca9 100644
--- a/Game/Code/Screens/UScreenEditSub.pas
+++ b/Game/Code/Screens/UScreenEditSub.pas
@@ -215,11 +215,11 @@ begin
// Increase VideoGAP
if SDL_ModState = 0 then
- temp := temp + 1;
+ temp := temp + 1; //10ms
if SDL_ModState = KMOD_LSHIFT then
- temp := temp + 10;
+ temp := temp + 10; //100ms
if SDL_ModState = KMOD_LCTRL then
- temp := temp + 100;
+ temp := temp + 100; //1000ms
AktSong.VideoGAP := temp/100;
if PlayVideo then
@@ -232,11 +232,11 @@ begin
// Decrease VideoGAP
if SDL_ModState = 0 then
- temp := temp - 1;
+ temp := temp - 1; //10ms
if SDL_ModState = KMOD_LSHIFT then
- temp := temp - 10;
+ temp := temp - 10; //100ms
if SDL_ModState = KMOD_LCTRL then
- temp := temp - 100;
+ temp := temp - 100; //1000ms
AktSong.VideoGAP := temp/100;
if PlayVideo then
@@ -495,13 +495,15 @@ begin
SDLK_D:
begin
// Divide lengths by 2
- CzesciDivide;
+ if (SDL_ModState = KMOD_LSHIFT) then
+ CzesciDivide;
end;
SDLK_M:
begin
// Multiply lengths by 2
- CzesciMultiply;
+ if (SDL_ModState = KMOD_LSHIFT) then
+ CzesciMultiply;
end;
SDLK_C: