aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - glPrint(Pchar) -> glPrint(string)tobigun2008-10-2815-154/+182
| | | | | | | - 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
* UTextClasses.pas removedtobigun2008-10-282-92/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1481 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Results of UTF8Encode() in TSQLiteDatabase.BindData() are stored in a ↵tobigun2008-10-272-19/+11
| | | | | | | | | | | | | | | local AnsiString variable instead of directly converting it to PChar old: PAnsiChar(UTF8Encode(WideString(Bindings[I].VPWideChar))); new: AnsiStr := UTF8Encode(WideString(Bindings[I].VPWideChar)); DataPtr := PAnsiChar(AnsiStr); Although Delphi and FPC create a temporary AnsiString on the stack which is valid until the end of the method, it is more safe not to rely on this behavior. Maybe in some future version of Delphi/FPC the reference count might be decremented and invalidated after converting the temporary AnsiString to a PChar and the PChar will point to invalid data. In contrast to this, the scope of AnsiStr is obvious. - {$IFDEF WIN32} -> {$IFDEF MSWINDOWS} - {$WARNINGS OFF/ON} removed - var-parameters of SQLite3_Open/SQLite3_Prepare/SQLite3_Prepare_v2 declared as out git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1480 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1479 ↵tobigun2008-10-2610-5751/+3833
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* lazarus win32 project moved to dists/lazarus/tobigun2008-10-264-81/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1478 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lazarus (Win32) project file updatetobigun2008-10-262-1/+542
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1477 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lazarus project updated and moved to dist/lazarustobigun2008-10-256-102/+566
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1476 b956fd51-792f-4845-bead-9b4dfca2ff2c
* configure and package description update:tobigun2008-10-257-728/+81
| | | | | | | - SDL_TTF replaced by freetype - swscale added to debian control file git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1475 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - update to current trunk (just some delphi 2009 compatibility fixes)tobigun2008-10-252-101/+104
| | | | | | - defines WIN32 -> MSWINDOWS (as it is not 32bit specific) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1474 b956fd51-792f-4845-bead-9b4dfca2ff2c
* truetype fonts for testingtobigun2008-10-255-0/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1473 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Software boost enabled again. TODO: boost per device, not for all.tobigun2008-10-251-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
* use projectM 1.2 for wrappertobigun2008-10-251-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1471 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Music preview is started by the main thread now instead of the SDL timer ↵tobigun2008-10-251-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
* Some threading questions cleared:tobigun2008-10-251-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
* MainThreadExec() can be used to delegate execution from e.g. a callback ↵tobigun2008-10-251-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
* font-engine added (not used atm)tobigun2008-10-251-0/+2646
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1467 b956fd51-792f-4845-bead-9b4dfca2ff2c
* SDL_RESIZABLE removed at SDL_ListModes() on fullscreen modetobigun2008-10-251-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1466 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Do not use Main try-except block if in debug mode to make debugging easiertobigun2008-10-201-1/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1465 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Alpha plane request (SDL_GL_ALPHA_SIZE) removed as we do not need it anymore ↵tobigun2008-10-202-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
* SDL_ttf headers removed (we will use freetype directly)tobigun2008-10-202-1071/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1463 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FPC 2.2.2 compatibility. USDX crashed with an error in iconv_close. After ↵tobigun2008-10-202-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
* The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun2008-10-191-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
* font-size is now in pixels (not pixels/3) in themes tobigun2008-10-193-628/+626
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1460 b956fd51-792f-4845-bead-9b4dfca2ff2c
* The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun2008-10-1916-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
* - background-type -> enumtobigun2008-10-193-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
* offscreen rendering removed:tobigun2008-10-194-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
* style adjustments. no code change.k-m_schindler2008-10-188-323/+337
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1456 b956fd51-792f-4845-bead-9b4dfca2ff2c
* just another commented linewhiteshark02008-10-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1455 b956fd51-792f-4845-bead-9b4dfca2ff2c
* uncommented an accidentally commented linewhiteshark02008-10-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1454 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - unused (polish) constants and comments removedtobigun2008-10-181-9/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1453 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - polish stuff removedtobigun2008-10-181-34/+5
| | | | | | - cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1452 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Error-log entry slightly changed for TTextureUnit.LoadTexture (" added)tobigun2008-10-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1451 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed unneeded filestobigun2008-10-182-615/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1450 b956fd51-792f-4845-bead-9b4dfca2ff2c
* freetype stuff for testingtobigun2008-10-177-0/+6572
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1449 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - lib-info.txt added with information on the pascal-headers (origin, ↵tobigun2008-10-132-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
* Some changes on theme to use the new abilitys for backgroundswhiteshark02008-10-131-42/+42
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1447 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Abstraction of the menus backgroundwhiteshark02008-10-1315-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
* SQLiteTable3 update to current trunk ↵tobigun2008-10-133-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
* Fixed Compilationf1fth_freed0m2008-10-101-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
* Errormessages during songload now translatablewhiteshark02008-10-094-7/+30
| | | | | | | | | | | 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
* - Few bug fixescanni02008-10-083-6/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1442 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fixed typo caused compilation errorcanni02008-10-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1441 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fixed compilation error (wrong path)canni02008-10-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1440 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Added uninstall routinecanni02008-10-086-20/+74
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1439 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Install Routine completedcanni02008-10-08274-36747/+54
| | | | | | - Support update installation (no covers.ini change) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1438 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Added installer dependenciescanni02008-10-08270-0/+36747
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1437 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Added Update Installation (version comparison)canni02008-10-085-15/+29
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1436 b956fd51-792f-4845-bead-9b4dfca2ff2c
* remove ULCD.pas and ULight.pas + some more cleanup of ULCD routines and ↵k-m_schindler2008-10-054-505/+0
| | | | | | {$UNDEF UseSerialPort} git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1435 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed some commented relicts from outdated LCD and Light support.whiteshark02008-10-057-43/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1434 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X requirements addedk-m_schindler2008-10-051-4/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1433 b956fd51-792f-4845-bead-9b4dfca2ff2c