aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/screen.cpp
AgeCommit message (Collapse)Author
2011-09-08SWORD1: Replace inRange with CLIP.Johannes Schickel
2011-09-07SWORD1: Made code conform a bit better to our formatting guidelines.Johannes Schickel
Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up...
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-02-15SWORD1: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-01-30SWORD1: Fix possible uninitialized memory read in Screen object.David Turner
This was detected during playtest with Valgrind during Act 5 (Spain). svn-id: r55658
2010-10-15SWORD1: Fixed bug #3087855 - "SWORD1: Code analysis warnings"Filippos Karapetis
svn-id: r53488
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-30SWORD1: Commit of parentheses patch from salty-horse. (from -devel "Enabling ↵Johannes Schickel
-Wparentheses in the Makefile"). svn-id: r39762
2009-03-17sword1: clean background buffers before writing on them in psx decoding ↵Fabio Battaglia
functions svn-id: r39480
2009-03-17sword1: cleanupFabio Battaglia
svn-id: r39479
2009-03-17sword1: optimize drawing routine for screen 54Fabio Battaglia
svn-id: r39477
2009-03-17sword1: enable psx background caching for screen 54 (bull's head) tooFabio Battaglia
svn-id: r39475
2009-03-16sword1: cache decompressed psx version backgrounds, to avoid uncompressing ↵Fabio Battaglia
them at every screen update. svn-id: r39462
2009-03-16sword1: added caching for train.plx when playing psx versionFabio Battaglia
svn-id: r39461
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-02Avoid using unnecessary buffers in psxShrinkedBackgroundToIndexedFabio Battaglia
svn-id: r39074
2009-03-02Avoid using unnecessary buffers in psxBackgroundToIndexedFabio Battaglia
svn-id: r39072
2009-03-02Formatting changes in older PSX related functionsFabio Battaglia
svn-id: r39071
2009-03-02Changed the way Broken Sword PSX parallax are handled to improve speedFabio Battaglia
svn-id: r39070
2009-03-01Removed some (the last?) remains of the BS1 MPEG cutscene player.Torbjörn Andersson
svn-id: r39032
2009-02-28Shutting up a compiler warningSven Hesse
svn-id: r38958
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
2009-02-16Removed unnecessary tests. (It's ok to free a NULL pointer.)Torbjörn Andersson
svn-id: r38344
2009-02-15defer BS1 palette update from newScreen to updateScreen, based on patch by ↵Willem Jan Palenstijn
eriktorbjorn for bug #2599963. Maybe suitable for branch-0-13-0 after more testing. svn-id: r38320
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
2009-02-14clear full screen before playing movie in BS1 (fixes #2599573)Willem Jan Palenstijn
svn-id: r36334
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-26oopsEugene Sandulenko
svn-id: r26944
2007-05-26Slighty modified patch #1701058: "Correct some graphical glitches for Eugene Sandulenko
Brocken Sword 1 Mac" svn-id: r26942
2006-11-12Slighty modified Patch #1571787: "Support for Mac Broken Sword 1". sword1macdemoEugene Sandulenko
target was commented out until existence of the demo is confirmed. svn-id: r24697
2006-08-28Only clear the part of the screen usually controlled by the Screen class. TheTorbjörn Andersson
buffer might not be large enough to cover the menu areas, and they will probably be clear already. Only terminate the loop, not the entire function, when pressing Esc during a cutscene. Otherwise, there may be palette glitches. svn-id: r23790
2006-08-26Added support for DXA cutscenes. Still needs a bit of cleanup, and the DCATorbjörn Andersson
player does not support the (unreleased) multi-lingual cutscene pack, since I don't have one to test with. It needs to be cleaned up a bit, but the next step will be to clean up the MPEG decoder first. svn-id: r23753
2006-03-29Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 ↵Max Horn
to ~250). Many greetings to eriktorbjorn, and have fun recompiling. svn-id: r21500
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582