aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-25Software boost enabled again. TODO: boost per device, not for all.tobigun1-5/+1
Note: do not use software boost if possible. Always adjust the the mixer options (volume, mic boost) there first. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1472 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25use projectM 1.2 for wrappertobigun1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1471 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25Music preview is started by the main thread now instead of the SDL timer ↵tobigun1-2/+9
thread. In the preview function a string is casted to WideString. As the SDL thread does not have a threadvar for an iconv context with FPC on linux (used if cwstring is enabled) the preview crashed formerly. Now we can use cwstring on linux again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1470 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25Some threading questions cleared:tobigun1-14/+3
- file handling is safe as long as only one thread owns the file descriptor - console is safe as long as the thread was created by FPC/Delphi git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1469 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25MainThreadExec() can be used to delegate execution from e.g. a callback ↵tobigun1-4/+45
thread to the main thread. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1468 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25font-engine added (not used atm)tobigun1-0/+2646
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1467 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-25SDL_RESIZABLE removed at SDL_ListModes() on fullscreen modetobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1466 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-20Do not use Main try-except block if in debug mode to make debugging easiertobigun1-1/+7
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1465 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-20Alpha plane request (SDL_GL_ALPHA_SIZE) removed as we do not need it anymore ↵tobigun2-13/+4
(was only needed for backbuffer offscreen rendering). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1464 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-20SDL_ttf headers removed (we will use freetype directly)tobigun2-1071/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1463 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-20FPC 2.2.2 compatibility. USDX crashed with an error in iconv_close. After ↵tobigun2-3/+9
disabling the cwstring unit everything works fine again. Drawback: WideUpperCase() as other unicode support does not work anymore (cwstring was a dummy in 2.2.0 so this is not a big deal). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1462 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun1-24/+24
it was 1/3 of the pixel-size). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1461 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19font-size is now in pixels (not pixels/3) in themes tobigun1-4/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1460 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun16-157/+161
it was 1/3 of the pixel-size). For theme and plugin compatibility the following functions multiply the size with 3: - UScreenSingModi.Print - TTheme.ThemeLoadText - TTheme.ThemeLoadSelectSlide TODO: Convert the themes/plugins and remove the "*3" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1459 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19- background-type -> enumtobigun3-84/+82
- some string function-parameters defined const git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1458 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-19offscreen rendering removed:tobigun4-612/+334
- fixes zoom errors - fixes missing lyric lines if window is too small - better text quality - fixes some other errors git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1457 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18style adjustments. no code change.k-m_schindler8-323/+337
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1456 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18just another commented linewhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1455 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18uncommented an accidentally commented linewhiteshark01-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1454 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18- unused (polish) constants and comments removedtobigun1-9/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1453 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18- polish stuff removedtobigun1-34/+5
- cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1452 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18Error-log entry slightly changed for TTextureUnit.LoadTexture (" added)tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1451 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-18removed unneeded filestobigun2-615/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1450 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-17freetype stuff for testingtobigun7-0/+6572
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1449 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-13- lib-info.txt added with information on the pascal-headers (origin, ↵tobigun2-16/+110
patches, etc.) - bass headers updated to version 2.4.2.1. Bass 2.4 and 2.4.2 are incompatible as BASS_RECORDINFO.driver was removed and BASS_RECORDINFO.freq now points to a wrong memory location if Bass 2.4 is used. As we use 2.4 and not 2.4.2 this change is guarded by an IFNDEF BASS_242 which is undefined at the moment. If we should switch to 2.4.2 under windows BASS_242 must be defined or the driver field removed entirely. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1448 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-13Abstraction of the menus backgroundwhiteshark015-117/+987
5 different bg types: none(fallback), colored, texture, video, and fade(for overlays) Some sideeffect is 5 mb less memory usage, don't know for which reasons :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1446 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-13SQLiteTable3 update to current trunk ↵tobigun3-24/+786
(http://www.itwriting.com/repos/sqlitewrapper/trunk) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1445 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-10Fixed Compilationf1fth_freed0m1-2/+2
This maybe happed by mistake. whiteshark shoud take a look, its his code git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1444 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-09Errormessages during songload now translatablewhiteshark02-5/+20
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
2008-10-05remove ULCD.pas and ULight.pas + some more cleanup of ULCD routines and ↵k-m_schindler4-505/+0
{$UNDEF UseSerialPort} git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1435 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-05removed some commented relicts from outdated LCD and Light support.whiteshark07-43/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1434 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-05Mac OS X requirements addedk-m_schindler1-4/+13
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1433 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-01debug output removedtobigun1-1/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1430 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-01safer context switchtobigun1-37/+115
- clear client attribs with glPopClientAttrib - store complete USDX's OpenGL matrix stack (not just the top one) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1429 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-10-01- FFmpeg header updatetobigun11-250/+421
- 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
2008-09-28Fixed effects from last song are drawn in next song, see ↵whiteshark02-6/+14
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
2008-09-28Fixed some minor bugs in txt file readerwhiteshark01-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
2008-09-28one more version of fixing the endian problem in SDLk-m_schindler3-14/+13
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1424 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-28Songclass now reports an error if there is no linebreak in a txt file. Error ↵whiteshark02-2/+22
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
2008-09-28colorbug on delphi fixed. was broken since 1418, because delphi is missing ↵whiteshark01-1/+2
the FPC_LITTLE_ENDIAN switch git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1422 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-28colors fixed on Delphi. broken by 1418k-m_schindler1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1421 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-28Adding hints to possible endian related problems. No code change, yet. Only ↵k-m_schindler2-0/+7
suggestions for test. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1420 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-28correction of byte order (correct colors) in texture output on powerpc.k-m_schindler1-0/+13
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1419 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-28Fix of endian problem with soundoutput with portaudio2 on darwin-powerpc. ↵k-m_schindler1-0/+2
Delphi is defined also in FPC. Therefore IA32 becomes defined for fpc on powerpc, which is nonsense and gives the problem in portaudio. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1418 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-27note about installation with finkk-m_schindler1-1/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1417 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-27remove some white space. no code changek-m_schindler6-6/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1416 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-24fixed some bugs in equalizer reflectionwhiteshark01-4/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1415 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-24Removed fixed font offset from ratin indication popupwhiteshark01-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
2008-09-24pasdoc support addedtobigun1-0/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1412 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-09-23remove junk tab whitespacek-m_schindler1-58/+55
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1411 b956fd51-792f-4845-bead-9b4dfca2ff2c