aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenSing.pas (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-20* Radeon X1600/X1650 graphics card report that they support NPOT, but they ↵basisbit1-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
2015-10-19* some additional logging when switching between background, visualization ↵basisbit1-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
2015-10-19* finished implementing "v"-key to switch between video, visualization and ↵basisbit1-7/+4
background git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3147 b956fd51-792f-4845-bead-9b4dfca2ff2c
2015-10-19* adapted to build with ffmpeg 2.8.1basisbit1-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
2015-10-17* allow to switch between background-video, background-image and projectM ↵basisbit1-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
2014-11-22Remove unused variables and fix warnings with ifdefed variables. Thanks to ↵k-m_schindler1-2/+1
rudi_s. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3103 b956fd51-792f-4845-bead-9b4dfca2ff2c
2014-11-22Call LoadSong() only before playing the song. This speeds up the initial ↵k-m_schindler1-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
2014-06-12Add option to skip the song introbrian-ch1-0/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3071 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-02-23fix typo of previous commit.k-m_schindler1-1/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2947 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-02-23medley mod: Themes modifications. This is considered the last part of the ↵k-m_schindler1-6/+21
medley mod. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2946 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-02-22add fade for medley mod.k-m_schindler1-0/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2945 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-02-22Add Applause for medley mod.k-m_schindler1-0/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2944 b956fd51-792f-4845-bead-9b4dfca2ff2c
2013-02-22merge the first part of the medley_new branch. This part has the ↵k-m_schindler1-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
2010-12-28log active players onlytobigun1-3/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2779 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-08-19reload header in screensing.OnShowwhiteshark01-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2614 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-07-04- divide ScreenW by 2 in modi list if screens=2 and fullscreen (UIni)brunzelchen1-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
2010-06-10merge of VideoPreview branch into trunkbrunzelchen1-2/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-06- URecord.ValidateSettings should not display the popup itselftobigun1-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
2010-06-06- Now on sing-screen entry a check is performed if mics are assigned to all ↵tobigun1-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
2010-06-03- cleanup (removed some commented unused code)tobigun1-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
2010-04-23- font fallback addedtobigun1-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
2010-04-22- now it is possible to sync lyrics to audiotobigun1-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
2010-04-21- already show first video frame at sing-screen at onShow (no white screen)tobigun1-31/+31
- removed some obsolete vars git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2268 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21major bug-fix:tobigun1-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
2010-04-21- add video loop optiontobigun1-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
2010-04-18change variable names "static" to "statics"tobigun1-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
2010-01-12merged lua into trunks_alexander1-7/+55
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2071 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-29revert submission 2051. leeds to crash on 2nd song.k-m_schindler1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2056 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-20changed TSyncSource to interface ISyncSources_alexander1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2051 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-13fixed score display with linebonus=offwhiteshark01-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2026 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-12-07add the score to db only if the song was sung to the end (last word of last ↵brunzelchen1-0/+17
sentence+length) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2002 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-11-09merged unicode branch (r1931) into trunks_alexander1-27/+34
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-08-16some changes to prevent integer size conversionswhiteshark01-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
2009-07-03fixed possible division by zero bug, if line has only 1 oder 2 pointss_alexander1-4/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1845 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-06-29fixed bug #88s_alexander1-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
2009-05-31merged (experimental) mouse support patch by d0ccrazywhiteshark01-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
2009-05-16add lyric-bar bounds to themewhiteshark01-2/+2
thx to Krueger git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1746 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-04-25Cosmetics. No code changek-m_schindler1-2/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1694 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-03-23Fixed some displaying issues w/ old party modewhiteshark01-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
2009-03-07overdrawing of first screen when using visualizations fixed. visualizations ↵whiteshark01-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
2009-03-07final cleanup of Umain. Creation of UNotek-m_schindler1-16/+17
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1627 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-03-06Clear Scores moved to UScreenSing and inlined. Reduce clutter in UMaink-m_schindler1-7/+23
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1624 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-03-01fixed first screen was cleared when second screen was drawn. #76 should be ↵whiteshark01-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
2009-02-25does this fix the score calculation?k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1606 b956fd51-792f-4845-bead-9b4dfca2ff2c
2009-02-04many cosmetic changesk-m_schindler1-135/+127
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1587 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-11-02VideoGap fixed (Tracker Item #2138228)tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1496 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-28some compiler warnings/hints removedtobigun1-9/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1485 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-28- glPrint(Pchar) -> glPrint(string)tobigun1-26/+7
- glPrintLetter removed - font engine handles FT_PIXEL_MODE_MONO as FT_Glyph_To_Bitmap(FT_RENDER_MODE_NORMAL) might return a 1bit/pixel black/white image instead of 8bit/pixel gray shaded one (happened with 16px japanese glyphs of simsun.ttf, latin ones were correct). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1482 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19offscreen rendering removed:tobigun1-16/+3
- fixes zoom errors - fixes missing lyric lines if window is too small - better text quality - fixes some other errors git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1457 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18just another commented linewhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1455 b956fd51-792f-4845-bead-9b4dfca2ff2c