aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* forgotten changes from last commitwhiteshark02010-05-181-9/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2381 b956fd51-792f-4845-bead-9b4dfca2ff2c
* move software cursor initialization and bg music start from ↵whiteshark02010-05-181-0/+8
| | | | | | ScreenMain.OnShow to Main procedure to fix bugs with the new dialog on wrong mic configuration git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2380 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bit shift corrected from 6 bit to 30 bit.k-m_schindler2010-05-162-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2378 b956fd51-792f-4845-bead-9b4dfca2ff2c
* arithmetic solution on bit level for AVERROR_SIGN. Delphi cannot handle the ↵k-m_schindler2010-05-162-17/+29
| | | | | | solution with directives. Still needs check on powerpc. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2377 b956fd51-792f-4845-bead-9b4dfca2ff2c
* different way for conditional compilationk-m_schindler2010-05-161-5/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2376 b956fd51-792f-4845-bead-9b4dfca2ff2c
* markers for debugging changed.k-m_schindler2010-05-161-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2375 b956fd51-792f-4845-bead-9b4dfca2ff2c
* adding some markers for debugging.k-m_schindler2010-05-161-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2374 b956fd51-792f-4845-bead-9b4dfca2ff2c
* correct small glitch in commentk-m_schindler2010-05-161-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2373 b956fd51-792f-4845-bead-9b4dfca2ff2c
* revert previous buggy commitk-m_schindler2010-05-161-18/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2372 b956fd51-792f-4845-bead-9b4dfca2ff2c
* test of changing from LIBAVUTIL_VERSION to LIBAVUTIL_VERSION_INTk-m_schindler2010-05-161-17/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2371 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update of some comments. No code change.k-m_schindler2010-05-121-2/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2370 b956fd51-792f-4845-bead-9b4dfca2ff2c
* comments re: TAVMediaType. no code changek-m_schindler2010-05-122-2/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2368 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix No. 5 of ffmpeg update.k-m_schindler2010-05-122-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2367 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix No. 4 of ffmpeg update.k-m_schindler2010-05-121-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2366 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix No. 3 of ffmpeg update.k-m_schindler2010-05-121-0/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2365 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix No. 2 of ffmpeg update. Move from CodecType to AVMediaType.k-m_schindler2010-05-121-1/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2364 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix No. 1 of ffmpeg update.k-m_schindler2010-05-122-17/+55
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2363 b956fd51-792f-4845-bead-9b4dfca2ff2c
* final ffmpeg update as of today: update all to avutil 50.15.2k-m_schindler2010-05-114-5/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2362 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to avutil 50.15.0k-m_schindler2010-05-112-2/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2361 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to mathematics 50.14.0k-m_schindler2010-05-111-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2360 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to avutil 50.14.0k-m_schindler2010-05-111-2/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2359 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update error.h part relates to avutil 50.13.0k-m_schindler2010-05-111-8/+23
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2358 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to avutil 50.12.0k-m_schindler2010-05-112-3/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2357 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update avutils stuff to revision 31050k-m_schindler2010-05-113-18/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2356 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update swscale to revision 31050k-m_schindler2010-05-111-6/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2355 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update avcodec.h and opt.h to 52.67.0 (correction)k-m_schindler2010-05-112-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2354 b956fd51-792f-4845-bead-9b4dfca2ff2c
* correction of previous commit (avformat and avio.pas to 52.62.0)k-m_schindler2010-05-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2353 b956fd51-792f-4845-bead-9b4dfca2ff2c
* avformat and avio.pas to 52.62.0k-m_schindler2010-05-112-7/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2352 b956fd51-792f-4845-bead-9b4dfca2ff2c
* avformat to 52.61.0k-m_schindler2010-05-112-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2351 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update avio.h to avformat 52.61.0k-m_schindler2010-05-111-2/+42
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2350 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update avio.h to avformat 52.56.0k-m_schindler2010-05-111-5/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2349 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update avcodec.h and opt.h to 52.67.0k-m_schindler2010-05-112-18/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2348 b956fd51-792f-4845-bead-9b4dfca2ff2c
* validate microphone settings when leaving the record options and when USDX ↵tobigun2010-05-084-8/+66
| | | | | | | | | is started: - check if a user is assigned to multiple devices. If this is the case either do not leave the record options (if we already are there) or enter the record options (if USDX was started) - the check is performed by calling TAudioInputProcessor.ValidateSettings() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2346 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed local/global execution detection:tobigun2010-05-081-15/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Detects whether the was executed locally or globally. * - Local mode: * - Condition: * - config.ini is writable or creatable in the directory of the executable. * - Examples: * - The USDX zip-archive has been unpacked to a directory with write. * permissions * - XP: USDX was installed to %ProgramFiles% and the user is an admin. * - USDX is started from an external HD- or flash-drive * - Behavior: * Config files like config.ini or score db reside in the directory of the * executable. This is useful to enable windows users to have a portable * installation e.g. on an external hdd. * This is also the default behaviour of usdx prior to version 1.1 * - Global mode: * - Condition: * - config.ini is not writable. * - Examples: * - Vista/7: USDX was installed to %ProgramFiles%. * - XP: USDX was installed to %ProgramFiles% and the user is not an admin. * - USDX is started from CD * - Behavior: * - The config files are in a separate folder (e.g. %APPDATA%\ultrastardx) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2344 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FPC 2.4.0 compatibility fix:tobigun2010-05-082-2320/+2327
| | | | | | | - some TntUnicodeControls routines had to be updated - For the TWriter.Write() issue in TntClasses.pas see http://wiki.freepascal.org/User_Changes_2.4.0#Passing_ordinal_constants_to_formal_const_parameters git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2343 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix coverflow "SetScroll5" for less than 8 songswhiteshark02010-05-071-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
* - workaround by tobydox for buggy Intel 3D driver on Linux through ↵canni02010-05-051-0/+2
| | | | | | deactivating texture tiling applied to UGraphic (thx!) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2339 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ESC saves again. revert 1183.k-m_schindler2010-05-032-4/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2338 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ESC saves again. revert 1183.k-m_schindler2010-05-031-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2337 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ESC saves again. revert 1183.k-m_schindler2010-05-031-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2336 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ESC saves again. revert 1183.k-m_schindler2010-05-031-1/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2335 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Free Statics/Buttons/Texts if a screen is destroyed (Textures used by ↵tobigun2010-05-032-44/+51
| | | | | | | | those components are not unloaded yet) - Use Free() instead of Destroy() as it checks for nil by default git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2334 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Replaced another usage of Screen.w/Screen.h with ScreenW/ScreenHtobigun2010-05-031-2/+2
| | | | | | - This fixes the detection of the mouse position on non 4:3 displays git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2333 b956fd51-792f-4845-bead-9b4dfca2ff2c
* workaround for LCTRL+R in SongMenu: it should be changed when we have a ↵brunzelchen2010-05-021-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
* - Fix for "Wrong mouse position after screen-resize" bug reported here ↵tobigun2010-05-021-2/+8
| | | | | | | | (http://forum.ultra-star.de/viewtopic.php?f=65&t=7768&p=57151#p57151) - Note: Screen.w and Screen.h are not updated after a resize as SDL_SetVideoMode is not called on windows on a resize event. Previously SDL_SetVideoMode invalidated all OpenGL textures resulting in most textures white. Using SDL_SetVideoMode at a resize seems to work now at least with SDL 1.2.14 and Win7. Maybe we should switch it on again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2328 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - configure recreated with autogen.shtobigun2010-04-302-2/+2
| | | | | | - cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2323 b956fd51-792f-4845-bead-9b4dfca2ff2c
* portaudio playback (not used by default) segfault fixedtobigun2010-04-303-22/+71
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2321 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add error message if source is compiled with unsupported compiler (delphi ↵whiteshark02010-04-281-10/+8
| | | | | | 2007 and newer) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2315 b956fd51-792f-4845-bead-9b4dfca2ff2c
* improved cover flow: only five front covers and 3 covers in the back that ↵whiteshark02010-04-281-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
* - 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