Commit Graph

87 Commits

Author SHA1 Message Date
Max Horn
051977cd17 cleanup closestPtOnLine
svn-id: r17876
2005-04-30 22:24:02 +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
Max Horn
3d5b5f2ad8 Moved createResource, resourceStats, expireResources to ResourceManager
svn-id: r17420
2005-04-06 17:31:35 +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
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Travis Howell
df17c27ebf Add patch #1060453 - MIVGA: Actor Scale Patch
svn-id: r15712
2004-11-05 05:13:56 +00:00
Max Horn
88842cb911 One further cleanup -- make use of Common::Point assignment operator
svn-id: r15337
2004-09-28 23:35:07 +00:00
Max Horn
16549bef3a Cleanup, add some comments to ScummEngine::areBoxesNeighbours
svn-id: r15336
2004-09-28 23:30:50 +00:00
Max Horn
ad3062ab93 Fix (I hope) for bug #1032964 (INDY3-VGA: actors walking in wrong places)
svn-id: r15335
2004-09-28 23:05:45 +00:00
Max Horn
5053ee335f Comment clarification
svn-id: r15296
2004-09-26 16:09:17 +00:00
Paweł Kołodziejski
bc369ce6e2 fixed endlines
svn-id: r15069
2004-09-12 14:20:57 +00:00
Travis Howell
077d977834 Add fingolfin's suggested solution for bug #881132
svn-id: r14869
2004-09-03 00:22:31 +00:00
Travis Howell
fc0ee14938 Update comment
svn-id: r14213
2004-07-14 10:48:33 +00:00
Max Horn
fd3ff5b58a Workaround for bug #847827 (FOA: Wrong sprite z-order at specific place)
svn-id: r13553
2004-04-11 23:19:19 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
3230a203e4 cleanup
svn-id: r12038
2003-12-30 21:18:29 +00:00
Max Horn
aeb3bd33c2 Fix for bug #809942 (COMI: Guybrush disappears before Hotel on Blood)
svn-id: r11922
2003-12-25 18:21:03 +00:00
Max Horn
8a6b0e2e18 cleanup
svn-id: r11414
2003-11-28 16:18:43 +00:00
Max Horn
4c833ba23e fix invalid typo fixes ;-) (BTW did anybody get comit mails for khalek's changes? I didn't)
svn-id: r11183
2003-11-07 09:38:06 +00:00
Jonathan Gray
7c97e7c2b9 more spelling fixes
svn-id: r11176
2003-11-07 02:11:41 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
6512592d0f moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
svn-id: r10253
2003-09-14 18:16:45 +00:00
Max Horn
538812d9fc yet another tiny cleanup.... yeah yeah, I know I am annoying
svn-id: r10182
2003-09-11 22:36:21 +00:00
Max Horn
32c0168087 cleanup
svn-id: r10181
2003-09-11 22:26:44 +00:00
Max Horn
ff225c470c cleanup
svn-id: r10179
2003-09-11 22:00:36 +00:00
Max Horn
81f10baa68 cleanup
svn-id: r10169
2003-09-11 10:32:15 +00:00
Max Horn
07e8084eee replaced all use of scale items with scale slots. This allowed me to get rid of two big FIXME's, and might fix other scaling bugs in FT/DIG
svn-id: r10140
2003-09-09 17:29:22 +00:00
Max Horn
163ecdc054 added convertScaleTableToScaleSlot method, preparing to replace scale items with scale slots
svn-id: r10139
2003-09-09 16:55:25 +00:00
Travis Howell
603f8b8e3a Give pass its own id
svn-id: r9654
2003-08-13 02:21:36 +00:00
Travis Howell
117b7d0061 Fix regression
svn-id: r9629
2003-08-11 00:48:32 +00:00
Max Horn
3e0cd37cea get rid of GF_INDY3 again, and also remove GID_INDY3_256 and GID_INDY3_TOWNS
svn-id: r9554
2003-08-06 12:04:27 +00:00
Travis Howell
e4e9538038 Add GF_INDY3 feature flag for indy3 games to reduce checks
Remove GF_ADLIB_DEFAULT since it is no longer used

svn-id: r9546
2003-08-06 09:10:19 +00:00
Torbjörn Andersson
3b033956aa Changed "SCALLING" to "SCALING".
svn-id: r9134
2003-07-22 20:53:01 +00:00
Max Horn
dce17ed7ac fix for bug #775420; also properly implemented the 'box matrix truncated' workaround
svn-id: r9129
2003-07-22 19:01:38 +00:00
Max Horn
9b02cb4cce fixing bug #774783 for the VGA version, too - and I bet the FmTowns version will need this fix, too
svn-id: r9112
2003-07-21 22:11:33 +00:00
Max Horn
743ad2aaa6 really fix #774783 in IndyEGA (while the value '1' is not strictly correct, and in IndyVGA it is 0, and 0 is the logical value - this *has* to be 1 (and 1 is what the original returns, too, due to a bug)
svn-id: r9111
2003-07-21 22:08:39 +00:00
Max Horn
0a334bf269 Fix for bug #770690 and bug #774783
svn-id: r9110
2003-07-21 21:59:07 +00:00
Max Horn
2fbf782c05 moved some functions out of scummvm.cpp into more appropriate files; rearranged stuff inside scummvm.cpp to be grouped a bit more logical
svn-id: r9083
2003-07-19 18:18:01 +00:00
Max Horn
f60e8ff53e fix for bug #771803
svn-id: r9043
2003-07-15 19:20:40 +00:00
Max Horn
a52a80d4f5 workaround for bug #770351
svn-id: r8993
2003-07-13 19:50:35 +00:00
Max Horn
bc5dbf8e66 undoing my last box change - with the last change in actor.cpp, this should make MM boxes work properly and fix one or multiple of the open MM bugs
svn-id: r8953
2003-07-12 18:46:33 +00:00
Max Horn
b2f737888d fix box coordinates for v1/v2 games (boxes are now contiguous)
svn-id: r8943
2003-07-12 12:40:20 +00:00
Max Horn
92fd56f9f0 removed #include "boxes.h" from scumm.h; cleaned up AdjustBoxResult definition & usage; properly deal with larger box distances, thus partially fixing Zak on the airport (but original seems to have used a very different algorithm, so this really is only a partial fix)
svn-id: r8710
2003-07-02 13:47:03 +00:00
Max Horn
a610e14a11 this FIXME is obsoleted by my recent fix for getMaskFromBox
svn-id: r8678
2003-06-30 22:22:04 +00:00
Max Horn
36899b8200 fix for #740244 and #755863. This appears to have been a long standing bug in the original engine?
svn-id: r8676
2003-06-30 20:12:34 +00:00
Torbjörn Andersson
a8b61e464f The compressed box matrix would sometimes refer to the box after the last
one. This was probably harmless, but the fix seems to be trivial. I hope.

svn-id: r8441
2003-06-12 06:53:05 +00:00
Max Horn
17a5a69c04 fixed createBoxMatrix for small header games (bug #752844)
svn-id: r8438
2003-06-11 21:34:34 +00:00
Max Horn
f034b339cd reimplemented createBoxMatrix; this is much cleaner and easier to understand than the original code (IMHO); in a few cases it gives slightly different results (because the old code didn't always find the shortest path), but that shouldn't cause any problems
svn-id: r8403
2003-06-08 17:59:09 +00:00