Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-06-19 | OPENGLSDL: Add FIXME about desktop resolution retrieving. | Johannes Schickel | |
2011-06-19 | OPENGLSDL: Use String::format instead of sprintf. | Johannes Schickel | |
2011-06-19 | OPENGLSDL: Formatting fixes. | Johannes Schickel | |
2011-06-06 | I18N: Make some OSD messages translatable | Thierry Crozat | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-02 | ALL: Mark printf and various other symbols as forbidden | Max Horn | |
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-03-20 | OPENGL: Handle aspect ratio correction as flag instead of having a special ↵ | Johannes Schickel | |
mode for it. This partly fixes the OpenGL mode mess, but now OpenGL Normal and OpenGL Conserve will feature the same semantics when aspect ratio correction is enabled... That is still something to solve. | |||
2011-03-17 | OPENGLSDL: More refactoring to avoid direct access of ↵ | Johannes Schickel | |
OpenGlGraphicsManager's members. | |||
2011-03-17 | OPENGL: Move setFullscreenMode to OpenGLGraphicsManager. | Johannes Schickel | |
2011-03-17 | OPENGLSDL: Handle active fullscreen mode OPENGLSDL internal. | Johannes Schickel | |
2011-03-17 | OPENGLSDL: Cleanup. | Johannes Schickel | |
2011-03-17 | OPENGL: Slight refactoring. | Johannes Schickel | |
First step into making all state variables of the OpenGL backend private, to help making the backend more maintainable, by disallowing subclasses to just mess with everything... | |||
2011-03-17 | OPENGL: Fix compilation when USE_OSD is not defined. | Johannes Schickel | |
2011-03-17 | OPENGL: Always properly set the overlay dimensions in loadGFXMode. | Johannes Schickel | |
2011-03-17 | OPENGL: Refactor warpMouse. | Johannes Schickel | |
Now subclasses will not need to worry about the scaling logic themselves, but just need to implement setInternalMousePosition, which should handles setting the system's mouse coordinates. | |||
2011-03-01 | OPENGL(SDL): Use the whole window/screen size for the overlay. | Johannes Schickel | |
This makes the overlay looking nicer in fullscreen mode. | |||
2011-02-25 | OPENGLSDL: Add RGB555 to the supported format list. | Johannes Schickel | |
2011-02-19 | OPENGLSDL: Avoid warping in warpMouse when the logical coordinates did not ↵ | Johannes Schickel | |
change. This fixes a slight move of the mouse cursor when the hardware mouse position is at a subpixel from the logical coordinates. | |||
2010-12-03 | OPENGLES: Fix the projection matrix and the includes. | Jordi Vilalta Prat | |
svn-id: r54756 | |||
2010-12-03 | OPENGL: Fix the fullscreen mode detection when SDL accepts any resolution. | Jordi Vilalta Prat | |
svn-id: r54754 | |||
2010-11-29 | BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs | Max Horn | |
svn-id: r54573 | |||
2010-11-29 | SDL: Move #include <SDL.h> into a special wrapper file | Max Horn | |
svn-id: r54572 | |||
2010-11-28 | OPENGL: Modify source files to force recompilation | Max Horn | |
svn-id: r54542 | |||
2010-11-28 | SDL: re-enable unicode after graphics init | Willem Jan Palenstijn | |
svn-id: r54531 | |||
2010-09-03 | OPENGL: Fix enable aspect ratio feature. | Alejandro Marzini | |
svn-id: r52502 | |||
2010-09-03 | OPENGL: Improve scaling, aspect ratio correction and display(GFX) modes. | Alejandro Marzini | |
Now the previous aspect ratio modes are handled as GFX modes. The previous GFX modes were for scaling, but are removed now. A new 4/3 display mode added. Added Ctrl-Shift-A for backward switching through display modes, and Ctrl-Alt-<number key> for switching to a specific GFX mode. Window resizing now is available for all display modes, and will automatically change the scale factor as well as maintain the aspect ratio when needed. svn-id: r52501 | |||
2010-08-23 | OPENGL: Add Ctrl-Shift-Enter hotkey for backward switching fullscreen modes. | Alejandro Marzini | |
svn-id: r52310 | |||
2010-08-20 | OPENGL: Fix issue with resize events generated after going out of fullscreen ↵ | Alejandro Marzini | |
mode. svn-id: r52248 | |||
2010-08-13 | OPENGL: Restrict window scaling if current desktop resolution is not big enough. | Alejandro Marzini | |
svn-id: r52057 | |||
2010-08-13 | OPENGL: Remove unnecessary best fullscreen mode detection code. | Alejandro Marzini | |
svn-id: r52056 | |||
2010-08-13 | OPENGL: Disable resizable window when not using an aspect ratio correction. | Alejandro Marzini | |
svn-id: r52055 | |||
2010-08-13 | OPENGL: Remove unnecessary aspect ratio corrections, and add "Original Size" ↵ | Alejandro Marzini | |
correction. Rename _transactionDetails.needHotswap to _transactionDetails.needRefresh. svn-id: r52054 | |||
2010-08-12 | SDL: Make use of SDL_BACKEND instead of platform specific defines. | Alejandro Marzini | |
svn-id: r52029 | |||
2010-08-06 | OPENGL: Add 5/3 and 5/4 aspect ratio corrections. | Alejandro Marzini | |
svn-id: r51806 | |||
2010-08-04 | OPENGL: Fix compiling for GLES. | Alejandro Marzini | |
svn-id: r51721 | |||
2010-08-03 | OPENGL: Refresh OpenGL textures on all loadGFX() calls. | Alejandro Marzini | |
OpenGL context may be destroyed after calling SDL_SetVideoMode, so it is better to always recreate the textures. svn-id: r51675 | |||
2010-08-03 | OPENGL: Prioritize desktop resolution as default fullscreen mode. | Alejandro Marzini | |
svn-id: r51674 | |||
2010-08-02 | OPENGL: Add missing header. | Alejandro Marzini | |
svn-id: r51605 | |||
2010-08-02 | OPENGL: Save last fullscreen mode size to config file. | Alejandro Marzini | |
svn-id: r51604 | |||
2010-08-02 | OPENGL: Improve fullscreen mode selection. Add warpMouse adjusting. | Alejandro Marzini | |
svn-id: r51603 | |||
2010-08-01 | OPENGL: Remove use of floats for aspect ratio correction. Improved ↵ | Alejandro Marzini | |
fullscreen toggling default mode selection. Floats can lead to calculation errors because, now uints are used and aspect ratio values are handled with a x 10000 scale. When entering fullscreen, it will be looked for the fullscreen mode with the smallest metric that mantains the game screen aspect ratio. svn-id: r51563 | |||
2010-07-31 | OPENGL: Switch to native resolution fullscreen as default. | Alejandro Marzini | |
svn-id: r51560 | |||
2010-07-31 | OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵ | Alejandro Marzini | |
GLES). General cleanup and commenting. svn-id: r51559 | |||
2010-07-31 | Add OpenGL dependencies to MinGW configure. | Alejandro Marzini | |
svn-id: r51551 | |||
2010-07-27 | OPENGL: Implement aspect ratio support and toggling. Improve fullscreen ↵ | Alejandro Marzini | |
switching. Fix cursor scaling bug. Now the hotkey Ctrl-Alt-Enter will switch between all available fullscreen modes. Alt-Enter will only switch to the best mode available, and exit fullscreen mode if already on it. The different aspect ratios can be switched with Ctrl-Alt-A. The normal mode will stretch the contents to the screen, while other modes will stretch only one dimension to the screen size, and maintain the aspect ratio for the other dimension. svn-id: r51346 | |||
2010-07-27 | OPENGL: Commenting. | Alejandro Marzini | |
svn-id: r51338 | |||
2010-07-26 | Formatted spaces. | Alejandro Marzini | |
svn-id: r51300 | |||
2010-07-26 | OPENGL: Implement saveScreenshot(). | Alejandro Marzini | |
svn-id: r51299 |