aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fixed bug with Video playback & Visualization, on 2nd song played.jaybinks2008-02-151-4/+19
| | | | | | http://trac2.assembla.com/usdx/ticket/31 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@857 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Updated Croatian language files (some changes)canni20072008-02-141-8/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@856 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Added Danish language (thanks to Tricorn)canni20072008-02-131-0/+298
| | | | | | | - Updated branch language files - Updated installer to fit changes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@852 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Euskara language file updated by Ander, fixes two typos in the "Jump to.." ↵mogguh2008-02-131-3/+3
| | | | | | dialog. Thanks mate, and sorry that it took so long! git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@851 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Croatian language done by Darko Sigur, and the updated Classic.ini done by ↵mogguh2008-02-132-80/+302
| | | | | | | | Frédéric Lopez thank you guys! :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@850 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed popUpBg image not displaying in game.jaybinks2008-02-132-1147/+1180
| | | | | | | | | | | this was not so much a problem with loading this type of texture, more so it was the fact that the file name had incorrect capitialization in the theme.ini file causing the png file to be not found on *nix systems. Ive implemented a workaround that will solve this without the theme files needing to be changed. so the game is now tolerant of themes having incorrect case in the filenames. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@849 b956fd51-792f-4845-bead-9b4dfca2ff2c
* small modification to the jaybinks2008-02-132-24/+23
| | | | | | | | | FadeTo function... it can now take a TAudioPlaybackStream as an optional 2nd paramater. so you can do a screen fade & play the swoosh sound, in 1 function call. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@848 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added USNG Song path , so we can use songs that a USNG install may have.jaybinks2008-02-131-886/+893
| | | | | | dodgey implementation, but not important at the moment. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@847 b956fd51-792f-4845-bead-9b4dfca2ff2c
* builds nice... and builds deb also that runs / works ..jaybinks2008-02-124-10/+28
| | | | | | mostly :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@846 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed InitializeSound to be responsive to failed module initializations, jaybinks2008-02-121-14/+39
| | | | | | | | | | | | and to remove the module and try again. EG... in my case, sound card driver problems. ALSA is installed but wouldnt open the audio device. now it fails, and the output module goes to the next available ( if there is any ) then gracefully fails to dummy. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@845 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Updated the autoconf/Makefile stufftobigun2008-02-123-57/+170
| | | | | | | - Use "./configue --enable-dev-build" to install locally - You can skip pkg-config errors with "--enable-skip-pkgconfig-errors" now git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@844 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UVisualizer uses the system dependant default game-path nowtobigun2008-02-122-9/+30
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@843 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added yum install linejaybinks2008-02-081-22/+7
| | | | | | Thanks Kdub git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@842 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - removed the gtk2 detection (it is just necessary if we want to use lazjpeg ↵tobigun2008-02-073-4/+6
| | | | | | | | instead of Ulazjpeg) - undefined ProjectM in switches.inc because it caused some trouble (black screen or crashes). So you have to enable this if you want to use ProjectM. I will try to find the cause for the problem. It occurs with flms` installation only so we will have to debug his version remotely. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@841 b956fd51-792f-4845-bead-9b4dfca2ff2c
* made some adaptions to be more portable.tobigun2008-02-072-52/+112
| | | | | | | you might have to call "autogen.sh" again because i added a new m4 script with one of the last commits. call "./configure --enable-dev-build" after this to install USDX into the local directory (the binary will simply be moved to ../.. at the moment). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@840 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SWScale will only be used if FFMpeg is available (this should be the ↵tobigun2008-02-073-11/+24
| | | | | | standard case) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@839 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Audio output working againtobigun2008-02-073-9/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@838 b956fd51-792f-4845-bead-9b4dfca2ff2c
* compatibility with the current svn-versiontobigun2008-02-078-22/+56
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@837 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Sorry, forgot to check this intobigun2008-02-071-0/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@836 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed the configure stuff though it needs some further adjustmentstobigun2008-02-063-43/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@835 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added autogen.sh on recomendation of Fredz.jaybinks2008-02-051-0/+1
| | | | | | simply creation of configure script git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@834 b956fd51-792f-4845-bead-9b4dfca2ff2c
* mapping of keypad-enter to the return-key (for jonaspaulo and his dead key)tobigun2008-02-051-1053/+1057
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@833 b956fd51-792f-4845-bead-9b4dfca2ff2c
* this is not needed anymore, it will be created by autoconftobigun2008-02-051-69/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@832 b956fd51-792f-4845-bead-9b4dfca2ff2c
* updated configure stufftobigun2008-02-053-115/+191
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@831 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bugfix: ResetSingTemp prevented a song from being played twice ("File not ↵tobigun2008-02-051-0/+2
| | | | | | | | | | | found" error). The error is due the change of TSong from a record to a class. This is because CurrentSong = CatSongs.Song[index] won't copy the whole data anymore but just a pointer. So the paths of CatSongs.Song[index] will be set to '' too what is not desired. Jay: Please revise this. If i remember correctly you wanted to set CurrentSong to nil instead of setting the paths to an empty string. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@830 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bugfix to get the editor working again. Path and FileName have not been set.tobigun2008-02-052-2180/+2178
| | | | | | | | In addtion LoadSong was not used to actually load the song. Jay or some other dev: please revise the changes. The Lyric var is not set too, so it crashes on Lyric.Clear in TScreenEditSub.onShow. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@829 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cleanuptobigun2008-02-051-16/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@828 b956fd51-792f-4845-bead-9b4dfca2ff2c
* General:tobigun2008-02-0539-4684/+4771
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cleanup and adaption of SingDrawOscilloscope Portaudio/SDL audio output: - stuttering in portaudio output has been fixed (SDL_MixBuffers cannot be used without initializing the SDL audio stuff first, so it is not usable with portaudio. Now SDL is used for audio-output instead of portaudio (although the file-name is UAudioPlayback_Portaudio.pas at the moment). - cleaner file closing - volume adjustment UMusic: - cleanup of the audio-interfaces - introduced TNoteType = (ntFreestyle, ntNormal, ntGolden) - some bug-fixes - introduced TSoundLibrary. This is library for all in-game sounds used by USDX. Instead of calling AudioPlayer.PlaySwoosh you should call AudioPlayer.PlaySound(SoundLib.Swoosh) now. You might call SoundLib.Swoosh.Play too, but this is not recommended at the moment because SoundLib.Swoosh could be nil if the file was not found. The SoundLibrary approach is much cleaner than the previous one. The AudioPlayer does not have to specify a Play... and Stop... method for every available sound anymore. In addition it is not an AudioPlayers responsibility to init the in-game sounds. URecord: - polish to english translation of some variables - CaptureSoundLeft/Right is CaptureChannel[0/1] now - TSoundCardInput -> TAudioInputDeviceSource - TGenericSoundCard.Input -> TGenericSoundCard.Source - autocorrelation algorithm more readable now - Clean-up of the audio-input interface - moved cloned code of the input-classes to one base class (TAudioInputBase) - Cleaner finalization - Start-/StopCapture will not crash anymore in the recording-options menu - Fixed several bugs in the autocorrelation stuff (e.g. wrong usage of $10000) - SzczytJest (now ToneValid) was not used correctly. ToneValid is set to true if a valid tone was found (= the sound was louder than the threshold -> no background noise). If i remember correctly the sound was accepted although the tone was invalid. So the old data was used although noone was singing. This resulted in some sort of ghost-singer effect. UIni: - moved TIni.Card to TScreenOptionsRecord.Card because it is not stored in the ini-file and will not be in the future. - TIni.CardList ist now TIni.InputDeviceConfig. The name cardlist was misleading because it just specifies input- but no output-devices. In addition a soundcard can have multiple input-devices (at least in linux). - bugfix on InputDeviceConfig (formerly CardList) usage. USDX expected that the indices of the corresponding elements in TIni.InputDeviceConfig[] and TAudioInputProcessor.Device[] were the same. This is wrong. If device 2 was defined at first place in the ini and device 1 at the second, the indices of the two arrays didn't match (they were swapped) erroneously. To fix this and to support the item listed below the index to TIni.InputDeviceConfig[] is now stored in TAudioInputDevice.CfgIndex. NOTE: InputDeviceConfig[] contains configurations of non-available (unplugged) devices. Iterate over TAudioInputProcessor.Device[] for available devices. - configurations of external devices that are not plugged in will not be deleted anymore. - multiple definitions of one device in the ini-file will not crash USDX anymore - CardList[I].ChannelL/R now are InputDeviceConfig[I].ChannelToPlayerMap[0/1]. I think the new name is more intuitive because it maps a channel to a player number. Now the both vars are joint to one array. Now it is possible to use loops to process them and we might support more than two input channels on one device in the future (if such devices exist) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@827 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added a SafeWriteLn()-function to support thread-safe console-output.tobigun2008-02-051-278/+364
| | | | | | | | This is used in all Log...-Methods now (not for file-output yet). Don't use WriteLn anymore from external threads (for example in SDL or Portaudio Callbacks), otherwise FPC will crash. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@826 b956fd51-792f-4845-bead-9b4dfca2ff2c
* updated to use the new UConfig.pastobigun2008-02-051-20/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@825 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed Delphi-define to MSWINDOWS (works in FPC too)tobigun2008-02-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@824 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - DirWatch-support with FPC (windows only)tobigun2008-02-056-839/+848
| | | | | | - added UAudioCore_Bass.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@823 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Someone committed his __history. Don't think we need this.tobigun2008-02-050-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@822 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Made this FPC (for windows) compatibletobigun2008-02-051-1/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@821 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Sorry, must be UseProjectM_1_0_PLUS nowtobigun2008-02-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@820 b956fd51-792f-4845-bead-9b4dfca2ff2c
* New switches.inc layouttobigun2008-02-053-142/+193
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@819 b956fd51-792f-4845-bead-9b4dfca2ff2c
* config-file for MacOSX. tobigun2008-02-051-0/+70
| | | | | | Eddie: please have a look at this. Define ProjectM_0_9 if you want to use it. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@818 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - config-win.pas: swscale must be undefined by defaulttobigun2008-02-052-2/+2
| | | | | | - swscale.pas: corrected "config" to "UConfig" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@817 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed the FPC_V220 define. Now the build-in FPC_VERSION, FPC_RELEASE and ↵tobigun2008-02-051-7/+13
| | | | | | FPC_PATCH macros are used. So no need to define the version in a config-file anymore (especially in windows). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@816 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed the "use nil instead of 0" warningstobigun2008-02-051-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@815 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Update of the ffmpeg headers to their current trunk versions.tobigun2008-02-0515-4917/+5042
| | | | | | | | IMPORTANT: parameter of av_free_packet is a pointer now procedure av_free_packet (pkt: PAVPacket); as it is with av_free() and av_freep() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@814 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Introduction of config-file mechanism.tobigun2008-02-054-3/+244
| | | | | | 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
* replaced Recording with AudioInputProcessor to conform to the new interface.tobigun2008-02-051-11/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@812 b956fd51-792f-4845-bead-9b4dfca2ff2c
* updated to latest version of JEDI SDLjaybinks2008-02-0517-2490/+4253
| | | | | | JEDI-SDL v1.0 Final RC ( 2008-01-29 05:46 ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@811 b956fd51-792f-4845-bead-9b4dfca2ff2c
* renamed Jedi-SDL folder.jaybinks2008-02-0530-6/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@810 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added Jedi-SDL to our SVN tree..jaybinks2008-02-0530-4/+45563
| | | | | | | simplifies SVN checkout and build, and now that this version is well and truly deprecated, we should keep it here in case its removed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@809 b956fd51-792f-4845-bead-9b4dfca2ff2c
* small changes to check linux compilation.jaybinks2008-02-044-79/+84
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@808 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TTexture.Z was never initialized (TTextureUnit.LoadTexture). In FPC (not in ↵tobigun2008-01-281-1144/+1145
| | | | | | delphi) this resulted in a floating-point error when calling glVertex3f(x1, y1, z) in DrawTexture (UDrawTexture.pas) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@807 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Bugfix: In glTextWidth() "text := pchar(Copy(text, 2, Length(text)-1))" does ↵tobigun2008-01-271-559/+562
| | | | | | | | not work with FPC, probably because a part of text is assigned to itself. Note: Why is the string copied so many times just to get the current character? I just simplified this method to use Text[index] instead. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@806 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Added missing "override" for TSongs.destroy().tobigun2008-01-271-897/+888
| | | | | | | | | | - Bugfix: Fixed a severe Race-Condition that crashed USDX on startup from time to time. The race-condition was due to unsuspended thread-creation in the constructor TSongs.create(). If a class is inherited from TThread and calls "inherited create(false)" in its constructor the thread will immediately start its Execute() method, although the overridden constructor is not finished yet and the members may not be initialized (in this case a TList has not been created). NOTE: If you inherit from TThread always create the thread in suspended mode ("inherited create(true)") and call "Resume()" at the end of the constructor. Don't do this if the class is subject to be overriden, otherwise you may get a race-condition in the child-classes then. In this case it would be better if Resume() was called by the creator of the object. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@805 b956fd51-792f-4845-bead-9b4dfca2ff2c