18623 Commits

Author SHA1 Message Date
Johannes Schickel
3653613443 KYRA: Add a datatype for the item ids and convert Kyra1 to use it.
svn-id: r53696
2010-10-22 02:09:16 +00:00
Johannes Schickel
38463e6161 KYRA: A little refactoring (name change).
svn-id: r53695
2010-10-22 02:08:26 +00:00
Julien Templier
fed894aeee LASTEXPRESS: Add missing casts, fix warnings and correct typos
svn-id: r53694
2010-10-22 01:30:18 +00:00
Julien Templier
06d9de0a9b LASTEXPRESS: Fix GCC errors & warnings (missing stricmp & parentheses)
svn-id: r53693
2010-10-22 00:35:37 +00:00
Julien Templier
a54783c414 LASTEXPRESS: Merge several TIME_CHECK* macros together
svn-id: r53692
2010-10-21 23:46:00 +00:00
Julien Templier
002557fbd2 LASTEXPRESS: Rename CURRENT_PARAMS to CURRENT_PARAM
svn-id: r53691
2010-10-21 23:44:59 +00:00
Julien Templier
4466e2a20d LASTEXPRESS: Simplify some entity callback code
svn-id: r53690
2010-10-21 23:44:27 +00:00
Julien Templier
af36047c71 LASTEXPRESS: Rename LOBYTE macro
svn-id: r53689
2010-10-21 23:43:57 +00:00
Julien Templier
3abbcfd780 LASTEXPRESS: Implement remaining AI logic functions for MmeBoutarel
svn-id: r53688
2010-10-21 23:43:36 +00:00
Julien Templier
a3d4181e00 LASTEXPRESS: Implement remaining AI logic functions for Coudert
svn-id: r53687
2010-10-21 23:43:04 +00:00
Julien Templier
f22c915a91 LASTEXPRESS: Implement remaining AI logic functions for Anna
svn-id: r53686
2010-10-21 23:42:31 +00:00
Julien Templier
21a25a99f5 LASTEXPRESS: Implement remaining AI logic functions for Tatiana
svn-id: r53685
2010-10-21 23:41:56 +00:00
Julien Templier
def40a625a LASTEXPRESS: Implement remaining AI logic functions for Kahina and Kronos
svn-id: r53684
2010-10-21 23:41:22 +00:00
Julien Templier
08f905fe56 LASTEXPRESS: Implement remaining AI logic functions for August
svn-id: r53683
2010-10-21 23:40:47 +00:00
Julien Templier
b347156e78 LASTEXPRESS: Implement remaining AI logic functions for Francois, Gendarmes and Milos
svn-id: r53682
2010-10-21 23:40:14 +00:00
Julien Templier
c35d23aa95 LASTEXPRESS: Implement 7 AI logic functions
svn-id: r53681
2010-10-21 23:39:48 +00:00
Julien Templier
a621302a71 LASTEXPRESS: Implement 10 more AI logic functions
svn-id: r53680
2010-10-21 23:38:35 +00:00
Andrew Kurushin
521eb95aea SAGA: fix gcc warn
svn-id: r53679
2010-10-21 22:35:57 +00:00
Andrew Kurushin
8b72f49460 SAGA: replace Script and Thread "::*alloc" & "::free" with Common::Array
svn-id: r53678
2010-10-21 22:32:50 +00:00
Andrew Kurushin
c1505d6e51 SAGA: unroll IsoMap::drawTile buffer copy loop; refactor Sprite::drawClip
svn-id: r53677
2010-10-21 20:13:25 +00:00
Torbjörn Andersson
f4a0633d8a LASTEXPRESS: Fix debug message.
svn-id: r53676
2010-10-21 19:24:22 +00:00
Arnaud Boutonné
0101a0e0bb HUGO: Moved _objects to a separate file
also suppressed some dereferencing

svn-id: r53674
2010-10-21 17:09:57 +00:00
Filippos Karapetis
d251521f63 SCI: Added the ability to filter out results of the "class_table" command
svn-id: r53673
2010-10-21 13:13:56 +00:00
Max Horn
89fc06d878 SCUMM: Remove redundant call to checkArrayLimits
svn-id: r53672
2010-10-21 09:32:00 +00:00
Max Horn
66fabfa049 SCUMM: Document ScummEngine_v90he::sortArray
svn-id: r53671
2010-10-21 09:31:42 +00:00
Travis Howell
cca5504b6c SCUMM: Fix bug #2984000 - SPYFOX3 (French): Crash when using fingernail machine.
svn-id: r53669
2010-10-21 08:51:10 +00:00
Travis Howell
e5c3b67ddb SCUMM: Correct a copy and paste error in compareByteArray/compareByteArrayReverse code.
Thanks to clone2727 for noticng this error.

