aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenSong.pas (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-13Fix for invalid song lengthstobigun1-1/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2511 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-10merge of VideoPreview branch into trunkbrunzelchen1-8/+115
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-07fix coverflow "SetScroll5" for less than 8 songswhiteshark01-9/+11
remove workaround (use SetScroll4 instead of 5) for less than 5 songs git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2340 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-02workaround for LCTRL+R in SongMenu: it should be changed when we have a ↵brunzelchen1-0/+7
solution for the CTRL+'A'..'Z' problem git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2331 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-28improved cover flow: only five front covers and 3 covers in the back that ↵whiteshark01-5/+14
show up in the gap between the front cover and its neighbors are drawn. This looks more beauty than the old solution and it should fix the massive performance loss when many songs are in the shown category. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2314 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21major bug-fix:tobigun1-14/+2
- TScreenSong.OnHide() interfered with TScreenSing.OnShow() method as the changes of AudioPlayback in TScreenSing.OnShow() were overwritten by TScreenSong.OnHide() which is called later. -> moved AudioPlayback initialization to OnShowFinish - The audio file was opened in TScreenSong, mainly that caused the interference. Now the audio file is opened in TScreenSing. This looks more cleaner too. - this patch fixes: - some race conditions - Dead Smiling Pirates song (and others) were not played from the beginning (especially on linux) cleanup: - removed unused MusicPreviewTimer git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2262 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-18change variable names "static" to "statics"tobigun1-57/+57
- "static" is a reserved name and should not be used - code-completion in lazarus does not work as it is not able to cope with variables that are named "static" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2246 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-15fixed cover loading/showing when using tabs=on #2brunzelchen1-4/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2200 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-14fixed cover loading/showing when using tabs=on; deleted unused argument in ↵brunzelchen1-18/+19
SelectNext and SelectPrev git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2199 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-22remove unused code from prev version of ScreenSongwhiteshark01-17/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2148 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-22songflow don't stop now during song scrolling and seems to be more "flowy"whiteshark01-47/+61
hopefully the last hack to this old and dirty code, should be rewritten for 1.2 UScreenSongJumpTo may need some changes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2147 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-22screens code cleanupk-m_schindler1-2/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2146 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-01-14comment unnessecary get_texture call that seems to lead to errorswhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2091 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-01-12deleted leftovers from old plugin system and party modewhiteshark01-1/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2080 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-01-12merged lua into trunks_alexander1-48/+30
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2071 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-17revert previous commit. It did not solve the problem of non song on fedora.k-m_schindler1-3/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2046 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-17Just a test. Probably ignore this!k-m_schindler1-2/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2045 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-13now the Audio-file bug should be fixedbrunzelchen1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2031 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-13fixed bug: Audio-file does not exist: "" [UAudio_FFmpeg]brunzelchen1-0/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2029 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-08removed if to enable folder cover loadings_alexander1-9/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2004 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-06fix performance problem on scrollbrunzelchen1-21/+23
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1999 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-24fixed assembla #92: all song covers look like selected oneswhiteshark01-3/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1958 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-18select songs by clicking on themwhiteshark01-10/+67
click on front song starts singing git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1952 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-18some changes on mousesupportwhiteshark01-11/+24
- you can click on the whole area of a button after fading - options on selects can be changed by clicking on the arrows - fix mouse parsing at the screensong extensions git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1950 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-17fixed #89: wrong mp3 playback when selecting song while scrollingwhiteshark01-5/+15
the issue was caused by the delayed song loading to prevent noise when scrolling git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1947 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-09fixed folders=on bug for the momentwhiteshark01-3/+10
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1941 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-09merged unicode branch (r1931) into trunks_alexander1-61/+69
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-06-04cosmeticsk-m_schindler1-24/+22
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1800 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-31merged (experimental) mouse support patch by d0ccrazywhiteshark01-0/+23
some changes to patch - implemented software cursor (texturable) - option to turn of mouse support or switch between hardware and software cursor - hide software cursor if there is no mouse activity for 5 seconds - soft fade in and out for software cursor - some test cursor-textures for deluxe theme (mog pls change these horible looking images) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1789 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-05-28change range of random. was probably reason for out of range crash.k-m_schindler1-48/+47
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1786 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-04-25Cosmetics. No code changek-m_schindler1-31/+19
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1694 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-03-21New plugin mode reverted (will be moved to a branch afterwards).tobigun1-12/+7
Party mode might work again (untested). This might break linux compatibility. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1641 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-03-07final cleanup of Umain. Creation of UNotek-m_schindler1-153/+194
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1627 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-02-04Tabs_at_startup -> TabsAtStartuptobigun1-26/+27
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1585 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-03All comments are English now (Polish ones have been translated)tobigun1-21/+21
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1498 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25Music preview is started by the main thread now instead of the SDL timer ↵tobigun1-2/+9
thread. In the preview function a string is casted to WideString. As the SDL thread does not have a threadvar for an iconv context with FPC on linux (used if cwstring is enabled) the preview crashed formerly. Now we can use cwstring on linux again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1470 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-13Abstraction of the menus backgroundwhiteshark01-2/+11
5 different bg types: none(fallback), colored, texture, video, and fade(for overlays) Some sideeffect is 5 mb less memory usage, don't know for which reasons :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1446 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-05remove ULCD.pas and ULight.pas + some more cleanup of ULCD routines and ↵k-m_schindler1-1/+0
{$UNDEF UseSerialPort} git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1435 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-05removed some commented relicts from outdated LCD and Light support.whiteshark01-24/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1434 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-23added file headerstobigun1-0/+25
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1404 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-21missing files commitedwhiteshark01-119/+1
Equalizer now loads reflection settings from theme old equalizer methods removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1388 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-20Equalizer class writtenwhiteshark01-13/+13
TRGB methods now in UThemes instead of ULyrics equalizer reflection now available Reading from Reflectionsettings from theme follows on sunday :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1387 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27rename Screen part2k-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1306 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27rename Screen part1k-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1305 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-27Reordering of the directories[1]: moving Game/Code to srck-m_schindler1-0/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1302 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-25Added: Option for background music in sound options (affects UIni too)mogguh1-3/+4
Added: New language string SING_OPTIONS_SOUND_BACKGROUNDMUSIC Added: CC licensed music loop Improved: Options positions via Deluxe theme (first pass, next will follow) Improved: Code beautified in UScreenMain git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1290 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-13cleanuptobigun1-187/+92
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1257 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-13- new cover-loading. Cover thumbnails are stored in an sqlite db (cover.db) ↵tobigun1-56/+40
now instead of the proprietary covers.cache. - covers are cached faster (-> start-up on first run will be considerably faster now if many covers exist). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1256 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-08-13moved image (SDL-surface) manipulation functions from UTexture.pas to UImage.pastobigun1-2/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1254 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-07Fix for Trac ticket #53 (Preview fading and volume problems) tobigun1-45/+46
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1168 b956fd51-792f-4845-bead-9b4dfca2ff2c