aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/Don't_Get_Worse
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-04 13:47:58 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-04 13:47:58 +0000
commit027e55035b969bea18892db0e29aa5bc00fb8fad (patch)
tree0fc9d875f6b384b8d7573f0b605e114a57062fa6 /plugins/Don't_Get_Worse
parent4fcb2bd721919ee9bef62a8f70e9d36fc05fc90c (diff)
downloadusdx-027e55035b969bea18892db0e29aa5bc00fb8fad.tar.gz
usdx-027e55035b969bea18892db0e29aa5bc00fb8fad.tar.xz
usdx-027e55035b969bea18892db0e29aa5bc00fb8fad.zip
plugins update
- OpenGL12 unit replaced with SDL gl unit - Windows timer replaced with SDL_GetTicks -> Windows unit removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1500 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'plugins/Don't_Get_Worse')
-rw-r--r--plugins/Don't_Get_Worse/Hold_The_Line.dpr6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Don't_Get_Worse/Hold_The_Line.dpr b/plugins/Don't_Get_Worse/Hold_The_Line.dpr
index 8ac4b2e7..a2aa2e66 100644
--- a/plugins/Don't_Get_Worse/Hold_The_Line.dpr
+++ b/plugins/Don't_Get_Worse/Hold_The_Line.dpr
@@ -3,9 +3,9 @@ library Hold_The_Line;
uses
ModiSDK in '..\SDK\ModiSDK.pas',
StrUtils in '..\SDK\StrUtils.pas',
+ sdl in '..\..\src\lib\JEDI-SDL\SDL\Pas\sdl.pas',
moduleloader in '..\..\src\lib\JEDI-SDL\SDL\Pas\moduleloader.pas',
- gl in '..\..\src\lib\JEDI-SDL\OpenGL\Pas\gl.pas',
- Windows;
+ gl in '..\..\src\lib\JEDI-SDL\OpenGL\Pas\gl.pas';
var
PointerTex: TSmallTexture;
@@ -101,7 +101,7 @@ begin
//Aktivate Blink
If (CurSentence = CountSentences div 5 * 2 - 1) OR (CurSentence = CountSentences div 3 * 2 - 1) then
begin
- Tick := Gettickcount div 400;
+ Tick := SDL_GetTicks() div 400;
If (Tick <> LastTick) then
begin
LastTick := Tick;