Paul Gilbert
10e7581fe1
Added support for horizontally flipped foreground sprites, which are indicated by setting the high bit of frame numbers
...
svn-id: r50638
2010-07-04 00:38:16 +00:00
Paul Gilbert
8de5715560
Removed deprecated destAdjust parameters from the frame drawing code
...
svn-id: r50524
2010-06-30 10:17:54 +00:00
Paul Gilbert
0c283ed197
Replaced Y offset from various drawing routines in favour of a viewport sub-surface - this will make it easier to clip sprites to within the drawable area
...
svn-id: r50523
2010-06-30 10:13:20 +00:00
Paul Gilbert
fcdb7807a4
Implemented explicit transparency index support - the previous hardcoded index of 0 wasn't correct, since some sprites need that index
...
svn-id: r50070
2010-06-20 07:04:58 +00:00
Paul Gilbert
deb907de63
Bugfixes to depth processing that was causing the 'Microprose Design Group' message not to appear in the first intro scene
...
svn-id: r49801
2010-06-15 11:19:32 +00:00
Paul Gilbert
4d87342847
Added extra code and support methods for properly clearing up backgrounds and used sprites when an animation sequence ends
...
svn-id: r49566
2010-06-10 10:20:25 +00:00
Paul Gilbert
26860b8e51
Properly implemented the logic for loading the correct interface background as specified in a scene's resources
...
svn-id: r49409
2010-06-03 10:46:55 +00:00
Paul Gilbert
86dcc28342
Moved the MADS interface view into mads_scene.cpp and did a major cleanup of scene loading code
...
svn-id: r49405
2010-06-03 09:34:32 +00:00
Paul Gilbert
145eacd491
Implemented needed methods for scrolling surfaces horizontally or vertically
...
svn-id: r49286
2010-05-28 10:17:16 +00:00
Paul Gilbert
dd9bf70761
Major work done on the animation and support classes to match the original
...
svn-id: r49150
2010-05-23 07:20:40 +00:00
Paul Gilbert
05922881cb
Added framework for displaying game dialogs
...
svn-id: r48353
2010-03-21 10:51:11 +00:00
Paul Gilbert
77c821249e
Further work on separating M4 specific scene code into the m4_scene.cpp file
...
svn-id: r48256
2010-03-14 05:39:47 +00:00
Paul Gilbert
52c2abba96
Added the beginnings of scene set-up logic
...
svn-id: r48039
2010-02-13 11:49:18 +00:00
Paul Gilbert
3285a4ba4d
Beginnings of a separation of the MADS and M4 engines into separate classes. This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
...
svn-id: r47705
2010-01-30 09:21:07 +00:00
Paul Gilbert
d10bb1036e
Implemented the rendering section of dialog display
...
svn-id: r46338
2009-12-12 11:59:38 +00:00
Torbjörn Andersson
22ca0c1e92
Renamed line() to drawLine() to silence warning about function parameters in
...
dialogs.cpp shadowing it. Actually, the function doesn't seem to be used
anywhere at the moment, but perhaps someone has future plans for it?
svn-id: r46331
2009-12-11 17:14:55 +00:00
Max Horn
f8126d9da6
M4: Make M4Surface member w, h, pixels protected; some cleanup
...
svn-id: r46280
2009-12-07 18:22:18 +00:00
Max Horn
6d1e4dd034
M4: Rename M4Surface::getData() to getBasePtr() for consistency
...
svn-id: r46279
2009-12-07 18:20:20 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
07bcb5179c
Renamed M4Surface::empty() to clear() (two reason: empty is not a verb, and in class String it is used for a bool property)
...
svn-id: r32733
2008-06-18 21:02:52 +00:00
Filippos Karapetis
7ca439f410
Initial import of the work in progress M4 engine
...
svn-id: r31600
2008-04-20 14:47:37 +00:00