diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-02 07:08:07 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-11-02 07:08:07 +0000 |
commit | 9d7f4c06634799c4582b2908673b55ea9fe96e61 (patch) | |
tree | a4b5ee48d2f38d53165bdf790a4b085e9b152a76 /Game/Code/UltraStar.lpr | |
parent | 99955c78f63d1cb0d8bec666bc33953590a74c8a (diff) | |
download | usdx-9d7f4c06634799c4582b2908673b55ea9fe96e61.tar.gz usdx-9d7f4c06634799c4582b2908673b55ea9fe96e61.tar.xz usdx-9d7f4c06634799c4582b2908673b55ea9fe96e61.zip |
basic threading of song loading..
with some stubs for event based song list reloading.
so songs can be added while the game is being played, potentially.
and startup isnt slowed down by loading all the songs, as its done in the background.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@549 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/UltraStar.lpr | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Game/Code/UltraStar.lpr b/Game/Code/UltraStar.lpr index 630c0873..dc8fb781 100644 --- a/Game/Code/UltraStar.lpr +++ b/Game/Code/UltraStar.lpr @@ -11,6 +11,11 @@ program UltraStar; {$I switches.inc} uses + {$ifdef unix} // http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial + cthreads, // THIS MUST be the first used unit !! + {$endif} + + syscall, // *************************************************************************** // @@ -212,8 +217,5 @@ const Version = 'UltraStar Deluxe V 1.10 Alpha Build'; begin - main(); - - end. |