aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Added functions to determine to which character-class (alpha(=letter), ↵tobigun2008-03-221-1/+65
| | | | | | numeric, punctuation etc.) a character belongs. Neither delphi's nor fpc's RTL (in contrast to Java) has such a function, has it? git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@968 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed the positions in the one player score screen (Deluxe theme)mogguh2008-03-211-176/+138
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@967 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ParseInput(... ScanCode: byte; ...) -> ParseInput(... CharCode: WideChar; ...)tobigun2008-03-2136-96/+96
| | | | | | See: http://trac2.assembla.com/usdx/ticket/35 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@966 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - av_log_get_level()/av_log_set_level() addedtobigun2008-03-211-0/+56
| | | | | | - now uninformative FFmpeg error-messages can be disabled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@965 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lenght -> lengthtobigun2008-03-2110-605/+617
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@964 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - In linux (with the gtk2 interface) this will change the locale settings ↵tobigun2008-03-201-1/+18
| | | | | | | | | | | | | | | | like LC_NUMERIC (which cannot be reverted, can it? At least I have not managed to do so.). As a result external libs like projectM might not be able to parse floating-point values anymore (because ',' might be used as decimal-seperator in atof() or strtod()). - As a result, projectM does not work anymore and crashes because of access violations. Not initializing Interfaces crashes USDX when widgets should be shown, as done with MessageBox(). In addition LCL assigns itself as a Signal-handler for almost every exception (FPE, SEGV, etc.) and wants to show a message-box with some info on the exception that occured. It will crash a second time because of the missing widget-set binding (error in winapi.pp). - Removing the lazarus widget stuff seems to be the only solution but even if just the LCLIntf unit is included, lazarus catches signals and tries to show the exception-info. -> So we might have to remove all the lazarus stuff except LResources (hope this doesn't influence the signal-handler too) - We can leave the windows-only LCL-stuff in DirWatch and the Midi-classes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@963 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Delphi (in contrast to C/C++) handles floating-point multiplications with ↵tobigun2008-03-203-19/+83
| | | | | | | | | | NaN or divisions by 0.0 as floating-point exceptions (FPE). This is a problem with some libraries which expect that e.g. "NaN * 3.0" is NaN or "4.0 / 0" is INFINITY. - The (strange) default behavior can be changed by setting the control word of the FPU. This is done by assigning $133F to this register via Set8087CW() in delphi. In FPC it was not available for a long time but now it is. OpenGL12.pas contained an own version of Set8087CW() which was totally wrong because the important asm-directives (fclex and fldcw) were missing so it was not of any use. Hence it was removed from the unit so it does not hide the correct FPC version anymore. - This should fix some EDivByZero exceptions in floating-point expressions (as with projectM). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@962 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Staves now can be turned of in Optionsf1fth_freed0m2008-03-178-9/+62
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@961 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed the playback speed of the movie backgrounds_alexander2008-03-172-709/+709
| | | | | | | | fixed the scaling of background with swscale enabeld fixed handling of videogap git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@960 b956fd51-792f-4845-bead-9b4dfca2ff2c
* no need to RE-Initialize the textures and screens..jaybinks2008-03-141-2/+0
| | | | | | | | | | this was causing all textures to be re-loaded etc.. Also, with these in, it would not resize correctly on linux and it would consume to much memory and crash after a few mode changes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@959 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixes for delphi :Ps_alexander2008-03-141-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@958 b956fd51-792f-4845-bead-9b4dfca2ff2c
* new lyric effect: slides_alexander2008-03-149-384/+465
| | | | | | | | | a lot lyric fixes change the resolution/fullscreen mode on exit the options menu some code improvements git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@957 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Game can now be paused using Space like in mplayer or vlcf1fth_freed0m2008-03-121-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@956 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added an skinable overlay in SingScreen to indicate if pause is enabledf1fth_freed0m2008-03-126-6/+36
| | | | | | Fixed the erroroutput of ZeroNote Check git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@955 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed zlportio from Codef1fth_freed0m2008-03-109-53/+70
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@954 b956fd51-792f-4845-bead-9b4dfca2ff2c
* re-added local variable that was required for windows.jaybinks2008-03-101-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@953 b956fd51-792f-4845-bead-9b4dfca2ff2c
* re-added local variable that was required for windows.jaybinks2008-03-101-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@952 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix build problem for me local...jaybinks2008-03-101-5/+4
| | | | | | | hope it fixes builds on dev.usdx git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@951 b956fd51-792f-4845-bead-9b4dfca2ff2c
* auto removed a bunch of unused local variablesjaybinks2008-03-1023-10226/+10228
| | | | | | | | ( removed with a script parsing compiler output ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@950 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed a few unused local variablesjaybinks2008-03-103-14/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@949 b956fd51-792f-4845-bead-9b4dfca2ff2c
* new MixBuffers() function as replacement for SDL_MixAudio. Now portaudio ↵tobigun2008-03-093-47/+108
| | | | | | works without crackling. MixBuffers is not optimized yet (no MMX, etc.) but I think it is fast enough for now. If SDL is used for audio output SDL_MixAudio() is used instead because it is more optimized. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@948 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed some warnings ("missing result-values", "0 instead of nil", ↵tobigun2008-03-092-2/+6
| | | | | | "comparison is always true", "range check errors") git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@947 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed some warnings ("missing result-values", "0 instead of nil", ↵tobigun2008-03-094-25/+34
| | | | | | "comparison is always true", "range check errors") git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@946 b956fd51-792f-4845-bead-9b4dfca2ff2c
* DeviceID must be unsigned.tobigun2008-03-091-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@945 b956fd51-792f-4845-bead-9b4dfca2ff2c
* disabled ParseMouse because it is not implemented by any subclass (usage of ↵tobigun2008-03-091-1/+3
| | | | | | non-implemented abstract method) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@944 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed some warnings ("missing result-values", "0 instead of nil", ↵tobigun2008-03-093-167/+176
| | | | | | "comparison is always true", "range check errors") git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@943 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ZeroNotes are ignored now and a notice is written to error.logf1fth_freed0m2008-03-091-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@942 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Multiline comments should be fpc compatible now, removed the score hack at ↵mogguh2008-03-081-40/+43
| | | | | | the same time git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@941 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added the "Quit"-dialog background to the other skins, fixed a whitespace in ↵mogguh2008-03-085-4/+6
| | | | | | blue.ini git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@940 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed GeTickCount in favour to multiplatform available SDL_GetTicks, added ↵mogguh2008-03-081-10/+16
| | | | | | new constant - this should help to make the animations more serious git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@939 b956fd51-792f-4845-bead-9b4dfca2ff2c
* reverted endcapf1fth_freed0m2008-03-082-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@938 b956fd51-792f-4845-bead-9b4dfca2ff2c
* missing backslash addedtobigun2008-03-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@937 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Fixed audio-playing in container (video) files. Now audio can be read ↵tobigun2008-03-072-14/+34
| | | | | | | | directly from the video file and does not have to be extracted to a separate audio-file anymore (tested with vob, avi and flv. Note: With some versions of FFMPEG flv does not work correctly). - Added "pCodecCtx^.workaround_bugs := FF_BUG_AUTODETECT" to let FFMPEG automatically handle known bugs. This might be interesting for video-decoding too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@936 b956fd51-792f-4845-bead-9b4dfca2ff2c
* GetPCMData added for SDL/Portaudiotobigun2008-03-071-894/+899
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@935 b956fd51-792f-4845-bead-9b4dfca2ff2c
* widget-set support. Now the detected widget-set (gtk, gtk2, qt) is used in ↵tobigun2008-03-072-7/+2
| | | | | | linux. Without specifying the type, usdx produced debugger messages while trying to open a message-box (to show information about an exception). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@934 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed "untyped pointer in Dispose-call is meaningless" warning.tobigun2008-03-071-119/+119
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@933 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fpc warned that //$4D42 is ignored as a compiler-directive.tobigun2008-03-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@932 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to current SVN versiontobigun2008-03-075-16/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@931 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Made the Endcap fit to the Scorebar in Scorescreenf1fth_freed0m2008-03-072-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@930 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Forgot that one -.-f1fth_freed0m2008-03-071-16/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@929 b956fd51-792f-4845-bead-9b4dfca2ff2c
* implemented ball lyrics effekts_alexander2008-03-0711-350/+296
| | | | | | | | changed lyrics ball texture form bmp to png many small improvments in ULyrics git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@928 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Translated some Variablesf1fth_freed0m2008-03-0710-294/+294
| | | | | | | | | | | | | | Ilosc To Number Pet To Count Tekst To Text NrCzesciP To LineNumber NrCzesci To LineNumber AktSong To CurrentSong AktNuta To CurrentNote Some Translations In ModiSDK on TSentences Maybe Plugin Code Needs to be Updated git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@927 b956fd51-792f-4845-bead-9b4dfca2ff2c
* File removed as per jaybinks2008-03-071-836/+0
| | | | | | | cru#CR-1 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@926 b956fd51-792f-4845-bead-9b4dfca2ff2c
* playlists are sorted alphabeticalys_alexander2008-03-061-10/+29
| | | | | | | removed warnings git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@925 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bug-fix: there was a Floating-Point exception when calling WindowFunc(). ↵tobigun2008-03-061-32/+63
| | | | | | This was caused by a multiplication with -NaN. The NaN value was in the in_-array because it was not zero'ed properly (sorry, my fault). The problem was fixed by replacing GetMem with AllocMem. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@924 b956fd51-792f-4845-bead-9b4dfca2ff2c
* replaced some "string" parameters with "const string"tobigun2008-03-066-29/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@923 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added all contents of the orginal Audacity FFT-file although it might be ↵tobigun2008-03-061-4/+258
| | | | | | replaced by FFTW someday git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@922 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SING_OPTIONS_RECORD_CHANNELL/R do not exist anymore, just ↵tobigun2008-03-061-3/+2
| | | | | | SING_OPTIONS_RECORD_CHANNEL git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@921 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added first steps to building some unit tests.jaybinks2008-03-068-26/+744
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@920 b956fd51-792f-4845-bead-9b4dfca2ff2c
* do we need the file UPliki.pas?f1fth_freed0m2008-03-061-0/+2
| | | | | | it is used nowhere git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@919 b956fd51-792f-4845-bead-9b4dfca2ff2c