aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UGraphic.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - workaround by tobydox for buggy Intel 3D driver on Linux through ↵canni02010-05-051-0/+2
| | | | | | deactivating texture tiling applied to UGraphic (thx!) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2339 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Free Statics/Buttons/Texts if a screen is destroyed (Textures used by ↵tobigun2010-05-031-35/+35
| | | | | | | | those components are not unloaded yet) - Use Free() instead of Destroy() as it checks for nil by default git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2334 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added Finalize3D finalization as opponent for Initialize3D and for a clean ↵tobigun2010-04-251-1/+15
| | | | | | finalization git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2307 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - better lyric <-> video synctobigun2010-04-211-0/+10
| | | | | | | | - fixed glTexEnv() bug: GL_TEXTURE_2D is not valid here - pixel buffer test - some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2261 b956fd51-792f-4845-bead-9b4dfca2ff2c
* center usdx windowwhiteshark02010-04-071-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2222 b956fd51-792f-4845-bead-9b4dfca2ff2c
* completly remove unused UScreenWelcomewhiteshark02010-02-221-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2138 b956fd51-792f-4845-bead-9b4dfca2ff2c
* deleted leftovers from old plugin system and party modewhiteshark02010-01-121-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2080 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged lua into trunks_alexander2010-01-121-4/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2071 b956fd51-792f-4845-bead-9b4dfca2ff2c
* use second players color to indicate selected note in editorwhiteshark02009-11-241-12/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1960 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged unicode branch (r1931) into trunks_alexander2009-11-091-15/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add some colors for testsk-m_schindler2009-11-071-2/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1937 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged (experimental) mouse support patch by d0ccrazywhiteshark02009-05-311-4/+15
| | | | | | | | | | | some changes to patch - implemented software cursor (texturable) - option to turn of mouse support or switch between hardware and software cursor - hide software cursor if there is no mouse activity for 5 seconds - soft fade in and out for software cursor - some test cursor-textures for deluxe theme (mog pls change these horible looking images) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1789 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Statics defined in theme don't necessarily need a width or height set, if ↵mogguh2009-05-261-1/+7
| | | | | | | | | omitted the the values from the texture itself will be used SelectSlides may now have arrows and only one item set, default is off - view UScreenOptionsGame.pas as example on how to set this git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1783 b956fd51-792f-4845-bead-9b4dfca2ff2c
* add lyric-bar bounds to themewhiteshark02009-05-161-11/+0
| | | | | | thx to Krueger git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1746 b956fd51-792f-4845-bead-9b4dfca2ff2c
* unclutter UMain.pas. Create UPath.pas. Tests on all platformssvn statussvn ↵k-m_schindler2009-03-071-5/+5
| | | | | | status git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1625 b956fd51-792f-4845-bead-9b4dfca2ff2c
* All comments are English now (Polish ones have been translated)tobigun2008-11-031-4/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1498 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some compiler warnings/hints removedtobigun2008-10-281-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1485 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
* offscreen rendering removed:tobigun2008-10-191-1/+11
| | | | | | | | | - 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
* - 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
* Abstraction of the menus backgroundwhiteshark02008-10-131-32/+32
| | | | | | | | 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
* gpl header added and property svn:header set to "HeadURL Id"k-m_schindler2008-09-231-0/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1403 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
* - It is not possible to handle the window/fullscreen command-line parameters ↵tobigun2008-09-151-7/+14
| | | | | | | | 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
* removed resource.inctobigun2008-09-121-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1371 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
* Moved: The folder classes has been renamed to basemogguh2008-09-021-0/+760
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