aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-22Added functions to determine to which character-class (alpha(=letter), ↵tobigun1-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
2008-03-21ParseInput(... ScanCode: byte; ...) -> ParseInput(... CharCode: WideChar; ...)tobigun36-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
2008-03-21- av_log_get_level()/av_log_set_level() addedtobigun1-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
2008-03-21lenght -> lengthtobigun10-605/+617
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@964 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-20- In linux (with the gtk2 interface) this will change the locale settings ↵tobigun1-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
2008-03-20- Delphi (in contrast to C/C++) handles floating-point multiplications with ↵tobigun3-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
2008-03-17Staves now can be turned of in Optionsf1fth_freed0m4-7/+18
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@961 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-17fixed the playback speed of the movie backgrounds_alexander2-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
2008-03-14no need to RE-Initialize the textures and screens..jaybinks1-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
2008-03-14fixes for delphi :Ps_alexander1-4/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@958 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-14new lyric effect: slides_alexander9-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
2008-03-12Game can now be paused using Space like in mplayer or vlcf1fth_freed0m1-0/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@956 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-12Added an skinable overlay in SingScreen to indicate if pause is enabledf1fth_freed0m3-6/+25
Fixed the erroroutput of ZeroNote Check git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@955 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-10Removed zlportio from Codef1fth_freed0m9-53/+70
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@954 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-10re-added local variable that was required for windows.jaybinks1-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@953 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-10re-added local variable that was required for windows.jaybinks1-1/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@952 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-10fix build problem for me local...jaybinks1-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
2008-03-10auto removed a bunch of unused local variablesjaybinks23-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
2008-03-10removed a few unused local variablesjaybinks3-14/+15
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@949 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-09new MixBuffers() function as replacement for SDL_MixAudio. Now portaudio ↵tobigun3-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
2008-03-09Fixed some warnings ("missing result-values", "0 instead of nil", ↵tobigun2-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
2008-03-09Fixed some warnings ("missing result-values", "0 instead of nil", ↵tobigun4-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
2008-03-09DeviceID must be unsigned.tobigun1-4/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@945 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-09disabled ParseMouse because it is not implemented by any subclass (usage of ↵tobigun1-1/+3
non-implemented abstract method) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@944 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-09Fixed some warnings ("missing result-values", "0 instead of nil", ↵tobigun3-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
2008-03-09ZeroNotes are ignored now and a notice is written to error.logf1fth_freed0m1-1/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@942 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-08Multiline comments should be fpc compatible now, removed the score hack at ↵mogguh1-40/+43
the same time git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@941 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-08Removed GeTickCount in favour to multiplatform available SDL_GetTicks, added ↵mogguh1-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
2008-03-07missing backslash addedtobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@937 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-07- Fixed audio-playing in container (video) files. Now audio can be read ↵tobigun2-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
2008-03-07GetPCMData added for SDL/Portaudiotobigun1-894/+899
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@935 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-07widget-set support. Now the detected widget-set (gtk, gtk2, qt) is used in ↵tobigun2-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
2008-03-07fixed "untyped pointer in Dispose-call is meaningless" warning.tobigun1-119/+119
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@933 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-07fpc warned that //$4D42 is ignored as a compiler-directive.tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@932 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-07update to current SVN versiontobigun5-16/+24
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@931 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-07implemented ball lyrics effekts_alexander1-341/+273
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
2008-03-07Translated some Variablesf1fth_freed0m10-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
2008-03-07File removed as per jaybinks1-836/+0
cru#CR-1 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@926 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06playlists are sorted alphabeticalys_alexander1-10/+29
removed warnings git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@925 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06bug-fix: there was a Floating-Point exception when calling WindowFunc(). ↵tobigun1-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
2008-03-06replaced some "string" parameters with "const string"tobigun6-29/+22
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@923 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06Added all contents of the orginal Audacity FFT-file although it might be ↵tobigun1-4/+258
replaced by FFTW someday git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@922 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06added first steps to building some unit tests.jaybinks8-26/+744
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@920 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06do we need the file UPliki.pas?f1fth_freed0m1-0/+2
it is used nowhere git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@919 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06Translated German comments to Englishf1fth_freed0m8-31/+55
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@918 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06add ini file option SDLBufferSize to set the buffersize for the sdl playback ↵s_alexander3-48/+72
driver (not in config screen yes) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@917 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06Translated Some Variablesf1fth_freed0m8-289/+289
TonGamy to ToneGamus DlugoscNut to NoteLenght Akt to Current AktBeat to CurrentBeat AktBeatD to CurrentBeatD AktBeatC to CurrentBeatC OldCzesc to OldLine Teraz to CurrentTime Razem to TotalTime TCzas to TLineState Czas to LineState git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@916 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06Translated so Variable Namesf1fth_freed0m11-184/+184
Koniec to End_ Wartosc to NoteType Dlugosc to Lenght Ton to Tone Tekst to Text git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@915 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-06fixed compile errors with delphi s_alexander1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@914 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-05Translated Variable Names and Typesf1fth_freed0m11-589/+589
TCzesci to TLines TMuzyka to TMelody HighNut to HighNote Nuta to Note Czesc to Line git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@913 b956fd51-792f-4845-bead-9b4dfca2ff2c