Travis Howell
46be9c3a1c
Simplify the code to check whether loading or saving a game is possible.
...
svn-id: r42672
2009-07-23 05:57:00 +00:00
Travis Howell
fad11ade6e
Simplify the code to check whether loading or saving a game is possible.
...
svn-id: r42671
2009-07-23 05:48:20 +00:00
Eugene Sandulenko
4e71153249
Fix bug #2825252 : "GUI: Low Res Bugs"
...
svn-id: r42668
2009-07-22 20:37:48 +00:00
Eugene Sandulenko
9b031982cf
Fix bug #1745396 : "MI: Saved game from the credits sequence fails to load".
...
Now we specifically disallow saves in room 0 for all v4+ games. Original
has exactly this check in all versions, and such games are impossible to load.
Still the problem is not resolved for v0-v3 and HE games.
svn-id: r42664
2009-07-22 19:25:53 +00:00
Eugene Sandulenko
0932497cca
Fix bug #2798797 : "AGI: larry 1 doesn't restart after dying"
...
svn-id: r42663
2009-07-22 16:26:53 +00:00
Eugene Sandulenko
483a4c0eeb
Move functions from agi.cpp to more appropriate files.
...
svn-id: r42662
2009-07-22 15:55:33 +00:00
Johannes Schickel
9bd355acf8
Since Kyra PC98 version is japanese only don't mention it explicitly.
...
svn-id: r42661
2009-07-22 12:38:34 +00:00
Eugene Sandulenko
d106fca42b
Mention microscope puzzle improvement in T7G
...
svn-id: r42660
2009-07-22 12:36:08 +00:00
Eugene Sandulenko
88395007fb
Fix bug #2823759 : "AGI: PQ1 help not showing the first time you press F1"
...
svn-id: r42659
2009-07-22 12:24:55 +00:00
Eugene Sandulenko
7c1df4cbff
Fix bug #2823762 : "AGI: PQ1 All function keys are broken after restart"
...
svn-id: r42658
2009-07-22 11:48:51 +00:00
Denis Kasak
1726cc8d24
* Disabled unconditional execution of gates' scripts
...
* Fixed bug in Animation::nextFrame() which caused non-looping animations to linger on forever
* Stopped setting looping to false explicitly in AnimationManager::addAnimation() since the Animation constructor already does that
svn-id: r42657
2009-07-22 11:30:57 +00:00
Travis Howell
d4c13b40a5
Update video script debug table for Waxworks.
...
svn-id: r42656
2009-07-22 10:32:35 +00:00
Travis Howell
f4916b9830
Change the default target to CD version, for games which offer floppy and CD versions. So all GUI options are still available in fan translations.
...
svn-id: r42655
2009-07-22 10:23:58 +00:00
Travis Howell
227f4a575f
Simplify fade code.
...
svn-id: r42654
2009-07-22 09:52:44 +00:00
Eugene Sandulenko
1c86a986d9
Fix warnings
...
svn-id: r42653
2009-07-22 07:22:12 +00:00
Denis Kasak
ef37d0a9b0
* Stopped AnimationManager::drawScene() from marking its own dirtiness.
...
* Instead, Animation::nextFrame() marks both the old and the new frame dirty. This makes it possible to only update the real screen when the animation changes and results in a pretty big speedup.
* Added utility method Animation::markDirtyRect() which takes a (Surface *) and marks a dirty rect on it for the current frame.
* Fixed artifacts when moving the dragon.
svn-id: r42652
2009-07-22 07:18:00 +00:00
Denis Kasak
5a77f089e1
Check whether the walking map overlay is already in the desired state so we don't start/stop it over and over.
...
svn-id: r42651
2009-07-22 05:03:34 +00:00
Denis Kasak
42e8e1e126
If a frame has scaled dimensions set to 0, the engine now does no scaling instead of scaling it to nothing. Fixes the disappearing chair bug.
...
svn-id: r42650
2009-07-22 05:00:11 +00:00
Denis Kasak
9b32771017
Fixed scaled mirrored sprite drawing. This change enables the NoSense logo animation to be played correctly.
...
svn-id: r42649
2009-07-22 04:50:11 +00:00
Denis Kasak
348cbc2b19
* Removed some unnecessary virtual qualifiers from methods in Drawable, Sprite and Text.
...
* Changed some Drawable members from uint16 to uint.
* Added some const qualifiers to methods of Drawable.
svn-id: r42648
2009-07-22 04:47:01 +00:00
Denis Kasak
b3a2d186bb
* Moved scaling support from Animation to Sprite
...
* Now each Sprite (and hence frame in an animation) can have a separate zoom (which is needed for some animations in the game)
* Scale factors are not stored any more; instead, we only store scaled dimensions (since these are stored in the data files) and calculate the factors from those.
svn-id: r42647
2009-07-22 04:42:33 +00:00
Robin Watts
64ebb586cd
Add ARM code implementation of Scaler2x, and enable it for the WinCE
...
port.
svn-id: r42645
2009-07-21 19:39:24 +00:00
Johannes Schickel
a7b419149c
Use 50Hz ticks in Kyra1 Amiga instead of 60Hz ticks.
...
svn-id: r42644
2009-07-21 17:00:07 +00:00
Sven Hesse
3a3e7acf51
Fixing the text input in Gob1 (the loading code wasn't printed as you typed anymore)
...
svn-id: r42642
2009-07-21 12:14:36 +00:00
Sven Hesse
4f431e8952
Fixing "Game "hangs" after first level" (bug #2824414 )
...
svn-id: r42641
2009-07-21 11:58:58 +00:00
Sven Hesse
87af626ee9
Making some static const uint32s public, older GCC versions don't seem to like nested classes to access their parents' protected members
...
svn-id: r42640
2009-07-21 11:26:31 +00:00
Travis Howell
fd63d8c95a
Fix bug #2823818 - GUI: unable to select subtitles and speech for Simon 2.
...
svn-id: r42639
2009-07-21 10:48:32 +00:00
Travis Howell
66311e3248
Fix fade effects in Waxworks.
...
svn-id: r42638
2009-07-21 10:37:58 +00:00
Willem Jan Palenstijn
4c797d57d0
Use a BufferedReadStream to buffer ArjFile's input to reduce memory usage
...
svn-id: r42637
2009-07-21 09:39:58 +00:00
Travis Howell
004b313ae0
Update GUI flags for AGOS game engine.
...
svn-id: r42636
2009-07-21 07:02:18 +00:00
Johannes Schickel
5585e18123
Fix gcc warning (hopefully this is correct).
...
svn-id: r42635
2009-07-20 22:26:41 +00:00
Eugene Sandulenko
3f6159a968
Proper implementation of microscope puzzle.
...
svn-id: r42634
2009-07-20 22:15:37 +00:00
Matthew Hoops
6e6d5e8b98
Fixing bug #2823854 : Mickey's space adventure crash. There's one too many space characters in a string which causes it to be drawn off the screen.
...
svn-id: r42633
2009-07-20 20:59:35 +00:00
Willem Jan Palenstijn
f9208f1bb0
Make ScummFile::eos() consistent with Stream::eos().
...
Remove usage of ioFailed from SCUMM engine.
Fix reading up to the end of a SCUMM SubFile.
This hopefully fixes #2820957 .
svn-id: r42632
2009-07-20 20:55:28 +00:00
Norbert Lange
83c0d0fc51
missed some files when merging
...
svn-id: r42630
2009-07-20 17:46:19 +00:00
Denis Kasak
6097828f54
Made 'show walking map overlay' setting persist when changing rooms.
...
svn-id: r42628
2009-07-20 17:34:19 +00:00
Denis Kasak
a2a71cb8fb
* Added scaling support
...
* Made the dragon scale when it is in different parts of the room
* Added getters for relative coordinates (Animation::getRelativeX() and Animation::getRelativeY())
* Commented Game::loop() and Sprite::draw*() methods in more detail
svn-id: r42627
2009-07-20 17:25:57 +00:00
Paul Gilbert
b40dc424b3
Bugfix for hangs on scene changes in Discworld 1 after having loaded a savegame from the GMM when the title screens are displayed
...
svn-id: r42626
2009-07-20 09:19:27 +00:00
Eugene Sandulenko
0e2f267329
Moved new ports section to more appropriate place. And force buildbot to
...
recompile :)
svn-id: r42625
2009-07-20 08:31:40 +00:00
Max Horn
9e3d42c0cf
AGOS: Fixed badload(); some whitespace cleanup
...
svn-id: r42624
2009-07-20 05:02:17 +00:00
Willem Jan Palenstijn
00af395ab6
Fix compilation with USE_CONSOLE = 0
...
svn-id: r42623
2009-07-19 21:06:25 +00:00
Norbert Lange
4ae0b0528b
now using tick for fadeout through the nowmal delay function
...
svn-id: r42622
2009-07-19 19:56:52 +00:00
Norbert Lange
65cf95b98b
reverted fadeout to using plain delay as delayWithTicks crashes >(
...
svn-id: r42621
2009-07-19 16:59:39 +00:00
Norbert Lange
f051e7e9ab
use own soundhandle as the ones in Kyra::Sound seem to be used for voices (and might get killed)
...
svn-id: r42620
2009-07-19 16:11:05 +00:00
Kostas Nakos
4bd5023d23
whoops, fix non-arm build (why? :-) )
...
svn-id: r42619
2009-07-19 16:10:55 +00:00
Norbert Lange
5952977ed0
use ticks for timing fadeout
...
svn-id: r42618
2009-07-19 15:36:11 +00:00
Matthew Hoops
52a160657f
Fix 16bit color when using the hardware screen's pixel format. The call was never updated after r42467.
...
svn-id: r42617
2009-07-19 15:00:39 +00:00
Denis Kasak
18301b6f78
* Used ldexp() in real_to_double() instead of doing the calculation manually
...
* Moved static declaration of real_to_double() to game.cpp
svn-id: r42616
2009-07-19 14:54:16 +00:00
Kostas Nakos
c313396aac
remove dead code leftover
...
svn-id: r42615
2009-07-19 14:46:11 +00:00
Travis Howell
5b16cab619
Change generic save game name.
...
svn-id: r42614
2009-07-19 14:03:35 +00:00