6230 Commits

Author SHA1 Message Date
Johannes Schickel
bd85909ff9 Don't enter run loop when quit flag is set.
svn-id: r31337
2008-03-30 18:41:55 +00:00
Johannes Schickel
54d2e7128e Implement quit flag handling in Kyra2 GUI code.
svn-id: r31336
2008-03-30 18:41:11 +00:00
Johannes Schickel
4a9891c006 Fixed bug which caused sometimes garbage text to be displayed.
svn-id: r31335
2008-03-30 18:37:27 +00:00
Max Horn
57ad73faee Removed char &operator [] from class String -- it had the potential to wreak havoc when used on shared strings (thanks to tramboi for pointing this out)
svn-id: r31334
2008-03-30 18:37:09 +00:00
Johannes Schickel
a9d256108d Cleanup.
svn-id: r31332
2008-03-30 18:31:30 +00:00
Johannes Schickel
f4e6109b33 - fixed savegame description loading in kyra1
- added Kyra2 load menu, currently just accessable from startup menu though

svn-id: r31331
2008-03-30 18:27:46 +00:00
Johannes Schickel
dc813c1c20 Cleanup.
svn-id: r31319
2008-03-30 03:21:01 +00:00
Johannes Schickel
b7a3dfd9df Always clip rect to copy in Screen::copyRegion now, like the original does.
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia".

svn-id: r31318
2008-03-30 03:18:16 +00:00
Florian Kagerer
91e30d8e50 - get rid of const_cast
svn-id: r31317
2008-03-30 02:43:22 +00:00
Johannes Schickel
a957b45d5c Cleanup.
svn-id: r31313
2008-03-30 01:35:12 +00:00
Johannes Schickel
b3f858af2b Renamed some functions according to our coding guidelines.
svn-id: r31310
2008-03-30 01:01:12 +00:00
Johannes Schickel
30c513eb2d - fixed formatting
- fixed const correctness (needed a const_cast though :-/)

svn-id: r31309
2008-03-30 00:55:16 +00:00
Florian Kagerer
25b9a8a1cb New drawShape code for Kyra 1 and 2. Scaled sprites no longer appear mutilated. This also fixes bug #1582675 (KYRA1: Brandon standing IN the floor).
This still needs some testing (for both Kyra 1 and Kyra 2).

svn-id: r31306
2008-03-29 23:16:44 +00:00
Travis Howell
7a919a0f4f Add patch #1928643 - Czech fan translation of Simon the Sorcerer 1.
svn-id: r31300
2008-03-29 13:27:25 +00:00
Filippos Karapetis
1e58257791 Oops
svn-id: r31297
2008-03-28 17:46:18 +00:00
Filippos Karapetis
70e4503274 Fixed 2 off-by-one errors (thanks next_ghost for spotting them)
svn-id: r31296
2008-03-28 17:38:45 +00:00
Johannes Schickel
7605a9a517 Changed HoF GUI code to use common GUI code now.
svn-id: r31295
2008-03-28 16:15:00 +00:00
Johannes Schickel
4ac08aa32a - fixed svn properties
- reenabled kyra1 layout calculation

svn-id: r31294
2008-03-28 15:29:39 +00:00
Max Horn
770bc64f21 Added FIXME comment regarding sorting of pred.dic; replaced weird binary search code with simple binary search code ;-)
svn-id: r31291
2008-03-28 09:17:13 +00:00
Johannes Schickel
b910d8d9bb Refactored Kyrandia GUI code a bit.
svn-id: r31290
2008-03-28 09:00:30 +00:00
Max Horn
7f81de6794 cleanup
svn-id: r31289
2008-03-28 08:30:42 +00:00
Johannes Schickel
f2e53b9d22 Oops that shouldn't be committed yet.
svn-id: r31288
2008-03-28 06:06:11 +00:00
Johannes Schickel
e29b4bb0cd Committed shared pointer implementation of patch #1895703 "COMMON: Managed List".
Unlike the patch on the tracker this commit includes documentation for SharedPtr.

svn-id: r31287
2008-03-28 06:03:59 +00:00
Johannes Schickel
dc1a7004e9 Fixed showing of cauldron animations processing while the inventory is not shown.
svn-id: r31286
2008-03-28 01:44:49 +00:00
Johannes Schickel
f7d14259c9 Implemented command text fadeout.
svn-id: r31285
2008-03-28 01:28:02 +00:00
Johannes Schickel
5fd6af3071 Finished o2_delay implementation.
svn-id: r31284
2008-03-28 01:10:58 +00:00
Johannes Schickel
615a40d19c Oops fixed wrong o2_delaySecs.
svn-id: r31283
2008-03-28 01:07:16 +00:00
Johannes Schickel
c5929561ba - Clear input queue after loading game via hotkeys.
- Fixed bug which caused the need for clicking twice to change pages in spellbook.

