aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* do not handle txt file format errors that stricttobigun2010-04-201-9/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2253 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bugfix for crash with portaudio (all platforms):tobigun2010-04-193-29/+52
| | | | | | | | | | | - 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
* changed THandle to TFileHandle in UPath/UFilesystem as THandle (cardinal in ↵tobigun2010-04-192-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
* reduced verbose output on missing theme and song tags (info instead of warn)tobigun2010-04-192-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2250 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - added manifest file to make ultrastardx UAC awaretobigun2010-04-191-1/+1
| | | | | | | | | | | | | | | - this leverages usdx from a legacy app to a vista/win7 compatible app - disables the virtual-store and other dirty UAC legacy app stuff - checking for read-only files should work now - the manifest is embedded in the exe via the RC file (which previously only contained the icon) - alternatively the file ultrastardx.exe.manifest can be put in the game directory along with the .exe file. Vista/Win7 will autodetect this file. - to check if this works: - open the task-manager - right click on ultrastardx - if "UAC-Virtualization" is checked, the app is still executed in legacy mode which should not happen. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2249 b956fd51-792f-4845-bead-9b4dfca2ff2c
* open ffmpeg video and audio files in shared mode. Crashed previously when a ↵tobigun2010-04-181-1/+1
| | | | | | file was opened twice in read-only mode. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2248 b956fd51-792f-4845-bead-9b4dfca2ff2c
* change variable names "static" to "statics"tobigun2010-04-1812-284/+284
| | | | | | | - "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
* some parts recoded more simply, maybe this will fix infinite score raise bugwhiteshark02010-04-171-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
* minor screen transition improvementswhiteshark02010-04-171-39/+48
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2244 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - port theme detection code from UIni to UThemeswhiteshark02010-04-156-119/+211
| | | | | | | | | - 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
* - fix crash when not existing skin is selected in config filewhiteshark02010-04-141-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
* completly remove solmizationwhiteshark02010-04-142-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
* load type and typesbg from theme ini for selectswhiteshark02010-04-132-2/+6
| | | | | | 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
* - save input device names as UTF8Stringswhiteshark02010-04-133-7/+11
| | | | | | | | | - 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
* cut text of select options to fit to selects bgwhiteshark02010-04-131-9/+45
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2233 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some code cleanupwhiteshark02010-04-131-16/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2232 b956fd51-792f-4845-bead-9b4dfca2ff2c
* BugFixb_krueger2010-04-121-2/+4
| | | | | | | | Plugin 5000points.usdx is now scoring correct Plugin teamduel.usdx now shows both player names (from team 1 and team 2) Maybe, the lua-plugins are not executed atomic (can go wrong on drawing in gl): please verify! git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2230 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - added own procedure ConvertFrom101To110(): conversion from 1.01 to 1.10brunzelchen2010-04-111-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
* write log files to writable user directorywhiteshark02010-04-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2223 b956fd51-792f-4845-bead-9b4dfca2ff2c
* center usdx windowwhiteshark02010-04-071-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2222 b956fd51-792f-4845-bead-9b4dfca2ff2c
* swap textures of statics colorized to playercolor in score screenwhiteshark02010-04-073-4/+225
| | | | | | 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
* - Revert quick-fix from revision 2000tobigun2010-04-061-1/+1
| | | | | | - The problem has been fixed by the previous commit (overload Path()) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2220 b956fd51-792f-4845-bead-9b4dfca2ff2c
* addition to previous commit:tobigun2010-04-061-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
* Fix for Windows7/64bit/Delphi2006 (and maybe others):tobigun2010-04-061-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
* change of version check and comments upgrade.k-m_schindler2010-04-061-8/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2217 b956fd51-792f-4845-bead-9b4dfca2ff2c