aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenSing.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* end of first pass. many more smaller changes and preparations for later ↵k-m_schindler2016-01-031-1/+1
| | | | | | additions git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3189 b956fd51-792f-4845-bead-9b4dfca2ff2c
* first changes to party modek-m_schindler2016-01-021-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3167 b956fd51-792f-4845-bead-9b4dfca2ff2c
* mainly change sentence-related stuffk-m_schindler2016-01-011-6/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3161 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * Radeon X1600/X1650 graphics card report that they support NPOT, but they ↵basisbit2015-10-201-1/+4
| | | | | | | | don't. Implemented a check for these graphics cards. (not yet tested if this fixes all of the problems of that card. * when there was no background set up in the song.txt, trying to switch from visualization to visualization based ProjectM to crash. Fixed this by switching directly to video if there is no background. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3150 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * some additional logging when switching between background, visualization ↵basisbit2015-10-191-0/+6
| | | | | | | | and video in USreenSing * pass the low-latency flag to ffmpeg (this lowers the framerate on certain hardware. -> also use the fast-flag to compensate the lower framerate. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3149 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * finished implementing "v"-key to switch between video, visualization and ↵basisbit2015-10-191-7/+4
| | | | | | background git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3147 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * adapted to build with ffmpeg 2.8.1basisbit2015-10-191-4/+4
| | | | | | * fixed jumping to 5 seconds before singing starts (only for songs with long intro). Press the "s"-key to jump forward to the position. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3146 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * allow to switch between background-video, background-image and projectM ↵basisbit2015-10-171-7/+21
| | | | | | | | | visualization ToDo: fix showing the image when a background was played before. ToDo: rewrite and clean up TScreenSing.LoadNextSong() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3145 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Remove unused variables and fix warnings with ifdefed variables. Thanks to ↵k-m_schindler2014-11-221-2/+1
| | | | | | rudi_s. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3103 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Call LoadSong() only before playing the song. This speeds up the initial ↵k-m_schindler2014-11-221-1/+1
| | | | | | load because not all song contents have to be parsed on startup. Thanks to rudi_s. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3100 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Add option to skip the song introbrian-ch2014-06-121-0/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3071 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix typo of previous commit.k-m_schindler2013-02-231-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2947 b956fd51-792f-4845-bead-9b4dfca2ff2c
* medley mod: Themes modifications. This is considered the last part of the ↵k-m_schindler2013-02-231-6/+21
| | | | | | medley mod. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2946 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add fade for medley mod.k-m_schindler2013-02-221-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2945 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Add Applause for medley mod.k-m_schindler2013-02-221-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2944 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge the first part of the medley_new branch. This part has the ↵k-m_schindler2013-02-221-192/+589
| | | | | | functionality and most GUI changes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2943 b956fd51-792f-4845-bead-9b4dfca2ff2c
* log active players onlytobigun2010-12-281-3/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2779 b956fd51-792f-4845-bead-9b4dfca2ff2c
* reload header in screensing.OnShowwhiteshark02010-08-191-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2614 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - divide ScreenW by 2 in modi list if screens=2 and fullscreen (UIni)brunzelchen2010-07-041-3/+4
| | | | | | - fixed crash after singing (with screens=2) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2572 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge of VideoPreview branch into trunkbrunzelchen2010-06-101-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - URecord.ValidateSettings should not display the popup itselftobigun2010-06-061-2/+1
| | | | | | - Array free version of CheckPlayersConfig git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2450 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Now on sing-screen entry a check is performed if mics are assigned to all ↵tobigun2010-06-061-0/+10
| | | | | | | | | | | players. If not an error popup is displayed (but the sing-screen does not abort). - Player 1 is not assigned to the first detected audio device anymore - Previously the auto-detected one might have been a non-mic port of the internal sound card like mono or stereo mix - If the user has singstar mics he does not have to check for other automatically assigned devices for player 1 what caused many problems in the past -> Providing no default might be better (and the user can check the input volume, too) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2449 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - cleanup (removed some commented unused code)tobigun2010-06-031-68/+52
| | | | | | - added timebar display toggling with the 'T'-key to switch between current, remaining and total time in sing-screen git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2437 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - font fallback addedtobigun2010-04-231-3/+6
| | | | | | | - more configurable fonts.ini - ftNormal/ftBold/ftOutline1/2 added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2293 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - now it is possible to sync lyrics to audiotobigun2010-04-221-4/+28
| | | | | | | | - ini option SyncTo added - lyric to audio is default now (instead of sync audio to lyrics) - modified RelativeTimer (hopefully easier to use and more self-explanatory) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2273 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - already show first video frame at sing-screen at onShow (no white screen)tobigun2010-04-211-31/+31
| | | | | | - removed some obsolete vars git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2268 b956fd51-792f-4845-bead-9b4dfca2ff2c
* major bug-fix:tobigun2010-04-211-7/+10
| | | | | | | | | | | | | | - 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
* - add video loop optiontobigun2010-04-211-36/+33
| | | | | | - allow multiple instances of a video git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2260 b956fd51-792f-4845-bead-9b4dfca2ff2c
* change variable names "static" to "statics"tobigun2010-04-181-18/+18
| | | | | | | - "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
* merged lua into trunks_alexander2010-01-121-7/+55
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2071 b956fd51-792f-4845-bead-9b4dfca2ff2c
* revert submission 2051. leeds to crash on 2nd song.k-m_schindler2009-12-291-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2056 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed TSyncSource to interface ISyncSources_alexander2009-12-201-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2051 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed score display with linebonus=offwhiteshark02009-12-131-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2026 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add the score to db only if the song was sung to the end (last word of last ↵brunzelchen2009-12-071-0/+17
| | | | | | sentence+length) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2002 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged unicode branch (r1931) into trunks_alexander2009-11-091-27/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some changes to prevent integer size conversionswhiteshark02009-08-161-1/+1
| | | | | | attempt to fix weird score bugs git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1932 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed possible division by zero bug, if line has only 1 oder 2 pointss_alexander2009-07-031-4/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1845 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed bug #88s_alexander2009-06-291-2/+2
| | | | | | | | fixed bug, that under some circumstances you got line bonus even with no input https://www.assembla.com/spaces/usdx/tickets/88-get-sometimes-10-points-linebonus-even-with-no-input git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1839 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged (experimental) mouse support patch by d0ccrazywhiteshark02009-05-311-1/+9
| | | | | | | | | | | 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
* add lyric-bar bounds to themewhiteshark02009-05-161-2/+2
| | | | | | thx to Krueger git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1746 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Cosmetics. No code changek-m_schindler2009-04-251-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1694 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed some displaying issues w/ old party modewhiteshark02009-03-231-2/+1
| | | | | | | | | - score wasn't drawn - video wasn't drawn Lyricshelper is still not present git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1653 b956fd51-792f-4845-bead-9b4dfca2ff2c
* overdrawing of first screen when using visualizations fixed. visualizations ↵whiteshark02009-03-071-4/+12
| | | | | | are still streched over both screens when UseTexture in UVisualizer is undefined git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1628 b956fd51-792f-4845-bead-9b4dfca2ff2c
* final cleanup of Umain. Creation of UNotek-m_schindler2009-03-071-16/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1627 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Clear Scores moved to UScreenSing and inlined. Reduce clutter in UMaink-m_schindler2009-03-061-7/+23
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1624 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed first screen was cleared when second screen was drawn. #76 should be ↵whiteshark02009-03-011-11/+10
| | | | | | | | | fixed now commented some weird stuff in TScreenSing.Draw git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1613 b956fd51-792f-4845-bead-9b4dfca2ff2c
* does this fix the score calculation?k-m_schindler2009-02-251-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1606 b956fd51-792f-4845-bead-9b4dfca2ff2c
* many cosmetic changesk-m_schindler2009-02-041-135/+127
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1587 b956fd51-792f-4845-bead-9b4dfca2ff2c
* VideoGap fixed (Tracker Item #2138228)tobigun2008-11-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1496 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some compiler warnings/hints removedtobigun2008-10-281-9/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1485 b956fd51-792f-4845-bead-9b4dfca2ff2c