aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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