aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/UDisplay.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: FadeEnabled was not initialized correctly. The case ((Ini.ScreenFade = ↵tobigun2010-06-031-1/+1
| | | | | | 1) and FadeFailed) was not handled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2436 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cleanuptobigun2010-06-031-10/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2435 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cleanuptobigun2010-06-031-4/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2434 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cleanup:tobigun2010-06-031-33/+22
| | | | | | | - FadeTime -> FadeStartTime - constants upper-case git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2433 b956fd51-792f-4845-bead-9b4dfca2ff2c
* wrong usage of glTexEnvi fixedtobigun2010-04-251-2/+6
| | | | | | | | - the environment must be GL_TEXTURE_ENV and not GL_TEXTURE_2D - it must be set before a draw function (glBegin(), ...) and not before glTexImage2D() as the current texture will not store this setting (the setting is global for all textures). - the setting must be set to the default (GL_MODULATE) after usage, otherwise later opengl drawing calls will be unwantedly affected too. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2309 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - fix: fade texture needs to be resized if the window was resizedtobigun2010-04-251-19/+35
| | | | | | | - Previously the texture could have been too small (window initialized with 800x600 pixels -> fadeTex size 1024x1024. Then resize window to 1400x1050 and the texture will be too small) and an opengl error at glCopyTexSubImage2D() will occur. Due to the error fading was disabled then. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2308 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - font fallback addedtobigun2010-04-231-1/+1
| | | | | | | - more configurable fonts.ini - ftNormal/ftBold/ftOutline1/2 added git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2293 b956fd51-792f-4845-bead-9b4dfca2ff2c
* minor screen transition improvementswhiteshark02010-04-171-39/+48
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2244 b956fd51-792f-4845-bead-9b4dfca2ff2c
* improved fade effect; better compatibility for two-screens-mode brunzelchen2010-03-141-22/+39
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2193 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix software cursor w/ screens = 2whiteshark02010-01-251-9/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2096 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged lua into trunks_alexander2010-01-121-2/+64
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2071 b956fd51-792f-4845-bead-9b4dfca2ff2c
* handling mouse input a better way in UDisplaywhiteshark02009-11-241-22/+44
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1957 b956fd51-792f-4845-bead-9b4dfca2ff2c
* prevent key input from being sent to the screen that is fading out, send it ↵whiteshark02009-11-171-0/+13
| | | | | | to the screen that is fading in instead. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1946 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged unicode branch (r1931) into trunks_alexander2009-11-091-31/+35
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1939 b956fd51-792f-4845-bead-9b4dfca2ff2c
* cosmeticsk-m_schindler2009-06-041-37/+39
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1800 b956fd51-792f-4845-bead-9b4dfca2ff2c
* software cursor is now hidden on startupwhiteshark02009-05-311-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1791 b956fd51-792f-4845-bead-9b4dfca2ff2c
* merged (experimental) mouse support patch by d0ccrazywhiteshark02009-05-311-0/+191
| | | | | | | | | | | 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
* cosmetics. No code changek-m_schindler2009-04-241-47/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1692 b956fd51-792f-4845-bead-9b4dfca2ff2c
* unclutter UMain.pas. Create UPath.pas. Tests on all platformssvn statussvn ↵k-m_schindler2009-03-071-5/+6
| | | | | | status git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1625 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - glPrint(Pchar) -> glPrint(string)tobigun2008-10-281-3/+3
| | | | | | | - 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
* The size given to TextGL.SetSize() now expresses the size in pixel (formerly ↵tobigun2008-10-191-1/+1
| | | | | | | | | | | | | 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
* Abstraction of the menus backgroundwhiteshark02008-10-131-2/+4
| | | | | | | | 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
* Adding hints to possible endian related problems. No code change, yet. Only ↵k-m_schindler2008-09-281-0/+4
| | | | | | suggestions for test. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1420 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
* rename Menu part2k-m_schindler2008-08-271-0/+383
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1310 b956fd51-792f-4845-bead-9b4dfca2ff2c