aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/UltraStar.dpr
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-16 11:27:23 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-10-16 11:27:23 +0000
commit8c923b5b76bb17e00132a0b2b2b96de34265fc63 (patch)
tree160d8b7736fe7c65667334e3cfe508d8e646c7ca /Game/Code/UltraStar.dpr
parentd3218aef1528f9233fc8bdd8c3e341ea9d135d9b (diff)
downloadusdx-8c923b5b76bb17e00132a0b2b2b96de34265fc63.tar.gz
usdx-8c923b5b76bb17e00132a0b2b2b96de34265fc63.tar.xz
usdx-8c923b5b76bb17e00132a0b2b2b96de34265fc63.zip
modified ffmpeg usage, to use interface same as bass...
still needs some tidy up, but its working. :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@515 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/UltraStar.dpr29
1 files changed, 19 insertions, 10 deletions
diff --git a/Game/Code/UltraStar.dpr b/Game/Code/UltraStar.dpr
index de34aa52..44f48f12 100644
--- a/Game/Code/UltraStar.dpr
+++ b/Game/Code/UltraStar.dpr
@@ -45,8 +45,12 @@ uses
UTexture in 'Classes\UTexture.pas',
UMusic in 'Classes\UMusic.pas',
- UAudio_FFMpeg in 'Classes\UAudio_FFMpeg.pas',
+ UMedia_dummy in 'Classes\UMedia_dummy.pas',
+
+ // UAudio_FFMpeg in 'Classes\UAudio_FFMpeg.pas',
UAudio_Bass in 'Classes\UAudio_Bass.pas',
+ UVideo in 'Classes\UVideo.pas',
+
ULanguage in 'Classes\ULanguage.pas',
@@ -83,7 +87,7 @@ uses
UCore in 'Classes\UCore.pas',
UCoreModule in 'Classes\UCoreModule.pas',
UPluginInterface in 'Classes\UPluginInterface.pas',
- UVideo in 'Classes\UVideo.pas',
+
UScreenLoading in 'Screens\UScreenLoading.pas',
UScreenWelcome in 'Screens\UScreenWelcome.pas',
UScreenMain in 'Screens\UScreenMain.pas',
@@ -134,6 +138,11 @@ var
begin
WndTitle := Version;
+// InitializeSound();
+// writeln( 'DONE' );
+// exit;
+
+
//------------------------------
//Start more than One Time Prevention
//------------------------------
@@ -243,6 +252,7 @@ begin
Log.LogBenchmark('Loading Light', 1);
+
// Theme
Log.BenchmarkStart(1);
Log.LogStatus('Load Themes', 'Initialization'); Theme := TTheme.Create('Themes\' + ITheme[Ini.Theme] + '.ini', Ini.Color);
@@ -262,8 +272,6 @@ begin
Log.BenchmarkEnd(1);
Log.LogBenchmark('Loading Category Covers Array', 1);
-
-
// Songs
//Log.BenchmarkStart(1);
Log.LogStatus('Creating Song Array', 'Initialization'); Songs := TSongs.Create;
@@ -287,18 +295,19 @@ begin
Log.BenchmarkEnd(1);
Log.LogBenchmark('Loading PartySession Manager', 1);
- // Graphics
- Log.BenchmarkStart(1);
- Log.LogStatus('Initialize 3D', 'Initialization'); Initialize3D(WndTitle);
- Log.BenchmarkEnd(1);
- Log.LogBenchmark('Initializing 3D', 1);
-
// Sound
Log.BenchmarkStart(1);
Log.LogStatus('Initialize Sound', 'Initialization'); InitializeSound();
Log.BenchmarkEnd(1);
Log.LogBenchmark('Initializing Sound', 1);
+
+ // Graphics
+ Log.BenchmarkStart(1);
+ Log.LogStatus('Initialize 3D', 'Initialization'); Initialize3D(WndTitle);
+ Log.BenchmarkEnd(1);
+ Log.LogBenchmark('Initializing 3D', 1);
+
// Score Saving System
Log.BenchmarkStart(1);
Log.LogStatus('DataBase System', 'Initialization');