Age | Commit message (Collapse) | Author |
|
svn-id: r51523
|
|
svn-id: r51522
|
|
Since I got no response to my mail to -devel, I just assume that there is
no specific reason for using rand() in SCI.
As explained in my mail to -devel about why SCI uses rand, this might allow
SCI to work with our event recording, when that ever gets finished.
I adapted kRandom so that it also supports negative random numbers. And
furthermore that the toNumber argument is smaller than the fromNumber
argument. I am not sure whether that really happens though, but it should
be safer to have this. I marked that place with an TODO/CHECKME.
svn-id: r51521
|
|
fixes crash in sq5 with elevator on goliath
svn-id: r51520
|
|
svn-id: r51518
|
|
Previous behavior was to assert
svn-id: r51517
|
|
Thanks to salty-horse for finding this. Also, use Common::Rational directly to hold the frame rate to avoid rounding.
svn-id: r51516
|
|
The SCI Studio function library incorrectly calls kDeviceInfo with one parameter to get the current device.
svn-id: r51514
|
|
fixing regressions of r51511&51512 and cleaning up as well - for sq5
svn-id: r51513
|
|
(sq5 some dialog boxes again using wrong font in rare cases)
svn-id: r51512
|
|
fixes incorrect window proportions in sq5 when hailing ship at clorox II
svn-id: r51511
|
|
adding comments as well
svn-id: r51510
|
|
svn-id: r51509
|
|
op_mod for SCI01 and newer games. Fixes the
battlecruiser mini-game in SQ5. Many thanks
to lskovlun, wjp and m_kiewitz for their
joined effort on this issue
svn-id: r51508
|
|
svn-id: r51506
|
|
bigger number, just in case
svn-id: r51505
|
|
changing the return value of the workarounds made for bugs #3036274 and #3035068. The game scripts perform lt on the uninitialized temp, and if it's smaller than expected they start removing journal entries
svn-id: r51504
|
|
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for.
svn-id: r51503
|
|
adding primitive support to just set the cursor to the required view resource, nothing else implemented yet
svn-id: r51501
|
|
showing warning about unsupported mag-cursor when argc = 10 is used
removing argc = 9 support, must have been a script bug somewhere
svn-id: r51500
|
|
for kDoAudio subop 13
svn-id: r51499
|
|
svn-id: r51498
|
|
crash from bug #3034973 - "PHARKAS: Crash early in game'
svn-id: r51497
|
|
svn-id: r51496
|
|
svn-id: r51494
|
|
console", along with a related bug after giving an answer through the hand code
svn-id: r51486
|
|
hoyle 3 is using kCanBeHere, but it has cantBeHere and canBeHere selectors so our auto detection would fail
it also has a cantBeHere stub in Actor, thus it won't set acc at all. We reset acc because of that before calling cantBeHere selector (!) of the actors (canBeHere isnt used) so that we wont get a collision otherwise because acc is non zero when calling kDoBresen (fixes all sorts of bugs, clone2727 should clean it up :P
svn-id: r51485
|
|
this properly should make credits etc. appear and solve all the other issues that clone submitted)
svn-id: r51484
|
|
use 'logkernel DoSound' on to log calls to all kDoSound subfunctions. use 'logkernel DoSoundPlay' to log calls to kDoSound(play)
svn-id: r51483
|
|
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392)
svn-id: r51482
|
|
If a game CD has a scummvm.ini file with at least one game domain in
it, the normal autodetection is now bypassed and a menu of only the
games in the .ini file is presented instead. The descriptions of the
games are taken from the .ini file, but icons are still scanned for
in the old fashion.
Note that previously ScummVM would read global options from the
scummvm.ini file on the boot disc (if present), but now global options
are instead taken from the scummvm.ini on the game disc (in case of
a disc swap).
svn-id: r51480
|
|
the "completed" case removed in rev #50921 for Hoyle 3
svn-id: r51479
|
|
Implement platform-specific variants of createConfigReadStream()
and createConfigWriteStream(), instead of inheriting the BaseBackend
definitions. Nonstandard behavious is as follows:
* createConfigWriteStream() always returns 0 (read-only filesystem)
* createConfigReadStream() returns an empty MemoryReadStream instead
of NULL if scummvm.ini does not exist. This is to make sure that
loadDefaultConfigFile() always clears out any old config data, as
I'll want to restart config parsing from scratch after a disc
swap.
svn-id: r51478
|
|
This fixes two fan games: Al Pond 2 and Aquarius. The original interpreter did this as well.
svn-id: r51477
|
|
svn-id: r51476
|
|
svn-id: r51475
|
|
svn-id: r51474
|
|
svn-id: r51473
|
|
KQ5 workaround, as there could be an issue
with other non-English versions, too (e.g.
the Spanish floppy version)
svn-id: r51472
|
|
Fixes bug #3035396 - "KQ5: Crash when start the game"
svn-id: r51471
|
|
crashes after title", together with a related
problem (kRedrawBox is called erroneously with
an additional parameter when any dialog is
closed)
svn-id: r51470
|
|
svn-id: r51469
|
|
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).
On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).
svn-id: r51467
|
|
svn-id: r51466
|
|
svn-id: r51465
|
|
svn-id: r51464
|
|
svn-id: r51463
|
|
svn-id: r51462
|
|
svn-id: r51461
|
|
svn-id: r51460
|