aboutsummaryrefslogtreecommitdiffstats
path: root/src/base (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove ULCD.pas and ULight.pas + some more cleanup of ULCD routines and ↵k-m_schindler2008-10-052-503/+0
| | | | | | {$UNDEF UseSerialPort} git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1435 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - FFmpeg header updatetobigun2008-10-011-2/+2
| | | | | | | | - update to newest revision - if linked libs are too new, USDX will not compile anymore and display an error message (to avoid mysterious crashes if an unsupported version of FFmpeg is used) - comment change in UVisualizer.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1428 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed effects from last song are drawn in next song, see ↵whiteshark02008-09-281-6/+11
| | | | | | | | http://www.assembla.com/spaces/usdx/tickets/23 ClearScores method updated: this fixes that first sentence of song is awful if a song was sung before git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1426 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
* one more version of fixing the endian problem in SDLk-m_schindler2008-09-281-9/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1424 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
* Adding hints to possible endian related problems. No code change, yet. Only ↵k-m_schindler2008-09-281-0/+3
| | | | | | suggestions for test. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1420 b956fd51-792f-4845-bead-9b4dfca2ff2c
* correction of byte order (correct colors) in texture output on powerpc.k-m_schindler2008-09-281-0/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1419 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed fixed font offset from ratin indication popupwhiteshark02008-09-241-6/+10
| | | | | | variable offset is caculatied w/ popup height and fontsize git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1414 b956fd51-792f-4845-bead-9b4dfca2ff2c
* remove junk tab whitespacek-m_schindler2008-09-231-58/+55
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1411 b956fd51-792f-4845-bead-9b4dfca2ff2c
* base/uPluginLoader.pas renamed to UPluginLoader.pas. no code changek-m_schindler2008-09-231-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1408 b956fd51-792f-4845-bead-9b4dfca2ff2c
* indentation unified, no code change.k-m_schindler2008-09-2319-164/+178
| | | | 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-2348-0/+1200
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1403 b956fd51-792f-4845-bead-9b4dfca2ff2c
* pure editing and typos, no code changek-m_schindler2008-09-231-185/+207
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1402 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Uppercase/Lowercase corrections andother typos in comments, no code changek-m_schindler2008-09-231-132/+132
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1401 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Without SDL_GL_ALPHA_SIZE the lyrics won't work anymore on some systems as ↵tobigun2008-09-221-6/+12
| | | | | | | | the offscreen lyrics rendering needs an alpha component in the back-buffer. -> Leave SDL_GL_ALPHA_SIZE until the lyrics-engine is changed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1394 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed popups w/ rating = 0 doesn't change the rating bar valuewhiteshark02008-09-211-11/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1393 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Repaired ratingbar algo, it was broken after some changes to avoid division ↵whiteshark02008-09-211-3/+3
| | | | | | | | by zero errors. Still needs some finetuning according sensibility. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1392 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed another typo from last commitwhiteshark02008-09-211-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1391 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed a typo in USingScores that causes that the singbar settings are not ↵whiteshark02008-09-211-1/+1
| | | | | | loaded correct from theme git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1390 b956fd51-792f-4845-bead-9b4dfca2ff2c
* missing files commitedwhiteshark02008-09-211-40/+51
| | | | | | | Equalizer now loads reflection settings from theme old equalizer methods removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1388 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Equalizer class writtenwhiteshark02008-09-202-24/+33
| | | | | | | | TRGB methods now in UThemes instead of ULyrics equalizer reflection now available Reading from Reflectionsettings from theme follows on sunday :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1387 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - It is not possible to handle the window/fullscreen command-line parameters ↵tobigun2008-09-152-141/+130
| | | | | | | | with a single boolean member like TCMDParams.Fullscreen. It was replaced by ScreenMode: TScreenMode with TScreenMode = (scmDefault, scmFullscreen, scmWindowed) - cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1384 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Do not set a minimum size for the alpha component of the screen mode ↵tobigun2008-09-151-5/+11
| | | | | | | | | (SDL_GL_ALPHA_SIZE), otherwise on a few systems with some versions of SDL (at least 1.2.11) SDL_SetVideoMode will fail. The problem occured if the adjusted color component sizes did not leave any space for alpha, e.g. red/green/blue ajusted from 5 to 8: r_size+g_size+b_size = 24, so an alpha of at least 5 is just available if the depth is 32bit. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1383 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SDL_InitSubSystem() in Initialize3D() is now handled as critical error (to ↵tobigun2008-09-141-2/+1
| | | | | | avoid crashes as aftereffects). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1382 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
* Media modules moved from base to mediatobigun2008-09-1317-7781/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1374 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed resource.inctobigun2008-09-123-79/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1371 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Windows resources (.rc) reduced to the icontobigun2008-09-123-95/+103
| | | | | | | - Texture resource names are now directly written to resources.inc - Fonts are no resources anymore. They are moved to game/fonts and can be changed to support multiple charsets (until the TTF part is finished). Fonts are registered in fonts/fonts.in git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1367 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Define BSD changed to FreeBSD as Darwin also defines BSDtobigun2008-09-111-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1366 b956fd51-792f-4845-bead-9b4dfca2ff2c
* -Creation of default directories (songs, covers) working again.tobigun2008-09-111-4/+4
| | | | | | - BSD redefined to FreeBSD git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1365 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SongDir1 template in config.ini is now created on Unix tootobigun2008-09-111-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1364 b956fd51-792f-4845-bead-9b4dfca2ff2c
* GetExecution dirs forced to absolute pathtobigun2008-09-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1361 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Halt if the initial SDL_SetVideoMode() in InitializeScreen() call failstobigun2008-09-101-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1359 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FreeBSD compatibility fixes:tobigun2008-09-107-52/+48
| | | | | | | - {$IF Defined(Linux)} -> {$IF Defined(Linux) or Defined(BSD)} or {$IF Defined(UNIX)} - config-freebsd.inc added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1357 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - better conformance of Makefiles to GNU coding standardstobigun2008-09-091-1/+4
| | | | | | | | | | | | | | - bindir/prefix, etc. can be changed anytime make is performed and is not hardcoded on configure time anymore - paths are written to the intermediate paths.inc file (instead of config-xyz.inc) - binary is not stripped anymore - fpc.m4 rewrite - additional options like heaptrace, range-checks - noexecstack workaround - some more changes - configure.ac helper functions moved to ax_ectract_version.m4 and pkg_config_utils.m4 - some icons moved from artwork to icons git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1351 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed typok-m_schindler2008-09-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1350 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Delphi-mode set for FPCtobigun2008-09-068-4/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1348 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fixed out-of-range error. In NewNote() ↵tobigun2008-09-061-4/+12
| | | | | | CurrentPlayer.Note[CurrentPlayer.HighNote] was accessed although CurrentPlayer.Note is empty (always the case at the beginning of a song). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1346 b956fd51-792f-4845-bead-9b4dfca2ff2c
* not needed test on presence of dir removed. Courtesy to tobigunk-m_schindler2008-09-041-2/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1345 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixing a crash with Access violation if the folder Resources is missing in ↵k-m_schindler2008-09-031-0/+2
| | | | | | Application Support/UltraStarDeluxe git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1341 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Moved: The folder classes has been renamed to basemogguh2008-09-0265-0/+32548
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