aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - device input latency is now configurable via config.initobigun2010-04-273-17/+56
| | | | | | | | - latency[i] determines the latency for device i in milliseconds or -1 for autodetection (default) - this is necessary as mic capturing with portaudio (on linux) gets stuck if latency is too low. Either because portaudio's latency autodetection does not work or because the mic capture callback takes too long before it returns. In both cases the user should set the latency to a value of 100 (ms). - better input device test, it should not remove working devices anymore. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2313 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added a warning that adjusting the max supported FFmpeg manually is not a ↵tobigun2010-04-264-0/+100
| | | | | | | | valid fix and as a consequence random crashes or bugs may occur. The USDX team does not give any support for USDX with manually adjusted FFmpeg headers. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2311 b956fd51-792f-4845-bead-9b4dfca2ff2c
* wrong usage of glTexEnvi fixedtobigun2010-04-252-4/+11
| | | | | | | | - the environment must be GL_TEXTURE_ENV and not GL_TEXTURE_2D - it must be set before a draw function (glBegin(), ...) and not before glTexImage2D() as the current texture will not store this setting (the setting is global for all textures). - the setting must be set to the default (GL_MODULATE) after usage, otherwise later opengl drawing calls will be unwantedly affected too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2309 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fix: fade texture needs to be resized if the window was resizedtobigun2010-04-251-19/+35
| | | | | | | - Previously the texture could have been too small (window initialized with 800x600 pixels -> fadeTex size 1024x1024. Then resize window to 1400x1050 and the texture will be too small) and an opengl error at glCopyTexSubImage2D() will occur. Due to the error fading was disabled then. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2308 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added Finalize3D finalization as opponent for Initialize3D and for a clean ↵tobigun2010-04-253-22/+30
| | | | | | finalization git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2307 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - added font face cache -> loading all fonts now takes 1.5 secs instead of 7 ↵tobigun2010-04-251-4/+98
| | | | | | | | | | secs - without the CJK font it takes only 600 ms - with wqy-zenhei.ttc replaced by the simsun.ttc windows font it takes only 800 ms instead of 1.5 secs so it is font related -> another CJK font might be better suited git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2305 b956fd51-792f-4845-bead-9b4dfca2ff2c
* final update to 52.61.0 comment forgottenk-m_schindler2010-04-241-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2304 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to 52.61.0k-m_schindler2010-04-241-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2303 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to 52.60.0k-m_schindler2010-04-241-2/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2302 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to 52.59.0k-m_schindler2010-04-241-3/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2301 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to 52.56.0k-m_schindler2010-04-241-2/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2300 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to 52.54.0k-m_schindler2010-04-241-3/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2299 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - wrong section names in TextGL fixedtobigun2010-04-241-9/+13
| | | | | | | - TODO: loading fallbacks for each font takes a lot of time (white screen on start), maybe load them once for all fonts. - reduced outline of Outline2 font git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2298 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed "strict protected/private"tobigun2010-04-241-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2296 b956fd51-792f-4845-bead-9b4dfca2ff2c
* correct update of avcodec to 52.66k-m_schindler2010-04-231-2/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2295 b956fd51-792f-4845-bead-9b4dfca2ff2c
* correct update of avcodec to 52.65k-m_schindler2010-04-231-3/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2294 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - font fallback addedtobigun2010-04-239-130/+342
| | | | | | | - 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
* correct update of avcodec to 52.64k-m_schindler2010-04-231-2/+45
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2292 b956fd51-792f-4845-bead-9b4dfca2ff2c
* correct update of avcodec to 52.62k-m_schindler2010-04-231-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2291 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of avcodec to 52.62k-m_schindler2010-04-231-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2290 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of avcodec to 52.61k-m_schindler2010-04-231-4/+60
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2289 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of avcodec to 52.59k-m_schindler2010-04-231-4/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2288 b956fd51-792f-4845-bead-9b4dfca2ff2c
* With FPC ConsoleWriteLn is not initialized. Fallback to AlexanderS original ↵tobigun2010-04-231-132/+137
| | | | | | solution but make the warning more explicit. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2287 b956fd51-792f-4845-bead-9b4dfca2ff2c
* byte order of some C enums was incorrecttobigun2010-04-232-17/+121
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2286 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of avcodec to 52.58k-m_schindler2010-04-231-3/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2285 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of avcodec to 52.56k-m_schindler2010-04-231-2/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2284 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of avcodec to 52.55k-m_schindler2010-04-231-4/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2283 b956fd51-792f-4845-bead-9b4dfca2ff2c
* reverted revision 2278tobigun2010-04-232-4/+7
| | | | | | | - Auto.inc: Log.LogError is not possible as ULog is not loaded at this point -> used ConsoleWriteLn instead git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2279 b956fd51-792f-4845-bead-9b4dfca2ff2c
* use Log.LogError instead of writelnk-m_schindler2010-04-221-9/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2278 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed violet and orange color for better shades when used in themewhiteshark02010-04-221-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2277 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed old comment from the days of ultrastar.dl.am modwhiteshark02010-04-221-6/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2276 b956fd51-792f-4845-bead-9b4dfca2ff2c
* TextureSize (=CachedCoverSize) default set back to 128.tobigun2010-04-221-2/+5
| | | | | | | | - a default cached cover size of 128 pixels is big enough - 256 pixels are already noticeably slow with 180 covers in the song-screen displayed at once. In additon the covers.db will be too big. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2274 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - now it is possible to sync lyrics to audiotobigun2010-04-228-85/+293
| | | | | | | | - 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
* fixed regression of last committobigun2010-04-222-17/+17
| | | | | | - now all catcover accesses are type-safe git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2272 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - cleanuptobigun2010-04-213-15/+21
| | | | | | - made TSortingType an enum git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2271 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed choppy start of some songs when using ffmpegtobigun2010-04-211-24/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2270 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed bug in SDL/Portaudio playback stream:tobigun2010-04-211-2/+4
| | | | | | - positioning was broken in revision 1661 (9.4.2009, a long time) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2269 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
* removed unused NameLength constanttobigun2010-04-211-4/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2267 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Lua: LogError -> LogStatustobigun2010-04-211-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2266 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed missing PadLeft/Righttobigun2010-04-211-9/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2265 b956fd51-792f-4845-bead-9b4dfca2ff2c
* improved audio synching with lyrics as master clocktobigun2010-04-211-27/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2264 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fixed UAudioPlayback_SoftMixer.GetPosition():tobigun2010-04-211-6/+56
| | | | | | | | | - previously it returned the position that would have been reached after ALL data that was returned at ReadData() was processed by the engine - due to this the returned position did not change for about 40ms (with SDL, samples: 2048, 44.1kHz) and the position was too far ahead (40ms) - this has been fixed by guessing the amount that is still buffered by the engine (SDL or portaudio) - sync should work better now with SDL and portaudio (BASS is not affected by this patch) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2263 b956fd51-792f-4845-bead-9b4dfca2ff2c
* major bug-fix:tobigun2010-04-212-21/+12
| | | | | | | | | | | | | | - 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
* - better lyric <-> video synctobigun2010-04-212-39/+149
| | | | | | | | - fixed glTexEnv() bug: GL_TEXTURE_2D is not valid here - pixel buffer test - some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2261 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - add video loop optiontobigun2010-04-216-280/+459
| | | | | | - 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 message when loading plugins from LogError to LogStatus, beautified ↵k-m_schindler2010-04-201-137/+145
| | | | | | output and some source code cosmetics. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2259 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - force a BASS version >= 2.4.2 as the BASS ABI is slightly different ↵tobigun2010-04-201-3/+20
| | | | | | | | (although we don't use the changed stuff) - IMPORTANT: if a version < 2.4.2 is present, usdx will log an error message but will start without sound. If you don't get sound anymore, update BASS git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2256 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bass header updatetobigun2010-04-203-46/+163
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2255 b956fd51-792f-4845-bead-9b4dfca2ff2c
* projectm 2.0 is supportedtobigun2010-04-203-18/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2254 b956fd51-792f-4845-bead-9b4dfca2ff2c