Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-30 | ALL: Add code to help stop people from accidentally using "bad" APIs | Max Horn | |
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961 | |||
2010-10-24 | SDL/win32: fix lf, thx msvc | Martin Kiewitz | |
svn-id: r53768 | |||
2010-10-24 | SDL/w32: add ability to hide console | Martin Kiewitz | |
feature is currently commented out - waiting till discussion has ended svn-id: r53767 | |||
2010-10-20 | GPH: Cleanup Readme and support scripts. | John Willis | |
GP2X: Cleanup Readme. SDL: Change a few backend defines to GPH_DEVICE from the device name (blocking main and loadGFXMode so they can be written elsewhere). svn-id: r53639 | |||
2010-10-12 | JANITORAL: Clean trailing whitespaces. | Jordi Vilalta Prat | |
svn-id: r53160 | |||
2010-09-28 | SDL: Fix for 32 bit mode support (untested; might be good for backporting, ↵ | Max Horn | |
not sure, somebody should verify) svn-id: r52934 | |||
2010-09-18 | JANITORIAL: Removed most punctuation at end of warning() and error() | Torbjörn Andersson | |
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791 | |||
2010-09-06 | SDL: Add masks to the SDL backend to support the OpenPandora backend. | John Willis | |
svn-id: r52599 | |||
2010-08-31 | SCI: still set game cursor, when mouse outside | Martin Kiewitz | |
of ScummVM window. Just don't change actual mouse position svn-id: r52472 | |||
2010-08-30 | I18N: Add "lowres" context for several GUI strings when in 1x mode. | Thierry Crozat | |
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461 | |||
2010-08-19 | DINGOO: new port. Patch #3039277 | Eugene Sandulenko | |
svn-id: r52210 | |||
2010-07-29 | BUILD: Unify how MODULE_DIRS is computed for backends | Max Horn | |
This should help avoid situations where MODULE_DIRS is not set to a complete list of build dirs (which causes troubles with the automatic header dependency detection logic). On the long run, we should replace the relevant code by a macro or also use rules.mk for this (with yet another if/else case add to it). svn-id: r51467 | |||
2010-07-23 | SDL: Fix bug #3025258 | Eugene Sandulenko | |
Bug #3025258: "Cursor Leaves Trail in GUI when Screen is Shaking". Based on patch provided by eriktorbjorn but extended with another edge case. svn-id: r51212 | |||
2010-07-12 | Get rid of yet another global object with constructor | Max Horn | |
svn-id: r50835 | |||
2010-07-12 | SDL: Tweak OSystem_SDL::detectSupportedFormats a bit | Max Horn | |
Previously, the code in OSystem_SDL::detectSupportedFormats assumed that the arrays RGBList and BGRList had the exact same length, and that the entries in each mirrored those in the other 100%. Instead of relying on that, the code now simply iterates over both lists separately. This changes the resulting order a bit, but since we never gave any guarantees on that, this should not matter. svn-id: r50833 | |||
2010-07-12 | SDL: Overhaul OSystem_SDL::getSupportedFormats | Max Horn | |
* Do not use global constructor for the RGBList and BGRList tables anymore, by moving them inside a function. * Update the list of supported formats if the hardware screen surface changes. Previously, the list of supported pixel formats (and its order) was computed only once and then never changed. svn-id: r50832 | |||
2010-06-26 | Define WIN32_LEAN_AND_MEAN before including windows.h. | Johannes Schickel | |
This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346 | |||
2010-06-26 | GUI: Add and improve some messages to translate | Jordi Vilalta Prat | |
svn-id: r50324 | |||
2010-06-16 | Fix for Valgrind Uninitialised Error from SDL_Event in sdl backend and ↵ | David Turner | |
derived backends. svn-id: r49902 | |||
2010-06-15 | SDL: only change mouse cursor, when mouse is currently within our window, ↵ | Martin Kiewitz | |
also enable mouse position changing again for SCI svn-id: r49866 | |||
2010-06-15 | SYSTEM: Unify OSystem::getSupportedFormats() signature | Max Horn | |
svn-id: r49838 | |||
2010-06-02 | OSYSTEM: Get rid of kFeatureAutoComputeDirtyRects | Max Horn | |
svn-id: r49388 | |||
2010-06-01 | Inline palettes in SDL backend into class OSystem_SDL | Max Horn | |
svn-id: r49383 | |||
2010-05-29 | Removed some unused variables, found by cppcheck. | Torbjörn Andersson | |
svn-id: r49306 | |||
2010-05-21 | SDL: Split quit() method into deinit() so error codes could be returned. | Eugene Sandulenko | |
svn-id: r49131 | |||
2010-05-21 | Fix spelling | Eugene Sandulenko | |
svn-id: r49130 | |||
2010-05-10 | Revert r48979. Instead, make the HQ scalers depend on the normal ones. ↵ | Andre Heider | |
Configure reflects that now. svn-id: r48996 | |||
2010-05-09 | Since configure allows HQ scalers without the normal onces, allow this ↵ | Andre Heider | |
combination. svn-id: r48979 | |||
2010-05-09 | Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to ↵ | Andre Heider | |
configure. svn-id: r48977 | |||
2010-04-20 | abort() when calling setPalette() or grabPalette() in non CLUT8 modes. | Andre Heider | |
svn-id: r48757 | |||
2010-04-04 | Commit of patch #2980597 "GSoC: GUI: Text input + Right Alt (bug #2978736)". | Johannes Schickel | |
svn-id: r48524 | |||
2010-03-22 | Patch #2973290: Semicolon cleanup | Max Horn | |
svn-id: r48359 | |||
2010-03-18 | COMMON: Move typedef StringList from str.h to new header str-array.h | Max Horn | |
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282 | |||
2010-03-11 | Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the ↵ | Max Horn | |
MixerImpl constructor svn-id: r48238 | |||
2010-03-10 | Remove last traces of OSystem::getOutputSampleRate() | Max Horn | |
svn-id: r48229 | |||
2010-03-08 | Move some aspect ratio related stuff to graphics/scaler/aspect.h | Max Horn | |
svn-id: r48186 | |||
2010-02-21 | Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵ | Yotam Barnoy | |
engines + GUI and proper keypad handling svn-id: r48101 | |||
2010-01-25 | Fix sample buffer calculation. Now it really asks for a buffer of 2048 ↵ | Johannes Schickel | |
samples for 22050Hz, like the comment states. svn-id: r47558 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2010-01-07 | - Adapt documentation, that keycolor in setMouseCursor may not exceed the ↵ | Johannes Schickel | |
maximum color value of the specified format. - Change SDL backend to assert out on invalid keycolor values In case we really need a way to specify "no keycolor" we need to discuss on how to do it *properly*. svn-id: r47123 | |||
2009-12-19 | Silence some gcc 3.4.5 warnings. | Matthew Hoops | |
svn-id: r46415 | |||
2009-12-04 | Prevent SDL backend from eating up keypress events with Ctrl+Alt set. | Johannes Schickel | |
svn-id: r46259 | |||
2009-11-30 | Remove use_scaler defines around enum in order for graphics to compile properly. | Lars Persson | |
svn-id: r46216 | |||
2009-11-18 | samsungtv: no need make surface conversion here any more, sdl do that with ↵ | Paweł Kołodziejski | |
internal emulation svn-id: r45971 | |||
2009-11-15 | samsungtv: no need anymore exception for broken SDL_ShowCursor | Paweł Kołodziejski | |
svn-id: r45931 | |||
2009-11-15 | Make _mouseKeyColor a uint32 when USE_RGB_COLOR is defined to fix key color ↵ | Matthew Hoops | |
with some cursors when using a >8bpp cursor. svn-id: r45929 | |||
2009-11-15 | Made Alt-s (screenshot) work again. | Torbjörn Andersson | |
svn-id: r45921 | |||
2009-11-14 | samsungtv: continue reduction of code duplication | Paweł Kołodziejski | |
svn-id: r45900 | |||
2009-11-11 | added more cases for samsungtv to allow reuse main sdl code | Paweł Kołodziejski | |
svn-id: r45835 | |||
2009-11-11 | Remove (now) obsolete HACK for WIN32. | Johannes Schickel | |
svn-id: r45832 |