aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UGraphic.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - 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