Commit Graph

219 Commits

Author SHA1 Message Date
Travis Howell
7c11e68db3 Correct actor clipping in HE games.
The original games rect clipping was not as strict.

svn-id: r17835
2005-04-27 09:15:18 +00:00
Travis Howell
2009b72679 Replace all GF_HUMONGOUS use with _heversion.
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.

svn-id: r17698
2005-04-20 01:33:44 +00:00
Travis Howell
5ddb09fecb Add missing safety check, should only clip if rect is valid.
Fixes Eggs Away in farm

svn-id: r17598
2005-04-14 11:23:18 +00:00
Max Horn
871e278f8b Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
svn-id: r17508
2005-04-10 12:59:17 +00:00
Travis Howell
9d9a072762 akst/aksf pointer should be reset for each loop.
svn-id: r17506
2005-04-10 11:20:55 +00:00
Travis Howell
6ced0d698a Add WIP on hePalette.
svn-id: r17431
2005-04-07 10:43:51 +00:00
Travis Howell
f230fe65e8 Add 8 sound channel support for HE games
-Allows sound looping to work

Added support for WAVE format musuc used in later HE100 games.

svn-id: r17372
2005-04-04 11:43:25 +00:00
Max Horn
ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Travis Howell
b5eb59dff1 Ooops
svn-id: r17296
2005-03-30 14:54:23 +00:00
Travis Howell
b93b50809a Correct return values were lost in last commit.
Also revert cleanup from scumm/akos.cpp revision 1.185.
Clipping isn't compatible, due to possible negative values.

svn-id: r17294
2005-03-30 14:12:57 +00:00
Max Horn
abcf7bf2de Tie the AKOS code into the new costume infrastructure, too
svn-id: r17259
2005-03-27 01:07:22 +00:00
Travis Howell
4361ef655e HE72+ games use slightly different code for subtitle color.
svn-id: r17174
2005-03-17 10:53:29 +00:00
Max Horn
6e33b3f0a7 Some cleanup/costume code unification. Note: NES costume code probably should be using subclasses; and maybe we should add AKOSLoadedCostume and NESLoadedCostume ?
svn-id: r17161
2005-03-15 21:48:06 +00:00
Eugene Sandulenko
154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Travis Howell
bebad400d6 Check sound queue for music in HE games.
Avoid extra sound channel.

svn-id: r16706
2005-01-30 11:03:49 +00:00
Travis Howell
b0c35b4d4c Correct aksf/akst pointer when sequence found.
svn-id: r16632
2005-01-24 10:59:44 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
da874257a5 to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
svn-id: r16132
2004-12-19 12:30:40 +00:00
Max Horn
61440ca830 Fix range check
svn-id: r15949
2004-11-28 22:26:03 +00:00
Max Horn
41f710c06c Fixing actor regression in The Dig caused by my previous changes
svn-id: r15927
2004-11-28 02:36:01 +00:00
Max Horn
cc11a1249a Fix AKOS clipping issues at the left/right border of the screen (smooth scrolling regression)
svn-id: r15926
2004-11-28 02:05:04 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn
85ec4ee0b5 Turn the v1 member in the costume renderers into a function local object (used to be a member var)
svn-id: r15887
2004-11-25 23:36:02 +00:00
Travis Howell
beb1ed4598 Rename as requested.
svn-id: r15530
2004-10-12 14:40:32 +00:00
Travis Howell
687a5db4a8 Rename vars
Add some missng code for HE games.

svn-id: r15528
2004-10-12 14:12:20 +00:00
Travis Howell
4b4c4f1d1d Rename var
Update HE issues

svn-id: r15525
2004-10-12 04:26:02 +00:00
Max Horn
b3c72a792b Fix for bug #1042802 (DIG: Graphics glitch when scrolling) -- the fix is to properly distinguish pitch and width of the target surface
svn-id: r15480
2004-10-09 00:06:36 +00:00
Torbjörn Andersson
aaa5ccae77 Removed unnecessary whitespace
svn-id: r15465
2004-10-08 07:07:34 +00:00
Max Horn
3f842b2017 Simplify calling drawBomp a littl
svn-id: r15448
2004-10-07 16:10:51 +00:00
Travis Howell
96c493d94b Missed spot
svn-id: r15420
2004-10-05 14:05:23 +00:00
Travis Howell
56ae86ef4f HE71+ games use wizImages for charset too.
svn-id: r15417
2004-10-05 05:52:48 +00:00
Travis Howell
49a3691132 Add actor transparency var for HE99 games.
svn-id: r15405
2004-10-04 06:20:10 +00:00
Gregory Montoir
2f8136b703 constness
svn-id: r15364
2004-09-30 23:49:46 +00:00
Gregory Montoir
21d2a6ec55 cleanup
svn-id: r15334
2004-09-28 21:53:29 +00:00
Max Horn
6a50ba2308 Changed more of the actor class members to match our coding guidelines (in the future, when adding new member vars here, please always use our conventions, i.e. prefix them with _ and use CamelBackStyle
svn-id: r15331
2004-09-28 19:28:59 +00:00
Travis Howell
7ced14e961 talkQueue should be actor specific
svn-id: r15318
2004-09-28 00:58:00 +00:00
Travis Howell
1aa01bf1cc Revert small part, actor backgrounds were no longer reset.
svn-id: r15314
2004-09-27 23:31:17 +00:00
Max Horn
f974de7e16 Well, it *looks* as if that clipping code could be simplified. We'll see if somebody starts to yell about the changes, though :-)
svn-id: r15313
2004-09-27 23:10:19 +00:00
Gregory Montoir
b347a5d4c0 Temporary fix for akos codec32 (this should re-use the existing code in Gdi). There are still some glitches, but catalog2 doesn't crash anymore when displaying the HE logo.
svn-id: r15311
2004-09-27 21:46:25 +00:00
Max Horn
bc5407c154 fix actor masking with V7_SMOOTH_SCROLLING_HACK enabled
svn-id: r15301
2004-09-26 18:09:48 +00:00
Max Horn
fbfa606e4f More V7_SMOOTH_SCROLLING_HACK related fixes
svn-id: r15250
2004-09-24 20:37:24 +00:00
Gregory Montoir
9aa01251ff try to detect what's wrong in akos code with pjs2
svn-id: r15246
2004-09-23 19:51:12 +00:00
Gregory Montoir
6bfeab77e1 cleanup
add some warnings to detect the use of new Aux animation data

svn-id: r15226
2004-09-21 21:10:23 +00:00
Max Horn
2f9ea12ddd cleanup
svn-id: r15224
2004-09-21 13:54:30 +00:00
Gregory Montoir
0fad7a9538 cleanup / code re-use
svn-id: r15203
2004-09-20 18:27:13 +00:00
Gregory Montoir
af77554dc3 minor code simplification
svn-id: r15159
2004-09-18 06:29:07 +00:00
Gregory Montoir
e11456cb92 fix offsets computation (Putt-Putt's head and body are no more detached in timedemo now)
svn-id: r15158
2004-09-18 06:17:50 +00:00
Travis Howell
a0312bd8cb Should be for HE71 and later.
svn-id: r15151
2004-09-18 01:00:22 +00:00
Gregory Montoir
22b2cfa002 preliminar AuxQueue support (freddemo intro), some glitches though
svn-id: r15149
2004-09-18 00:36:17 +00:00
Travis Howell
9a8d2c6c4a Add missing akos case.
svn-id: r15130
2004-09-15 23:47:54 +00:00