aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-31Support for Unicode-strings and chars (etc. WideUpperCase) in MacOSX.tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@986 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-30Reimplemented all old features of Databasewhiteshark01-74/+67
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@985 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-30New Database Structure Init readywhiteshark02-17/+77
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@984 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-30Prepared some classes for enhanced Song loading.whiteshark010-238/+570
Commited to work with s_alexander in this task. Song loading doesn't work at this point git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@983 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-30enabled the output of the full file path on error, warning or notice durring ↵s_alexander1-1/+1
compilation git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@982 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-28- Select(Slide) textures should work now ('Font Black' -> 'Colorized')tobigun3-322/+119
- Added constants for texture types (TEXTURE_TYPE_PLAIN/TEXTURE_TYPE_TRANSPARENT/TEXTURE_TYPE_COLORIZED) - RGBFloatToInt() helper function - rgb2hls clean-up (it is not even hls, it is hsv) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@980 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-28Some WideChar casts to let it compile in Delphi7 again.whiteshark02-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@979 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-28fixed EIntOverflow in function TMenu.WideCharUpperCase when used on Linux ( ↵jaybinks2-1/+23
or other Unix Systems ) this fix should make Eddies fix for same or similar problem Correct, because the previous fix simply did an UpperCase which is not WideString Compatible. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@977 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-27Writeln caused a problem in the previously committed USong.pas, debug ↵mogguh1-1/+1
message is now just written when compiling with Lazarus git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@976 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-27Added Missig UXMLSongs.pasf1fth_freed0m1-0/+573
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@975 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-27USDX is now able to load SingStar XML Songfiles using Whitesharks XML2US Parserf1fth_freed0m5-30/+360
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@974 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-26added "-debug" flag at run time and "CONSOLE" Define in switches.inc jaybinks18-285/+120
also the default is to run with no debug info sent to the console git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@973 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-25Fixed compilation on the mac.eddie-081536-2113/+2619
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@972 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-22Support for non-US (QWERTY) keyboard layout.tobigun30-486/+644
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@970 b956fd51-792f-4845-bead-9b4dfca2ff2c
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