aboutsummaryrefslogtreecommitdiffstats
path: root/src/base (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-04-06increase range of accepted tones. user complaint (thursday)k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2814 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-30allow playback from audio streamtobigun1-0/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2783 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-29log voice captures to wav-filetobigun2-38/+125
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2781 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-28add GetSampleSize()tobigun1-1/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2778 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-28fix save_playback crashestobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2777 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-15rate on all beats patchbrunzelchen1-618/+621
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2761 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-12-15spawn perfect line twinkle for player 1 to 3 on second screen, if the amount ↵brunzelchen1-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
2010-10-22disable blending after drawing of particlesbrunzelchen1-11/+17
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2688 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-10-17add pre-cache option at font-creation to preload a glyph base settobigun2-13/+29
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2675 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-10-14Mac OS X Readmek-m_schindler1-0/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2664 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-10-10strings adjusted (removed 'RC'-parts)tobigun1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2656 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-09-29- removed hardcoded bebeto loopcanni01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2636 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-09-05fix resize-bug in SDL < 1.2.14tobigun1-0/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2631 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-09-04changed default cover cache size from 128 to 256 pixelsbrunzelchen1-4/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2630 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-08-15- fixed absolute path function (thx to the anonymous irc guy)canni01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2612 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-07-22bug: if in first sentence is one note than not execute onsentence proceduredavidus011-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2605 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-07-18fix party player selectionwhiteshark01-1/+15
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2581 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-07-07fixed conversion of ultrastar.db from 1.0.1a to 1.1brunzelchen1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2574 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-07-04- divide ScreenW by 2 in modi list if screens=2 and fullscreen (UIni)brunzelchen1-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
2010-06-19Bugfix: do not call Inc() on PByteArray pointers. It will not increment by ↵tobigun1-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
2010-06-15move check for OnSentenceEnd call from NewNote to NewBeatDetectwhiteshark01-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
2010-06-13avoid time bar overflows by restricting its rangetobigun1-0/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2514 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-13do not save "auto" encoding tagtobigun1-1/+3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2510 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-12Previously removed option Lyrics:Encoding now back in config.ini:tobigun2-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
2010-06-11fix wrong lyric spacing in editor after editing a sentence whose last ↵whiteshark01-0/+1
syllable is freestyle git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2488 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-11Readability improvement: Rename local variable Done to KeepGoing. Convert ↵k-m_schindler1-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
2010-06-10finally fixing r2478whiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2481 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-10fix compiling after r2478whiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2480 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-10fixed main loop initializationwhiteshark01-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
2010-06-10- added missing Result assignment in TAudioInputProcessor.CheckPlayersConfigbrunzelchen2-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
2010-06-10merge of VideoPreview branch into trunkbrunzelchen2-3/+96
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2475 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-09add the path of Library/Application Support/UltraStarDeluxe again.k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2471 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-08string updatetobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2456 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-06-06- URecord.ValidateSettings should not display the popup itselftobigun2-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
2010-06-06- Now on sing-screen entry a check is performed if mics are assigned to all ↵tobigun1-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
2010-06-06- cleanuptobigun2-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
2010-05-28add Music/Ultrastar Deluxe as a song folder.k-m_schindler3-6/+26
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2424 b956fd51-792f-4845-bead-9b4dfca2ff2c
2010-05-28 move LogPath to "~/Library/Logs/UltraStar Deluxe" on Mac OS Xk-m_schindler1-8/+6
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2423 b956fd51-792f-4845-bead-9b4dfca2ff2c
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