svn-id: r31282
2008-03-28 01:03:54 +00:00
Johannes Schickel
b033c5f605 Implemented savegame loading via command line params -x/--save-slot.
svn-id: r31281
2008-03-28 00:53:54 +00:00
Johannes Schickel
a1ec44cef2 Properly set sfx flag when playing digital SFX.
svn-id: r31280
2008-03-28 00:16:47 +00:00
Johannes Schickel
98f9a47619 Implemented opcodes:
- 38: o2_countItemsInScene
 - 57: o2_setTimerDelay
 - 84: o2_getSceneExitToFacing
 - 137: o2_removeItemFromScene

svn-id: r31279
2008-03-28 00:13:43 +00:00
Florian Kagerer
221e6bb84f - some accuracy changes for KyraEngine_v2::snd_playSoundEffect()
- fix one more skip flag bug in the sequence player
- fix SoundTowns_v2::voicePlay()

svn-id: r31278
2008-03-28 00:07:40 +00:00
Johannes Schickel
72484b204b - Implemented opcodes:
-> 51: o2_getElapsedSecs
  -> 52: o2_getTimerDelay
- Added warnings to o2_delaySecs and o2_delay for unimplemented subfunctions

svn-id: r31277
2008-03-27 23:53:49 +00:00
Johannes Schickel
bf26f82cbb Implemented opcode 74: o2_setSceneAnimPos2.
svn-id: r31276
2008-03-27 23:46:30 +00:00
Johannes Schickel
7a683ae436 Implemented opcodes:
- 164: o2_getSfxDriver
 - 165: o2_getVocSupport
 - 166: o2_getMusicDriver

svn-id: r31275
2008-03-27 23:12:45 +00:00
Johannes Schickel
42ff616533 Oops added missing return, should fix crashed on trying to load non-existant savegames.
svn-id: r31274
2008-03-27 22:34:17 +00:00
Florian Kagerer
c8ddd54039 fix for bug 1922560 (HoF: wheels entrance gfx wrong)
svn-id: r31273
2008-03-27 22:07:57 +00:00
Johannes Schickel
70dfc2baf7 Made some more former kyra1 specific debug commands available for HoF.
svn-id: r31272
2008-03-27 22:05:13 +00:00
Johannes Schickel
c5526604c0 Removed much code duplication in Hand of Fate savefile loading with SeekableSubReadStreamEndian.
svn-id: r31271
2008-03-27 20:54:59 +00:00
Johannes Schickel
639c4597cd Readded warning when loading HoF saves from original interpreter.
svn-id: r31269
2008-03-27 20:24:41 +00:00
Johannes Schickel
3bea667a10 - Implemented support for --list-saves in Kyra engine
- Added support for variable length savegame name field
- Changed savegame identifier
- Increased savegame file version

svn-id: r31268
2008-03-27 18:03:00 +00:00
Johannes Schickel
165c937e20 Enabled gamespeed debug command also for Kyra1.
svn-id: r31267
2008-03-27 16:12:48 +00:00
Johannes Schickel
3e98286af9 Fixed palette loading debug command for amiga version.
svn-id: r31266
2008-03-27 15:32:20 +00:00
Johannes Schickel
4d4fbc9e97 Added debugger command to set screen palette.
svn-id: r31265
2008-03-27 15:27:31 +00:00
Johannes Schickel
9eb279e1b6 Update hack comment in o2_updateSceneAnim.
svn-id: r31263
2008-03-27 14:55:52 +00:00
Johannes Schickel
57b80a79ab Fix for bug #1926838 "HoF: Animation plays too fast".
svn-id: r31262
2008-03-27 14:51:33 +00:00
Travis Howell
4d51eb5fb7 Add work around for script bug in The Feeble Files.
svn-id: r31260
2008-03-27 01:01:52 +00:00
Florian Kagerer
c4f15a7076 this should fix item #1926532 (HoF: ScummVM quits on ESCaping "Virgin" and "Westwood" logo)
svn-id: r31259
2008-03-26 23:42:47 +00:00
Johannes Schickel
a2053c0815 Prevents adding of events to input queue, which will not be processed anyway.
svn-id: r31258
2008-03-26 23:21:44 +00:00
Max Horn
d35020ac17 Init the _fmtownsBuf in the constructor, not in setupScumm() (fixes a leak, and ensure that _fmtownsBuf always is inited)
svn-id: r31256
2008-03-26 22:26:59 +00:00