Max Horn
9ec64a66fe
SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its _resource member
2011-05-13 14:48:01 +02:00
Max Horn
c02420df43
SCUMM: Add a Resource class, refactor res code around it
2011-05-13 11:47:13 +02:00
Max Horn
75b9deb185
SCUMM: Get rid of the MemBlkHeader hack
...
This uncovered at least one potentially serious bug in the inventory
code, which still needs to be investigated and fixed.
2011-05-13 11:47:10 +02:00
Max Horn
45e65d7ea0
SCUMM: Refactor how resource (types) are srepresented
...
Previously, we had a couple of arrays of size N (where N = number of
resource types), one for each attribute of a resource type (such as as
the number of resources of that type.
Now, we have one array of size N, whose elements are a record
aggregating all the attributes of each resource type.
2011-05-13 11:47:08 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
0ce2ca4e00
COMMON: Replace MKID_BE by MKTAG
...
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
dhewg
d83a83ef50
JANITORIAL: Remove/comment unused vars
...
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Arnaud Boutonné
d063b074cd
JANITORIAL: Suppress some useless includes
...
svn-id: r55091
2011-01-02 14:06:42 +00:00
Travis Howell
e7e92a7577
SCUMM: Fix bug #3143039 - ACTIVITY: Circus Stormin' crash.
...
svn-id: r55049
2010-12-27 14:02:17 +00:00
Travis Howell
402fac9ed4
SCUMM: Add workaround to allow saved games to be shared between Macintosh and Windows versions of Backyard Baseball 2001.
...
svn-id: r53729
2010-10-23 06:27:16 +00:00
Matthew Hoops
21a29d3b45
SCUMM: Have o6_getRandomNumber() use the absolute value of the argument
...
The Backyard Baseball series calls the function with negative numbers, but expects a positive result. The games are now actually playable.
Thanks to Kirben for assistance in tracking this bug down.
svn-id: r53630
2010-10-20 03:01:03 +00:00
Travis Howell
753a73be29
Fix bug #2960022 - PUTTPUTT 1: No Load/Save possible.
...
svn-id: r48499
2010-04-04 09:36:10 +00:00
Max Horn
bc2b90f43b
Workaround for bug #1878514 : COMI: Glitch when turning pages in recipe book
...
svn-id: r48207
2010-03-08 23:36:59 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Travis Howell
035dad7b3c
Adjust workaround for bug #2826144 , to use hard coded offset, that should be safe in all language versions.
...
svn-id: r42695
2009-07-24 13:30:26 +00:00
Travis Howell
171061894b
Add workaround for bug #2826144 - SAM: Game hangs when talking to bigfoot guard.
...
svn-id: r42693
2009-07-24 12:28:53 +00:00
Travis Howell
b159517dc3
Fix bug #2821215 - DIG: Skipping planetarium animation disables F5 menu.
...
svn-id: r42498
2009-07-15 02:06:26 +00:00
Travis Howell
e36bb72995
Fix bug #2791846 - SAMNMAX: Invalid opcode (regression).
...
svn-id: r40583
2009-05-15 00:22:53 +00:00
Travis Howell
75b5bd418a
Update comment.
...
svn-id: r40409
2009-05-10 07:21:35 +00:00
Travis Howell
6b6aca3fa3
Change the work around for sq3.san, so it doesn't alter global smush frame rate (Which is a regression).
...
svn-id: r40408
2009-05-10 06:54:45 +00:00
Travis Howell
4f0811b129
Correct and move initial SMUSH frame rate value, for the demo version of The Dig.
...
svn-id: r40407
2009-05-10 06:46:24 +00:00
Max Horn
cbe9e520d3
SCUMM: Compacted various setupOpcodes() implementations by using the fact that opcode tables tend not to change much between most SCUMM versions
...
svn-id: r39958
2009-04-16 09:27:22 +00:00
Max Horn
99df028d35
SCUMM: Got rid of o6_invalid
...
svn-id: r39957
2009-04-16 09:27:02 +00:00
Max Horn
432e7917a5
SCUMM: Switched opcode tables to use Common::Functor0 (a bit like Kyra does it)
...
svn-id: r39956
2009-04-16 09:26:37 +00:00
Max Horn
6f4b567124
SCUMM: Split intern.h into multiple headers
...
svn-id: r39567
2009-03-20 16:33:58 +00:00
Eugene Sandulenko
bc19c31d75
Patch from bugreport #1846746 : "PUTTMOON 3DO: Play button in Outtro partly cut off"
...
svn-id: r35823
2009-01-11 11:16:37 +00:00
Paweł Kołodziejski
5fc53e262e
- added initial radio chatter sfx, still not fully correct
...
- remove obsolete mixerStreamRunning track variable
svn-id: r35801
2009-01-10 13:04:33 +00:00
Max Horn
5ceb635420
Merging more of the GSoC 2008 RTL branch: SCUMM
...
svn-id: r34253
2008-09-01 20:20:20 +00:00
Torbjörn Andersson
28ce384cb6
Added a whitespace, just for salty-horse.
...
svn-id: r34208
2008-08-30 12:54:54 +00:00
Christopher Page
ce3d1e1a7d
Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33720
2008-08-09 19:03:29 +00:00
Max Horn
e7027503f1
Workaround for bug #2016521 (DOTT: Bernard impersonating LaVerne)
...
svn-id: r33655
2008-08-06 10:32:20 +00:00
Christopher Page
e9c6b03fc7
SCUMM works with new GMM implementation
...
svn-id: r33001
2008-07-11 01:22:37 +00:00
Chris Apers
1b69c18b56
Fixed PalmOS compilation
...
svn-id: r32223
2008-05-23 11:13:15 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Eugene Sandulenko
0f6246bab8
Fix for bug #896489 : "DIG: Missing subtitles when talking to Brink"
...
svn-id: r30167
2008-01-02 21:15:23 +00:00
Max Horn
be11104d70
Removed obsolete _insaneRunning flag
...
svn-id: r30107
2007-12-31 16:34:30 +00:00
Eugene Sandulenko
ef319ad674
Patch #1859448 : Add OSystem::getTimeAndDate API
...
svn-id: r30034
2007-12-28 07:43:52 +00:00
Max Horn
6d37f5ccd8
Do not #include time.h globally (ideally, we should provide a localtime clone in OSystem so we can completly get rid of this)
...
svn-id: r29919
2007-12-20 14:29:58 +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
0cccbb29d6
Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
...
svn-id: r28877
2007-09-08 11:15:27 +00:00
Max Horn
302da0b855
SCUMM: Added three FIXME comments to the _keyDownMap code, and made it use KEYCODE_ constants for clarity
...
svn-id: r27659
2007-06-23 11:53:24 +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
Max Horn
6899e72be9
Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERA
...
svn-id: r25454
2007-02-10 02:05:59 +00:00
Max Horn
27432a4dc1
Moved some stuff from CharsetRenderer (back) to ScummEngine, added comments
...
svn-id: r25250
2007-01-28 20:11:31 +00:00
Max Horn
dc8dde1872
Patch from bug report #1615417 : SCUMM (v6): Cursor isn't updated after hotspot changes
...
svn-id: r25162
2007-01-24 00:11:22 +00:00
Max Horn
c210aff40c
* Made Actor::_pos protected, added public Actor::getPos() method
...
* Added default params to Actor::putActor()
* Removed Actor::getActorXYPos
svn-id: r24742
2006-11-19 00:39:48 +00:00
Max Horn
df2ccb78c2
cleanup
...
svn-id: r24711
2006-11-13 20:20:01 +00:00