aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* formattingk-m_schindler2008-11-251-96/+169
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1525 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some format changes and minor code rearrangements.k-m_schindler2008-11-241-42/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1524 b956fd51-792f-4845-bead-9b4dfca2ff2c
* switch on again saving, when leaving option menus with ESCk-m_schindler2008-11-241-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1523 b956fd51-792f-4845-bead-9b4dfca2ff2c
* formatting and language.k-m_schindler2008-11-151-202/+209
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1522 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Formattingk-m_schindler2008-11-151-28/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1521 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
* removal of not needed libs.k-m_schindler2008-11-131-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1519 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some minor reformatting. no code change.k-m_schindler2008-11-121-29/+31
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1518 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Check done. Not needed for Mac OS X. TODO note cleared.k-m_schindler2008-11-121-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1517 b956fd51-792f-4845-bead-9b4dfca2ff2c
* typo corecctionk-m_schindler2008-11-121-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1516 b956fd51-792f-4845-bead-9b4dfca2ff2c
* libGL.so changed to libGL.so.1 as on fedora with nvidia cards ↵tobigun2008-11-113-4/+3
| | | | | | | | /usr/lib/libGL.so is not usable. There is an additional directory /usr/lib/nvidia with the correct libs but it does not contain libGL.so, just libGL.so.1. So the latter is mandatory. -> We really should use the pkg_config values instead of hard-coded links :( git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1515 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - {$PACKENUM 4} and {$MINENUMSIZE 4} added for C compatible 4 byte enumstobigun2008-11-112-1/+3
| | | | | | - SDL_WM_SetIcon: parameter mask must be PUint8, not Uint8 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1514 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lyric fixtobigun2008-11-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1513 b956fd51-792f-4845-bead-9b4dfca2ff2c
* nicer format, no code changek-m_schindler2008-11-061-56/+75
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1506 b956fd51-792f-4845-bead-9b4dfca2ff2c
* minor language improvmentsk-m_schindler2008-11-061-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1505 b956fd51-792f-4845-bead-9b4dfca2ff2c
* {$Mode Delphi} added for FPC compatibilitytobigun2008-11-045-172/+188
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1501 b956fd51-792f-4845-bead-9b4dfca2ff2c
* plugins updatetobigun2008-11-045-19/+26
| | | | | | | - OpenGL12 unit replaced with SDL gl unit - Windows timer replaced with SDL_GetTicks -> Windows unit removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1500 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - switches.inc removed from ModiSDK.pas and StrUtils.pas as the plugins do ↵tobigun2008-11-045-8/+294
| | | | | | | | | | | | | not find it - FPC compatibility (Assembler mode set, Mode-delphi set, ...) - Plugin "Don't get worse" updated for USDX 1.1 compatibility - Other plugins need to be updated too. Perhaps include them to the main project later. Note that the party mode is disabled at the moment so plugins will not work. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1499 b956fd51-792f-4845-bead-9b4dfca2ff2c
* All comments are English now (Polish ones have been translated)tobigun2008-11-0315-158/+145
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1498 b956fd51-792f-4845-bead-9b4dfca2ff2c
* improved seeking:tobigun2008-11-031-50/+85
| | | | | | | | - the position will not be set to non-keyframes (AVSEEK_FLAG_ANY) anymore as it might result in gray or green pictures (FFmpeg does not use the information of the last keyframe after seeking) - after seeking the texture was not updated correctly. - some comments added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1497 b956fd51-792f-4845-bead-9b4dfca2ff2c
* VideoGap fixed (Tracker Item #2138228)tobigun2008-11-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1496 b956fd51-792f-4845-bead-9b4dfca2ff2c
* We need more space for resourcesk-m_schindler2008-10-311-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1493 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - swscale get_context parameter from cint -> TAVPixelFormattobigun2008-10-312-7/+8
| | | | | | - some refactoring missed last time git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1489 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - codepage converter (CP1252, CP1250) addedtobigun2008-10-313-222/+370
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1488 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - cleanup (private and protected class members prepended with f...)tobigun2008-10-311-214/+266
| | | | | | - TAspectCorrection introduced (default: crop) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1487 b956fd51-792f-4845-bead-9b4dfca2ff2c
* linklib changed to freetype for darwin, svn:eol-style set to nativek-m_schindler2008-10-281-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1486 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some compiler warnings/hints removedtobigun2008-10-2826-106/+28
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1485 b956fd51-792f-4845-bead-9b4dfca2ff2c
* switch UseFreetype added to toggle between bitmap-font and freetype fonttobigun2008-10-284-20/+239
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1484 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - glPrint(Pchar) -> glPrint(string)tobigun2008-10-281-7/+6
| | | | | | | - glPrintLetter removed git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1483 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - 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