aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Edited Classic Skin for USDX 1.1mezzox2010-05-08210-100/+186
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2342 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Edited Classic Skin for USDX 1.1mezzox2010-05-081-5325/+5862
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2341 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
* Colorized SelectSlide colors fixed as they were fixed to blue before.tobigun2010-05-031-100/+100
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2332 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
* artwork directory removedk-m_schindler2010-05-021-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2330 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cleanup of empty directoryk-m_schindler2010-05-021-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2329 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
* - better support for update installationcanni02010-05-016-37/+143
| | | | | | | | | | | - old files will be removed - uninstaller now deletes all shortcuts - select components in uninstaller: covers, highscores, config, screenshots, playlists, songs git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2325 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fixed uninstaller section (all files should be deleted now)canni02010-04-301-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2324 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - configure recreated with autogen.shtobigun2010-04-306-1899/+1343
| | | | | | - cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2323 b956fd51-792f-4845-bead-9b4dfca2ff2c
* version corrected to 1.1k-m_schindler2010-04-302-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2322 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
* minor corrections. German in utf8.k-m_schindler2010-04-302-150/+150
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2320 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changelog updatedwhiteshark02010-04-302-10/+278
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2319 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - applied patch by tobiguncanni02010-04-296-45/+17
| | | | | | - small changes git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2318 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - forgot to commit language files in rev 2282canni02010-04-293-50/+59
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2317 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
* - callback stream test addedtobigun2010-04-271-51/+114
| | | | | | - input latency changed to defaultHighInputLatency git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2312 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
* a value of 0 for suggestedLatency is invalidtobigun2010-04-251-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2310 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
* - wqy-zenhei replaced with wqy-microheitobigun2010-04-2510-1498/+13949
| | | | | | | | -> smaller file (5MB vs. 12MB) -> faster loading (all fonts 700ms instead of 1.5 secs) -> new font seems to be more complete in regard to Japanese glyphs (no missing chars in usdx translation) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2306 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-242-10/+14
| | | | | | | - 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
* encodings fixedtobigun2010-04-242-164/+164
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2297 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-2314-134/+1888
| | | | | | | - 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