aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/UltraStar.dpr (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-19- changed "Windows" define to "MSWINDOWS"tobigun1-1/+1
- moved a few linklib for darwin to the libname section - added bass-define (undefined by default) for darwin back to switches.inc so switching to bass is easier git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1111 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-16MacOSX adjustments and propset eol-style set to nativek-m_schindler1-1/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1103 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-09- input-source selection works now (with bass or portaudio with portmixer)tobigun1-1/+1
- audio-effects (DSP) interface for audio-playback plus a simple voice removal example (does not sound that good) - FFMpeg support for BASS - audio-clock for FFMpeg for GetPosition and synchronisation - more compatible seeking in FFMpeg - clean termination of the audio interfaces/streams (especially ffmpeg) - Audio output device enumeration (selection will be added later to the sounds option screen) - display of threshold and volume in the record-options screen - threshold and volume can be changed with the 'T' (threshold) and '+'/'-' (source volume) keys - added a FadeIn() method to the IAudioPlayback interface - some minor changes to the audio classes/screens - new base-class for audio-playback classes (used by bass, portaudio and sdl) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1078 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-02MacOSX patch for WideUpperChar. The cwstring Unicode manager is not ↵tobigun1-3/+5
supported at the moment because of some problems with the iconv linker dependencies. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1056 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-02Replaced OpenGL12 with SDL's gl/glu/glext units because OpenGL12 was removed ↵tobigun1-1/+3
from SDL (several years ago? Last update was done in 2004). In addition OpenGL12 was very buggy (see last commit). The new units support OpenGL up to version 2.0 (extensions must be loaded first, see UGraphic.LoadOpenGLExtensions). At the moment, only 1.2 extensions are loaded. Some constants, that were introduced in OpenGL 1.2 and above (like GL_BGR or GL_CLAMP_TO_EDGE) are in glext.pas, so check this file first for missing constants. The MacOS build depends on OpenGL12.pas but has its own file in the MacOSX/Wrapper folder instead of using the JEDI-SDL one. Sorry, that I broke MacOSX build for now but it should be no problem to get this working again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1052 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-24- reverted some stuff that was erroneously commited by one of the last commits.tobigun1-243/+255
- moved DEBUG define from config-*.inc back to switches.inc - APPTYPE is needed by FPC (for Windows) too. Fixed some crashes with Writeln in FPC (Win) if no console is available. - Moved thread-safe ULog.SafeWriteln() to UCommon.ConsoleWriteln(), this is used by DebugWriteln() now, so this is thread-safe too - Added log-levels (sorted by severity): DEBUG, INFO, STATUS, WARN, ERROR, CRITICAL. Default log-level is LOG_LEVEL_ERROR, so warnings and less important logs are not printed by default. You can change this by LOG_LEVEL_DEFAULT or Log.SetLogLevel(Level). Please use Log.LogError/Warn/Status/Info/Debug/... instead of DebugWriteln() to avoid spamming the console. See ULog.pas for further info. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1036 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22- new switches.inc layouttobigun1-8/+3
- support for projectM 1.1 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1033 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-19tried to make songloading working with the old loader and keep all changes ↵s_alexander1-2/+0
that were made since starting to work on a new one *hope that worked* you may delete your existing cover.cache (the cover cache is still NOT working) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1024 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06Merged .lpr-contents into .dpr. An {$I UltraStar.dpr} is left as the only ↵tobigun1-7/+8
code-line in .lpr. The .lpr will be replaced with the .dpr in the Makefile as soon as lresources is removed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1009 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06- removed (linux incompatible) PngImage. In addition it was rather outdated ↵tobigun1-0/+4
(from 2003, newest version is from 2006) - introduced UImage-unit for JPG/PNG/BMP image saving - the png part uses the libpng12-0.dll (part of SDL_Image) so - the jpg part uses either Delphi's Jpeg unit or FPC's base/pasjpeg unit -> so no additional libs are needed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1007 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06removed lazarus dependenciestobigun1-10/+9
- added an implementation of AllocateHWnd/DeallocateHWnd to UCommon for the Win32 only units DirWatch and Midi... (do not use AllocateHWnd somewhere else) - added an own implementation of ShowMessage to UCommon (uses MessageBox in Windows, console-output otherwise) - linux still needs lresources for the lrs-file (will be removed soon) - the FPC windows version uses windows resources now (instead of lrs ones). compile them with windres (in FPC's "bin" dir) or delphi (a batch-file for windres will follow soon) - changed path-separator from '\' to '/' in RC-file for windres compatibility git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1006 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-03rewriting of the txt file parsers_alexander1-0/+2
removed unused variables from TLines and TLine, removed TMelody overworked the TLines and TLine records git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1000 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-31git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@987 ↵whiteshark01-0/+2
b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-27USDX is now able to load SingStar XML Songfiles using Whitesharks XML2US Parserf1fth_freed0m1-0/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@974 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-10Removed zlportio from Codef1fth_freed0m1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@954 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-03- Portaudio-Core added (at the moment just one helper function)tobigun1-4/+2
- Removed the version-number from the project-file (there were three different locations were version numbers were declared and one was wrong (UCore.Create stated it was beta)). I moved the USDX version number to UConfig.pas (Will be introduced in one of the following commits). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@893 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-20- Resampling support addedtobigun1-0/+8
- DecodeStreams are closed now if they are not used anymore - Fixed the crash that occured when USDX was closed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@875 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-20Made the midi-stuff FPC (for windows) compatible.tobigun1-2/+1
Now (in windows) FPC contains all functionalities of the delphi build. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@872 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-07SWScale will only be used if FFMpeg is available (this should be the ↵tobigun1-1/+1
standard case) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@839 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-05- DirWatch-support with FPC (windows only)tobigun1-1/+3
- added UAudioCore_Bass.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@823 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-05Sorry, must be UseProjectM_1_0_PLUS nowtobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@820 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-05New switches.inc layouttobigun1-29/+37
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@819 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-05Introduction of config-file mechanism.tobigun1-0/+2
For now just the windows version. Linux and MacOSX later. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@813 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-05renamed Jedi-SDL folder.jaybinks1-6/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@810 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-01-12bunch of smaller changes...jaybinks1-0/+1
some changes to song loading... Record global changed to singleton object started implementing mic volume display in Settings-Record hope this dosnt break anything.. :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@789 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-01-11changed from ffmpeg-free (audio) to ffmpeg-enabled (if turned on in ↵tobigun1-7/+14
switches.inc) version. BASS is used by default. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@786 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-20made USDX function when file paths differ from previous expectations..jaybinks1-1/+1
( most of the software was still using hard coded paths ) also added ability to have multiple song directories. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@735 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-18git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@719 ↵jaybinks1-216/+216
b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-17include swscale.pasb1indy1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@713 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-17- changed compiler-switch FFMpegAudio to UseFFMpegAudiotobigun1-4/+7
- UseProjectM splitted into UseProjectM_0_9 or UseProjectM_1_0 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@710 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-06added some commentsjaybinks1-2/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@688 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-06gave priority to videos over Visualization...jaybinks1-3/+3
so now video plays back... and "V" will switch between Video ( or jpg ) background and visualization. this needs to be pressed on every song, as the state should be forgotten. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@687 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-06git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@685 ↵jaybinks1-1/+1
b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-06Visualizer changes (audio connection, some opengl fixes)tobigun1-5/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@679 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-06conformed projectM to IVideoPlayback jaybinks1-1/+4
still needs a little work. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@678 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-12-05portaudio support addedtobigun1-8/+19
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@675 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-08Added UPlatform.pas. This should be the first step to move the simple ↵eddie-08151-1/+8
platform specific code to one file for each platform to reduce the IFDEFs in the remaining files. The first available function is a unicode capable DirectoryFindFiles. It is now used in the BrowseDir function in file USongs.pas. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@595 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-031 more try.jaybinks1-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@563 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-03another attempt..jaybinks1-1/+1
( me to lazy to boot my linux dev box .. ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@562 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-03attempt to fix linux build.jaybinks1-6/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@561 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-03Windows Lazarus Build working again...jaybinks1-139/+152
Lazarus Project file includes the DPR, so that we have a unified Uses Clause ( keep this in mind please ) added "Delphi" to switches git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@560 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-02Runtime Song Additionjaybinks1-0/+2
jira:USDX-157 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@553 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-01Mac OS X version compiles and links. I hope I didn't break too many files on ↵eddie-08151-245/+5
windows/linux. Added switches.inc to all files. Changed many IFDEFs. For Windows-only code please use MSWINDOWS instead of WIN32 now. WIN32 is also used by the Mac port. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@546 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-29Add new Party Modi SDK to Trunkwhiteshark01-0/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@539 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-27try to fix build errorswhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@537 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-27made some major progress with ffmpeg audio playback !!!jaybinks1-5/+8
YAY !!! still a little choppy, so I suspect incorrect buffer sizes or something like that. also made some mods to support Unicode song file iteration on windows, this is no worse than what we had before, but is not complete.. oh this code only supports win 2000 and up .. no Win 98... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@533 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-16nearly finished Cores loading procswhiteshark01-19/+53
Add PluginLoader Unit to implent new PluginLoader Reordered Delphi .dpr uses clausel git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@519 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-16tidy up un-needed uses clauses..jaybinks1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@516 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-16modified ffmpeg usage, to use interface same as bass...jaybinks1-10/+19
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
2007-10-11added UAudio_FFMpeg.pas as placeholder... ( Still has bass code in it.. ↵jaybinks1-4/+7
needs to be replaced with ffmpeg code ) UMusic ( And UAudio* ) files, now have proper IAudioPlayback and IAudioInput Interface enumeration. simply having the unit in the uses clause will make it available. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@506 b956fd51-792f-4845-bead-9b4dfca2ff2c