Commit Graph

43 Commits

Author SHA1 Message Date
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
84184aabc0 ALL: colour -> color 2011-04-14 14:12:35 +02:00
Johannes Schickel
10c7c5327a CRUISE: Remove leftover RGBA reference. 2011-02-20 21:39:29 +01:00
Johannes Schickel
0a389b310c CRUISE: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:32 +01:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Eugene Sandulenko
15b881386a CRUISE: Eliminate global constructors
svn-id: r51936
2010-08-09 10:30:40 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Paul Gilbert
5d7caf3ca9 Added a +1 for dirty rectangle calculation so final column of changed area is included
svn-id: r44551
2009-10-03 08:59:11 +00:00
Paul Gilbert
78578a042f Bugfix for dirty rects getting lost during room fade-ins
svn-id: r44536
2009-10-02 13:13:47 +00:00
Paul Gilbert
7f1b50f300 Dirty rects fix for pixels remaining on screen changes
svn-id: r44371
2009-09-26 04:13:44 +00:00
Paul Gilbert
92e75a768a Removed redundant offset from dirty rect calculation logic
svn-id: r44270
2009-09-23 10:58:17 +00:00
Paul Gilbert
4fc8fe8023 Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
svn-id: r44032
2009-09-11 11:36:16 +00:00
Paul Gilbert
49a4df3c8c Added Dirty Rect handling functionality
svn-id: r43406
2009-08-15 11:50:59 +00:00
Paul Gilbert
2c96ca84f3 Added initialisation of paging screens when the game starts
svn-id: r42370
2009-07-11 05:14:42 +00:00
Paul Gilbert
3abc1e8375 Removed all the current special cases coding for user (mouse press) waiting, and reimplemented it exactly the way the original did
svn-id: r42173
2009-07-06 12:33:05 +00:00
Paul Gilbert
862d1cf42b Tweaks to the code that pauses for a mouse press when displaying many text messages
svn-id: r41196
2009-06-05 12:20:42 +00:00
Joost Peters
12837c968c Change flip[Short|Long] functions to bigEndian[Short|Long]ToNative to clarify that flipping only occurs on LE systems + some related cleanup.
svn-id: r41107
2009-06-01 19:29:04 +00:00
Paul Gilbert
121f174d61 Fixed incorrect palette range usage so room fade-ins happen correctly
svn-id: r39822
2009-04-03 23:27:38 +00:00
Paul Gilbert
34d3d7c74d Code formatting, added further constant references, and corrected method signatures
svn-id: r39445
2009-03-16 09:45:37 +00:00
Paul Gilbert
979c1e0f6a Fixed some method parameters, changed the main loop to a method of the engine class, and moved the frame delay code to the main loop to make the game more responsive to events
svn-id: r39180
2009-03-07 07:12:10 +00:00
Paul Gilbert
aa34628713 Cleaned up parts of the font display system. Note: Cruise used two almost identical routines for text display - one which creates a draw structure, and the other draws directly to the screen. Since there don't seem to be any other differences, the immediate draw version has been changed to use the rendering version and then draw the results
svn-id: r38994
2009-03-01 02:19:06 +00:00
Paul Gilbert
b2c0f61817 Initial work on correct engine pausing
svn-id: r38541
2009-02-19 09:58:33 +00:00
Paul Gilbert
c2afb25ec5 Added debugger console
svn-id: r36259
2009-02-11 10:03:01 +00:00
Max Horn
4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Vincent Hamm
f953ed4dde Early pathfinding
svn-id: r30012
2007-12-27 12:05:43 +00:00
Vincent Hamm
1b62e2758c Fix input
Fix timming

svn-id: r29990
2007-12-25 21:03:20 +00:00
Vincent Hamm
a2d2f01835 Bunch of gfx fix
svn-id: r29986
2007-12-25 18:11:35 +00:00
Vincent Hamm
2d9d0f1b1f -Fade in/fade out
-Implement background mode 5

svn-id: r29968
2007-12-24 01:05:36 +00:00
Vincent Hamm
b9aaa43bfb Fix palette manipulation code
Add one missing opcode

svn-id: r29928
2007-12-20 19:02:16 +00:00
Vincent Hamm
5cc1313ffe Fix dangling pointer
Fix low color background
Fix input

svn-id: r29897
2007-12-17 22:40:58 +00:00
Gregory Montoir
6d157c24b7 simplify gfxModuleData_field_60, sync with cine code
svn-id: r29837
2007-12-12 20:55:32 +00:00
Sven Hesse
906a423fa7 Some code formating fixes
svn-id: r29409
2007-11-04 13:01:41 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Torbjörn Andersson
3ca3f07cdd Only update the backend's palette when necessary, since doing this triggers a
full redraw. (We still do that by updating the entire screen every frame, but
that could possibly change in the future.)

As an added bonus, I can now see all the glitches of the English version's
intro in full ScummTechniVMColor. :-)

svn-id: r26672
2007-04-29 01:07:19 +00:00
Eugene Sandulenko
ffce26ebfe Fix code formatting (partially) and guard defines in includes.
svn-id: r26631
2007-04-27 22:33:45 +00:00
Filippos Karapetis
bfe346afd2 Fixed loads of warnings with MSVC and gcc
svn-id: r26615
2007-04-27 18:54:33 +00:00
Vincent Hamm
c01aa37caa Add cruise source code for scummvm
svn-id: r26605
2007-04-27 12:58:35 +00:00