aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/USong.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix bug introduced in 3172k-m_schindler2016-01-041-3/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3190 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add some parts, such as MD5SongFilek-m_schindler2016-01-031-14/+200
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3172 b956fd51-792f-4845-bead-9b4dfca2ff2c
* first changes to party modek-m_schindler2016-01-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3167 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add GetStringWithNoAccentsk-m_schindler2016-01-011-1/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3156 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * log if the audio file which is specified in the song .txt does not exist ↵basisbit2015-09-121-0/+4
| | | | | | | | or is not accessible * more aggressively try to write changes to text files on windows (also write if file is already opened somewhere). This allows modifying song .txt files on windows 7/8/10 even when VirtualStore is active for the user. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3135 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Remove unused variables and fix warnings with ifdefed variables. Thanks to ↵k-m_schindler2014-11-221-5/+0
| | | | | | rudi_s. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3103 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Call LoadSong() only before playing the song. This speeds up the initial ↵k-m_schindler2014-11-221-5/+3
| | | | | | load because not all song contents have to be parsed on startup. Thanks to rudi_s. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3100 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix problems with empty songlist. thanks to Zup3rvock.k-m_schindler2013-02-241-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2949 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merge the first part of the medley_new branch. This part has the ↵k-m_schindler2013-02-221-13/+317
| | | | | | functionality and most GUI changes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2943 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Previously removed option Lyrics:Encoding now back in config.ini:tobigun2010-06-121-5/+2
| | | | | | | | | | - 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
* 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
* 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
* reduced verbose output on missing theme and song tags (info instead of warn)tobigun2010-04-191-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2250 b956fd51-792f-4845-bead-9b4dfca2ff2c
* completly remove solmizationwhiteshark02010-04-141-46/+0
| | | | | | | | 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
* change zero note error to warning with better descriptionwhiteshark02009-12-181-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2050 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added a note concerning song parserwhiteshark02009-12-131-0/+8
| | | | | | needs to be fixed before release git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2025 b956fd51-792f-4845-bead-9b4dfca2ff2c
* use TryStrToInt and TryStrToFloat instead of try .. except blockwhiteshark02009-12-131-8/+10
| | | | | | may increase performance at least for medley branch git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2024 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed bug in song parser that may lead to an Access Violationwhiteshark02009-12-131-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2023 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Add Date to Score, Filter Players, Switch Difficulty - ID: 2901824s_alexander2009-12-061-0/+1
| | | | | | | | | | | | applied patch form sf.net bug tracker (id: 2901824) thanks to brunzelchen - Add a date-column to the score entries (UNIX-Timestamp); the date will be shown on Top5- und Stats Screen! - The Players on Top-5-Screen are now filtered: Every player with his best score! - You can switch through the difficulties on Top-5-Screen git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1972 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added autodetection of utf8s_alexander2009-12-051-8/+7
| | | | | | | used w3c regex to match all song lines whether they are utf8 lines and decode it on match as utf8 and as latin1 otherwise git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1964 b956fd51-792f-4845-bead-9b4dfca2ff2c
* use second players color to indicate selected note in editorwhiteshark02009-11-241-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1960 b956fd51-792f-4845-bead-9b4dfca2ff2c
* load and save year tagwhiteshark02009-11-171-1/+9
| | | | | | sorting by year still missing git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1944 b956fd51-792f-4845-bead-9b4dfca2ff2c
* header tags that are not supported are written to the end of the songheader ↵whiteshark02009-11-171-8/+52
| | | | | | | | when saving in editor fixed header reader ending in infinite loop when there is a header line w/o Colon git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1943 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed folders=on bug for the momentwhiteshark02009-11-091-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1941 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged unicode branch (r1931) into trunks_alexander2009-11-091-435/+615
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
* folder sorting w/ cats on fixed (ticket #84)whiteshark02009-03-101-2/+39
| | | | | | | it works good for the moment, but it should be changed when we support nested categories. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1631 b956fd51-792f-4845-bead-9b4dfca2ff2c
* final cleanup of Umain. Creation of UNotek-m_schindler2009-03-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1627 b956fd51-792f-4845-bead-9b4dfca2ff2c
* loading of songs with relative: yes fixedwhiteshark02009-02-281-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1611 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Some cleanup donewhiteshark02009-02-281-117/+61
| | | | | | | | | | | | moved ScoreFactor to UMusic removed unused field TLines.LyricWidth removed unused field TSong.Category removed some weird and useless code from songloading procedures songloading simplified, commented parts that are difficult to understand some changes to score calculation that assure not more nor less than 10000 Points are gainable. after many tests I could not find any bug in score calculation, at least after these changes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1610 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some small format editsk-m_schindler2008-11-261-13/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1529 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Format adjustments. no code change.k-m_schindler2008-11-131-45/+49
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1520 b956fd51-792f-4845-bead-9b4dfca2ff2c
* All comments are English now (Polish ones have been translated)tobigun2008-11-031-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1498 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some compiler warnings/hints removedtobigun2008-10-281-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1485 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - glPrint(Pchar) -> glPrint(string)tobigun2008-10-281-5/+5
| | | | | | | - glPrintLetter removed - font engine handles FT_PIXEL_MODE_MONO as FT_Glyph_To_Bitmap(FT_RENDER_MODE_NORMAL) might return a 1bit/pixel black/white image instead of 8bit/pixel gray shaded one (happened with 16px japanese glyphs of simsun.ttf, latin ones were correct). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1482 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Errormessages during songload now translatablewhiteshark02008-10-091-4/+15
| | | | | | | | | | | German and English translations updated Added four new language strings: ERROR_CORRUPT_SONG_FILE_NOT_FOUND ERROR_CORRUPT_SONG_NO_NOTES ERROR_CORRUPT_SONG_NO_BREAKS ERROR_CORRUPT_SONG_UNKNOWN_IN_LINE git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1443 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed some minor bugs in txt file readerwhiteshark02008-09-281-36/+56
| | | | | | Added workaround for empty sentences. Ignores the emtpy sentences and use values from 2nd linebreak. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1425 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Songclass now reports an error if there is no linebreak in a txt file. Error ↵whiteshark02008-09-281-1/+18
| | | | | | | | is written to log. Added detailed error description to ERROR_CORRUPT_SONG Popup. Some translation may be added to this one git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1423 b956fd51-792f-4845-bead-9b4dfca2ff2c
* indentation unified, no code change.k-m_schindler2008-09-231-19/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1406 b956fd51-792f-4845-bead-9b4dfca2ff2c
* gpl header added and property svn:header set to "HeadURL Id"k-m_schindler2008-09-231-0/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1403 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - stop both Video and Visualizer (because of the video-toggle with 'v'-key ↵tobigun2008-09-131-1/+0
| | | | | | | | both could have been active) (See SF-tracker Patch 2078902) - VideoLoaded does not belong to the song state anymore git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1381 b956fd51-792f-4845-bead-9b4dfca2ff2c
* minor layout changes. no code changek-m_schindler2008-09-131-19/+36
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1380 b956fd51-792f-4845-bead-9b4dfca2ff2c
* rename X: integer to NoteIndex: integerk-m_schindler2008-09-131-11/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1379 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SourceForge patch [2086204] applied.tobigun2008-09-131-162/+154
| | | | | | Thanks hawkear. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1378 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Moved: The folder classes has been renamed to basemogguh2008-09-021-0/+1027
Updated: ultrastardx.dpr has been changed accordingly git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1339 b956fd51-792f-4845-bead-9b4dfca2ff2c