aboutsummaryrefslogtreecommitdiffstats
path: root/src/base (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-05-23zero-length notes will no longer be ignored. they will be converted into ↵brunzelchen1-12/+15
freestyle notes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2407 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-18move software cursor initialization and bg music start from ↵whiteshark01-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
2010-05-08validate microphone settings when leaving the record options and when USDX ↵tobigun3-1/+53
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
2010-05-08changed local/global execution detection:tobigun1-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
2010-05-05- workaround by tobydox for buggy Intel 3D driver on Linux through ↵canni01-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
2010-05-03- Free Statics/Buttons/Texts if a screen is destroyed (Textures used by ↵tobigun1-35/+35
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
2010-05-02- Fix for "Wrong mouse position after screen-resize" bug reported here ↵tobigun1-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
2010-04-30- configure recreated with autogen.shtobigun1-1/+1
- cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2323 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-27- device input latency is now configurable via config.initobigun2-0/+8
- 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
2010-04-25added Finalize3D finalization as opponent for Initialize3D and for a clean ↵tobigun3-22/+30
finalization git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2307 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-25- added font face cache -> loading all fonts now takes 1.5 secs instead of 7 ↵tobigun1-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
2010-04-24- wrong section names in TextGL fixedtobigun1-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
2010-04-24removed "strict protected/private"tobigun1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2296 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-23- font fallback addedtobigun4-118/+326
- 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-23reverted revision 2278tobigun1-0/+1
- 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
2010-04-22changed violet and orange color for better shades when used in themewhiteshark01-5/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2277 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-22removed old comment from the days of ultrastar.dl.am modwhiteshark01-6/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2276 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-22TextureSize (=CachedCoverSize) default set back to 128.tobigun1-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
2010-04-22- now it is possible to sync lyrics to audiotobigun4-81/+262
- 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-22fixed regression of last committobigun2-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
2010-04-21- cleanuptobigun3-15/+21
- made TSortingType an enum git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2271 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21improved audio synching with lyrics as master clocktobigun1-27/+47
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2264 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-21- better lyric <-> video synctobigun1-0/+10
- 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
2010-04-21- add video loop optiontobigun1-14/+25
- 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-20do not handle txt file format errors that stricttobigun1-9/+10
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2253 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-19bugfix for crash with portaudio (all platforms):tobigun1-7/+9
- UAudioInput_Portaudio: UnifyDeviceNames was called with the wrong index further changes: - BASS input source-names seem to be encoded with local encoding and are converted to UTF8 - Portaudio source and device names encoding is auto-detected and converted to UTF8 - some clean-up git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2252 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-19changed THandle to TFileHandle in UPath/UFilesystem as THandle (cardinal in ↵tobigun2-15/+23
delphi) does not allow -1. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2251 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-19reduced verbose output on missing theme and song tags (info instead of warn)tobigun2-2/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2250 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-18change variable names "static" to "statics"tobigun1-3/+3
- "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-04-17some parts recoded more simply, maybe this will fix infinite score raise bugwhiteshark01-16/+15
can't reproduce it anyway :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2245 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-15- port theme detection code from UIni to UThemeswhiteshark05-118/+192
- load new value DefaultSkin from themefiles - load value Color (skins default color) from skinfiles - use default skin and color on first start - use default skin and color on theme/skin change git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2241 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-14- fix crash when not existing skin is selected in config filewhiteshark01-1/+16
- restrict loading of themes w/o correct version tag 'USD 110' - remove version tag from classic theme because it causes a crash on load due to missing statics and or texts that some screens assume to be there, e.g. score screen git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2239 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-14completly remove solmizationwhiteshark02-62/+2
new default values: - bgmusic = on - lyriceffect = shift git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2237 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-13load type and typesbg from theme ini for selectswhiteshark01-0/+4
added type definitions to deluxe themes selects git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2235 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-13- save input device names as UTF8Stringswhiteshark01-3/+3
- device names of basslib are assumed to be in local encoding - device names of portaudio are assumed to be in utf-8 fixes: display of device names w/ special characters w/ basslib ('ä' for me) to-do: proof encoding of device names for basslib and portaudio git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2234 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-11- added own procedure ConvertFrom101To110(): conversion from 1.01 to 1.10brunzelchen1-16/+122
- added unicode conversion for all affected colums - added support for challenge-mod db (Date) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2226 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-07write log files to writable user directorywhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2223 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-07center usdx windowwhiteshark01-0/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2222 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-07swap textures of statics colorized to playercolor in score screenwhiteshark01-0/+2
so ticket #1 should finally be fixed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2221 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-06addition to previous commit:tobigun1-1/+1
- cast to RawByteString instead of string to avoid ambiguity git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2219 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-06Fix for Windows7/64bit/Delphi2006 (and maybe others):tobigun1-1413/+1419
- Problem: Videos with filenames that contain special characters (like German umlauts) could not be found - Solution: The correct Path() variant could not be resolved as there were only two overloaded variants (AnsiString/RawByteString and WideString). If a PChar was passed, erroneously Path(WideString) was called which caused a garbage result. - Please test if videos with special chars work now (especially on linux and mac) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2218 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-04-06change of version check and comments upgrade.k-m_schindler1-8/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2217 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-19lowercase log folder name and soure cosmetics.k-m_schindler1-9/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2211 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-19Do not copy the folder Mac OS with the binaries. Not needed.k-m_schindler1-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2210 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-18some changes to "Select Slides"whiteshark01-0/+3
- read ShowArrows and OneItemOnly from theme - use constants for arrows alpha value - fix arrows if select has only one possible option - draw colorized selects like colorized buttons (2nd "deselect" texture) => a uniform look for option menus is possible again option screens that need some theme editing: sound, lyrics, themes, record, advanced git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2205 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-14fixed cover loading/showing when using tabs=on; deleted unused argument in ↵brunzelchen1-1/+1
SelectNext and SelectPrev git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2199 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-14added more screen resolution options, changed default texture size to 256brunzelchen1-9/+17
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2198 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-03-12fix bug report ID: 2969613. Thanks to Mike greywindk-m_schindler1-5/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2191 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-22cleanup of code, which has never been used from start. Part 2.k-m_schindler1-11/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2143 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-02-22changing variables to more local usagek-m_schindler1-20/+21
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2141 b956fd51-792f-4845-bead-9b4dfca2ff2c