svn-id: r53663
2010-10-21 05:17:16 +00:00
Travis Howell
01ea6f86bd SCUMM: Revert revision 45302, which caused regressions when random team is selected in Backyard Football.
svn-id: r53662
2010-10-21 05:13:32 +00:00
Max Horn
d8c1251f88 SAGA: Fix warning: comparison of unsigned expression < 0 is always false
svn-id: r53660
2010-10-20 23:58:34 +00:00
Julien Templier
c105e05a02 LASTEXPRESS: Fix typo in Mertens::function42()
This caused Mertens to invite you to Kronos's car, even before you've been
to Whitney's compartment, changed jacket and assumed his identity
(reported by eriktorbjorn)

svn-id: r53659
2010-10-20 22:36:50 +00:00
Andrew Kurushin
d97d21e029 SAGA: replace Sprite "::*alloc" & "::free" with Common::Array
svn-id: r53658
2010-10-20 22:02:33 +00:00
Martin Kiewitz
db55d81b08 SCI: removing "german" laura bow 1
the version released in Germany was/is 100% english-only

svn-id: r53657
2010-10-20 21:47:26 +00:00
Andrew Kurushin
1bd1a253f0 SAGA: replace Font "::*alloc" & "::free" with Common::Array
svn-id: r53656
2010-10-20 21:23:02 +00:00
Andrew Kurushin
6be5d2554d SAGA: replace StringTable "::realloc" with Common::Array; reduce amount of memory for every string table
svn-id: r53651
2010-10-20 20:53:32 +00:00
Torbjörn Andersson
2a19d755de SCI: Silence GCC warning
svn-id: r53649
2010-10-20 20:39:08 +00:00
Filippos Karapetis
2d1205f7a0 SCI: Changed some tabs to spaces
svn-id: r53648
2010-10-20 18:29:21 +00:00
Filippos Karapetis
ab362cfa53 SCI: Marked several unused SCI2/SCI2.1 kernel functions and updated comments about some others
svn-id: r53647
2010-10-20 18:10:36 +00:00
Filippos Karapetis
3d85d6804b SCI: Added a new debug command, "find_callk"
This command can be used to find the object methods (including their
corresponding objects and owner scripts) that call a specific kernel
call. This shall aid us track all the spots where a particular kernel
function is called from, therefore it'll be a bit easier to find
examples where unimplemented kernel functions are called

svn-id: r53646
2010-10-20 17:31:29 +00:00
Florian Kagerer
64c0d2a1d1 SCUMM/FM-TOWNS: minor graphics fix
This fixes a graphics glitch that occured when leaving the Scumm Bar in MI1 for the first time (before the cut scene with LeChuck).

svn-id: r53645
2010-10-20 15:39:08 +00:00
Paul Gilbert
14e82dbe7f SWORD25: Added description field to savegames
This stores the date and time of when the game was saved, since ScummVM doesn't support getting a file's age like the original engine did.

svn-id: r53638
2010-10-20 11:11:09 +00:00
Paul Gilbert
66ecd08868 SWORD25: Fix to correctly write game state to savegame files
svn-id: r53637
2010-10-20 10:53:50 +00:00
Torbjörn Andersson
28a98c7416 SAGA: Silence warning
svn-id: r53632
2010-10-20 03:54:33 +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
Jordi Vilalta Prat
59c054938a LASTEXPRESS: Fix some space formatting.
svn-id: r53629
2010-10-19 22:34:26 +00:00
Andrew Kurushin
e4029f6f0e SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
bfb0986cd4 SAGA: replace Actors "::realloc" with Common::Array
svn-id: r53627
2010-10-19 21:40:24 +00:00
Eugene Sandulenko
6629efc676 SWORD25: Enforced code formatting rules in rest of the engine
svn-id: r53626
2010-10-19 21:03:33 +00:00
Eugene Sandulenko
ae78107e2a SWORD25: Enforce code naming conventions in gfx/*
svn-id: r53625
2010-10-19 20:54:30 +00:00
Julien Templier
3feab382bc LASTEXPRESS: Fix corpse disappearing when hiding the body in the bed
The setItemLocation action had a typo that prevented it from setting the item location.
The "corpse moved" event was not set and it broke the scene progression.

Also clean up the pickCorpse code and add better comments.

svn-id: r53624
2010-10-19 20:53:43 +00:00
Eugene Sandulenko
f3becaddf1 SWORD25: Enforce code naming conventions in gfx/image/imageloader*
svn-id: r53623
2010-10-19 20:52:47 +00:00