aboutsummaryrefslogtreecommitdiffstats
path: root/src/base (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-201-12/+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
* font-size is now in pixels (not pixels/3) in themes tobigun2008-10-191-4/+2
| | | | 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-195-105/+107
| | | | | | | | | | | | | 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-191-74/+74
| | | | | | - 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-193-596/+331
| | | | | | | | | - 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-181-100/+115
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1456 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
* Abstraction of the menus backgroundwhiteshark02008-10-132-35/+71
| | | | | | | | 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
* 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
* 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