Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 |
//============================================================================= // DemoSplashWindow //============================================================================= class DemoSplashWindow extends DeusExBaseWindow; // ---------------------------------------------------------------------- // Local Variables // ---------------------------------------------------------------------- event InitWindow() { Super.InitWindow(); SetSize(640, 480); SetWindowAlignments(HALIGN_Center, VALIGN_Center); } // ---------------------------------------------------------------------- // VirtualKeyPressed() // ---------------------------------------------------------------------- event bool VirtualKeyPressed(EInputKey key, bool bRepeat) { player.Level.Game.SendPlayer(player, "dxonly"); return True; } // ---------------------------------------------------------------------- // MouseButtonReleased() // // Exit the window if the mouse button is presse // ---------------------------------------------------------------------- event bool MouseButtonReleased(float pointX, float pointY, EInputKey button, int numClicks) { player.Level.Game.SendPlayer(player, "dxonly"); return True; } // ---------------------------------------------------------------------- // DrawWindow() // ---------------------------------------------------------------------- function DrawWindow(GC gc) { gc.SetStyle(DSTY_Normal); gc.DrawIcon( 0, 0, Texture'Demo_Splash_1'); gc.DrawIcon(256, 0, Texture'Demo_Splash_2'); gc.DrawIcon(512, 0, Texture'Demo_Splash_3'); gc.DrawIcon( 0, 256, Texture'Demo_Splash_4'); gc.DrawIcon(256, 256, Texture'Demo_Splash_5'); gc.DrawIcon(512, 256, Texture'Demo_Splash_6'); } defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | Deus Ex UnrealScript Documentation |
previous class next class | frames no frames |