aboutsummaryrefslogtreecommitdiffstats
path: root/src/base (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add GetSampleSize()tobigun2010-12-281-1/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2778 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix save_playback crashestobigun2010-12-281-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2777 b956fd51-792f-4845-bead-9b4dfca2ff2c
* rate on all beats patchbrunzelchen2010-12-151-618/+621
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2761 b956fd51-792f-4845-bead-9b4dfca2ff2c
* spawn perfect line twinkle for player 1 to 3 on second screen, if the amount ↵brunzelchen2010-12-151-0/+4
| | | | | | of players is less then 4 and screens=2 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2760 b956fd51-792f-4845-bead-9b4dfca2ff2c
* disable blending after drawing of particlesbrunzelchen2010-10-221-11/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2688 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add pre-cache option at font-creation to preload a glyph base settobigun2010-10-172-13/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2675 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X Readmek-m_schindler2010-10-141-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2664 b956fd51-792f-4845-bead-9b4dfca2ff2c
* strings adjusted (removed 'RC'-parts)tobigun2010-10-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2656 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - removed hardcoded bebeto loopcanni02010-09-291-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2636 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix resize-bug in SDL < 1.2.14tobigun2010-09-051-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2631 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed default cover cache size from 128 to 256 pixelsbrunzelchen2010-09-041-4/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2630 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fixed absolute path function (thx to the anonymous irc guy)canni02010-08-151-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2612 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bug: if in first sentence is one note than not execute onsentence proceduredavidus012010-07-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2605 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix party player selectionwhiteshark02010-07-181-1/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2581 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed conversion of ultrastar.db from 1.0.1a to 1.1brunzelchen2010-07-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2574 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - divide ScreenW by 2 in modi list if screens=2 and fullscreen (UIni)brunzelchen2010-07-041-1/+1
| | | | | | - fixed crash after singing (with screens=2) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2572 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Bugfix: do not call Inc() on PByteArray pointers. It will not increment by ↵tobigun2010-06-191-1/+1
| | | | | | one byte, but by SizeOf(ByteArray) bytes which is some KB. As a result the pointer will point to an illegal memory address. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2549 b956fd51-792f-4845-bead-9b4dfca2ff2c
* move check for OnSentenceEnd call from NewNote to NewBeatDetectwhiteshark02010-06-151-14/+31
| | | | | | | | - fix rating popup for lines that end with a freestyle note - better handling of songs with bad line breaks this may need some additional testing! git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2528 b956fd51-792f-4845-bead-9b4dfca2ff2c
* avoid time bar overflows by restricting its rangetobigun2010-06-131-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2514 b956fd51-792f-4845-bead-9b4dfca2ff2c
* do not save "auto" encoding tagtobigun2010-06-131-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2510 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Previously removed option Lyrics:Encoding now back in config.ini:tobigun2010-06-122-5/+11
| | | | | | | | | | - Possible values: Auto/CP1250/CP1252/UTF8/Locale - Default: Auto - Recommended: Auto or UTF8 - IMPORTANT: CP1250(old US default), CP1252 (old USDX default) and Locale (country specific) are only for backwards compatibility and should not be used as they break portability git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2507 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix wrong lyric spacing in editor after editing a sentence whose last ↵whiteshark02010-06-111-0/+1
| | | | | | syllable is freestyle git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2488 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Readability improvement: Rename local variable Done to KeepGoing. Convert ↵k-m_schindler2010-06-111-15/+14
| | | | | | While loop to repeat loop in MainLoop. no change in logic. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2485 b956fd51-792f-4845-bead-9b4dfca2ff2c
* finally fixing r2478whiteshark02010-06-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2481 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix compiling after r2478whiteshark02010-06-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2480 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed main loop initializationwhiteshark02010-06-101-0/+2
| | | | | | should fix the close w/o error message after loading that some people reported git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2478 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - added missing Result assignment in TAudioInputProcessor.CheckPlayersConfigbrunzelchen2010-06-102-18/+19
| | | | | | | - replaced "continue" var with "Done" in UMain - CheckEvents is now a procedure and not a function git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2477 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge of VideoPreview branch into trunkbrunzelchen2010-06-102-3/+96
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add the path of Library/Application Support/UltraStarDeluxe again.k-m_schindler2010-06-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2471 b956fd51-792f-4845-bead-9b4dfca2ff2c
* string updatetobigun2010-06-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2456 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - URecord.ValidateSettings should not display the popup itselftobigun2010-06-062-12/+28
| | | | | | - Array free version of CheckPlayersConfig git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2450 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Now on sing-screen entry a check is performed if mics are assigned to all ↵tobigun2010-06-061-13/+80
| | | | | | | | | | | players. If not an error popup is displayed (but the sing-screen does not abort). - Player 1 is not assigned to the first detected audio device anymore - Previously the auto-detected one might have been a non-mic port of the internal sound card like mono or stereo mix - If the user has singstar mics he does not have to check for other automatically assigned devices for player 1 what caused many problems in the past -> Providing no default might be better (and the user can check the input volume, too) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2449 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - cleanuptobigun2010-06-062-23/+38
| | | | | | | - added comments - added CHANNEL_OFF (=0) for ChannelToPlayerMap git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2448 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add Music/Ultrastar Deluxe as a song folder.k-m_schindler2010-05-283-6/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2424 b956fd51-792f-4845-bead-9b4dfca2ff2c
* move LogPath to "~/Library/Logs/UltraStar Deluxe" on Mac OS Xk-m_schindler2010-05-281-8/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2423 b956fd51-792f-4845-bead-9b4dfca2ff2c
* zero-length notes will no longer be ignored. they will be converted into ↵brunzelchen2010-05-231-12/+15
| | | | | | freestyle notes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2407 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
* validate microphone settings when leaving the record options and when USDX ↵tobigun2010-05-083-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
* 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
* - 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
* - Free Statics/Buttons/Texts if a screen is destroyed (Textures used by ↵tobigun2010-05-031-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
* - 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-301-1/+1
| | | | | | - cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2323 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - device input latency is now configurable via config.initobigun2010-04-272-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
* 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
* - wrong section names in TextGL fixedtobigun2010-04-241-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
* 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
* - font fallback addedtobigun2010-04-234-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
* reverted revision 2278tobigun2010-04-231-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