Commit Graph

25 Commits

Author SHA1 Message Date
Johannes Schickel
79dfc7be97 MADE: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Johannes Schickel
7b126c5f24 MADE: Minimize #include usage. 2011-10-09 22:58:37 +02:00
Filippos Karapetis
8c431e13a6 MADE: Hopefully fixed bug #2957333 - "MADE: Screen effects sometimes look wrong/bad"
Applied johndoe's patch from that tracker item
2011-09-26 22:22:16 +03:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Filippos Karapetis
8b725eef83 Reduced the CPU load of screen effects, by reducing the number of palette changes. The visual differences are negligible, but CPU load went down by around 10%.
svn-id: r39404
2009-03-14 19:47:23 +00:00
Filippos Karapetis
79d8432128 Simplified screen effects. Removed copyRect() and reposition()
svn-id: r39401
2009-03-14 17:32:43 +00:00
Filippos Karapetis
6852080916 Merged loadRGBPalette() inside setRGBPalette() (that's the only place it's used and where the screen palette is set). Added a wrapper for copyRectToScreen(), to remove some duplicated code inside the ScreenEffects() class
svn-id: r39396
2009-03-14 15:43:37 +00:00
Benjamin Haisch
f525575495 - Applied patch #2668849 by sunmax
svn-id: r39271
2009-03-09 18:19:53 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Paul Gilbert
df6aa6361d Slight changes to fx method #9 to more correctly match the original game
svn-id: r35893
2009-01-18 09:29:22 +00:00
Filippos Karapetis
c2db2b91a5 - Music now works in LGoP2
- Changed the default music volume to 127, down from 255
- Added an explanation/FIXME for the out of sync mouth animations in RTZ
- Added some TODOs and removed some obsolete ones

svn-id: r35843
2009-01-13 10:11:52 +00:00
Paul Gilbert
5afb4ad165 Implemented screen vfx #19 and #20
svn-id: r35834
2009-01-12 07:21:34 +00:00
Paul Gilbert
138c1936a4 Completed screen vfx #8, and also implemented screen vfx #18
svn-id: r35822
2009-01-11 11:15:16 +00:00
Paul Gilbert
75c2dc82b3 Implemented screen vfx #8
svn-id: r35806
2009-01-10 22:11:22 +00:00
Filippos Karapetis
51c22d9905 Added stubs for the missing visual effect opcodes
svn-id: r35512
2008-12-23 22:37:24 +00:00
Benjamin Haisch
53163a4284 Implemented visual effects 1, 3, 4, 5, 6, 7 and 16
svn-id: r34823
2008-10-18 21:28:05 +00:00
Filippos Karapetis
80c47666db Silence MSVC warning about ambiguous usage of CLIP
svn-id: r34296
2008-09-03 09:55:29 +00:00
Filippos Karapetis
b844e4bd5a Implemented visual effects 11 and 13 (inverse of 10 and 12)
svn-id: r32356
2008-05-28 23:17:10 +00:00
Benjamin Haisch
365513d9e4 Implemented visual effects 2 and 15
svn-id: r32278
2008-05-26 07:20:23 +00:00
Filippos Karapetis
141215136f Documented what screen effects 10 and 12 are doing
svn-id: r32199
2008-05-20 18:30:26 +00:00
Benjamin Haisch
eb354bbe02 Implemented visual effects 10 and 12
svn-id: r32196
2008-05-20 18:01:26 +00:00
Filippos Karapetis
2ceb1b2577 Documented screen effects
svn-id: r32148
2008-05-17 10:17:35 +00:00
Benjamin Haisch
0ec51de272 - Added some visual effects (palette fading etc.)
- Moved Screen::getAnimFrameCount directly into o1_GETFRAMECOUNT
- Renamed variables/cleanup

svn-id: r32104
2008-05-14 09:54:15 +00:00