Commit Graph

562 Commits

Author SHA1 Message Date
Oystein Eftevaag
7f7b08b42e Forgot to rename a variable
svn-id: r29209
2007-10-13 18:53:02 +00:00
Oystein Eftevaag
4f93e96d5f Implemented the o2_setCharacterAnimFrame opcode and made sure o2_delay does game updates during the delay
svn-id: r29208
2007-10-13 18:47:52 +00:00
Johannes Schickel
3f7b4e62cc Cleanup.
svn-id: r29207
2007-10-13 18:36:19 +00:00
Johannes Schickel
1e65cdd896 Cleanup.
svn-id: r29206
2007-10-13 18:15:03 +00:00
Johannes Schickel
da9479dfb8 - moved some voice functionallity from KyraEngine_v1 to KyraEngine
HoF:
- added voice support
- implemented opcodes
  -> o2_setVocHigh 167
  -> o2_getVocHigh 168
  -> o2_isVoiceEnabled 170
  -> o2_isVoicePlaying 171
  -> o2_stopVoicePlaying 172
  -> o2_getGameLanguage 173

svn-id: r29201
2007-10-13 06:57:47 +00:00
Filippos Karapetis
9c528b6cb9 Fix typo
svn-id: r29195
2007-10-12 19:57:43 +00:00
Johannes Schickel
d1a3af446a HoF:
- added some _skipFlag and _quitFlag handling
- extended Screen::fadePal to take an functor for update purposes
- changed KyraEngine_v2::fadeScenePal to use Screen::fadePal with a functor

svn-id: r29188
2007-10-12 01:26:27 +00:00
Johannes Schickel
1764f165a7 HoF:
- Subclassed TextDisplayer for use with Kyra2
- Implemented opcodes:
  -> o2_zanthiaChat 169
  -> o2_customChat 152
  -> o2_customChatFinish 153

svn-id: r29187
2007-10-12 00:58:59 +00:00
Johannes Schickel
d896894631 - Made some sound functions a bit more generic for use with Kyra1 and Kyra2
HoF:
- Added sound support (sfx sound wrong currently though)
- Implemented opcodes:
  -> o2_loadMusicTrack
  -> o2_playWanderScoreViaMap
  -> o2_playSoundEffect
  -> o2t_playSoundEffect

svn-id: r29183
2007-10-10 09:06:15 +00:00
Johannes Schickel
598e35bab8 Fixed bug in o2_addSpecialExit.
svn-id: r29182
2007-10-10 05:22:29 +00:00
Johannes Schickel
004dab11c5 Oops forgot to add o2_delay to the opcode list.
svn-id: r29181
2007-10-09 09:17:07 +00:00
Johannes Schickel
ca0161b76a HoF
- Implemented opcodes
  -> o2_switchScene 0x51
  -> o2_getShapeFlag1 0x52

svn-id: r29180
2007-10-09 09:15:12 +00:00
Johannes Schickel
99efa084fe HoF
- fixed o2_runTemporaryScript
- fixed trySceneChange, now stopping movement should work correctly

svn-id: r29179
2007-10-09 09:03:57 +00:00
Johannes Schickel
dd1b43a5a9 HoF:
- More input handling (should be rather complete now, not finished but nearlly)
- Implemented the following opcodes:
  -> o2_trySceneChange 0x0d
  -> o2_setHandItem 0x2a
  -> o2_handItemSet 0x2c
  -> o2_setCharPalEntry 0x3c
  -> o2_drawSceneShape 0x3e
  -> o2_update 0x4b
  -> o2_fadeScenePal 0x4d
  -> o2_enterNewSceneEx 0x50
  -> o2_setZanthiaPos 0x56
  -> o2_runTemporaryScript 0x6e
  -> o2t_defineNewShape 0x00
  -> o2t_setCurrentFrame 0x01
  -> o2t_setShapeFlag 0x04

svn-id: r29178
2007-10-09 08:44:45 +00:00
Johannes Schickel
d73ffa3b03 HoF:
- make sure we really got uppercase filenames in FILEDATA.FDT
- (and silently removed a leftover debug oops)

svn-id: r29177
2007-10-09 05:42:52 +00:00
Johannes Schickel
3ecc0bfda7 HoF:
- now uses "FILEDATA.FDT" to detect what PAK files have to be loaded for ingame use

svn-id: r29176
2007-10-09 05:40:20 +00:00
Johannes Schickel
cf3fd283bb HoF:
- added support for dropping items into scenes
- added const to some static data
- implemented opcode 0x55 o2_setLayerFlag
- fixed a bug in Screen_v2::drawShape

svn-id: r29175
2007-10-09 04:47:41 +00:00
Johannes Schickel
5ad7870775 - little bit more input handling
- implemented item pickup

svn-id: r29160
2007-10-07 00:35:22 +00:00
Johannes Schickel
a03c829ace - added a new generic debugger command 'facings'
- added a few new kyra2 specific debugger commands

svn-id: r29094
2007-09-24 21:58:11 +00:00
Johannes Schickel
d65140d6b5 - reworked input handling
- implement changing movement destination while moving

svn-id: r29093
2007-09-24 20:26:27 +00:00
Johannes Schickel
287bf608d4 Added debugger support for kyra2.
svn-id: r29092
2007-09-24 20:02:08 +00:00
Johannes Schickel
41e4a7b156 Added command to enable screen debug functionallity. (instead of the old compile time enabling)
svn-id: r29078
2007-09-23 23:37:01 +00:00
Johannes Schickel
3c5d8c4031 Added debugger command to list the birthstone gems.
svn-id: r29077
2007-09-23 23:00:54 +00:00
Johannes Schickel
df827970a1 Fix for kyra3 crashes while playing WSA files.
svn-id: r29075
2007-09-23 22:43:46 +00:00
Johannes Schickel
ef986e2222 Init _screen for kyra3. Menu + Intro should be working again.
svn-id: r29074
2007-09-23 22:29:05 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +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
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
c3d3aebe87 Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
Johannes Schickel
c4aa4fe644 Fixed a little graphics glitch, where sometimes parts of the interface were cleared.
svn-id: r28932
2007-09-16 15:15:15 +00:00
Johannes Schickel
fd6ca3b7ac - added PC-98 platform entry
- added Kyrandia 1 PC-98 detection entries

svn-id: r28907
2007-09-15 14:53:21 +00:00
Johannes Schickel
318c8a1d47 Fix for bug #1784937 ("KYRA: Wrong path for Brandon in starting location").
svn-id: r28773
2007-08-31 13:11:26 +00:00
Johannes Schickel
9dba16022e Fixes end scene in Kyrandia 1 Macintosh.
svn-id: r28716
2007-08-25 08:19:54 +00:00
Johannes Schickel
50d0b8501f - reformatting AdvancedDetector engines (looks like what the gob engine uses now)
- add entry for Kyrandia 1 Mac

svn-id: r28715
2007-08-25 08:02:15 +00:00
Eugene Sandulenko
837381f1d4 Fix linking errors.
svn-id: r28587
2007-08-13 10:12:07 +00:00
Eugene Sandulenko
fb72a5539c (At last) switched Kyra detection to AdvancedDetector
svn-id: r28584
2007-08-13 09:00:52 +00:00
David Corrales
6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +00:00
Kari Salminen
44279df48e Fixes compilation error C2677: binary '&&' : no global operator found which takes type 'const Kyra::Opcode' (or there is no acceptable conversion) on Windows (VS2003), Xbox (VS2003) and Xbox 360 (VS2005).
For some reason the compilers didn't automatically use the operator bool() in the Kyra::Opcode so now doing it explicitly.
Thanks to Carch for reporting the compilation problems.

svn-id: r28447
2007-08-04 12:23:28 +00:00
Max Horn
50537d3ae0 Fixed some warnings
svn-id: r28308
2007-07-29 17:37:08 +00:00
Johannes Schickel
65abeadcf6 Fixed bug in Resource::getFileHandle.
svn-id: r28306
2007-07-29 17:21:21 +00:00
Filippos Karapetis
e5808ea2f2 Fixed some warnings
svn-id: r28304
2007-07-29 17:10:51 +00:00
Johannes Schickel
5354f3b1d0 - fixes some warnings
- enables Kyrandia 2 main menu again

svn-id: r28298
2007-07-29 16:35:15 +00:00
Johannes Schickel
1140fca82e - Kyrandia 1 works again
- Added timer class for timer handling
- Little bit more resturcturing
- A little bit (almost nothing but a start!) Kyrandia 2 support

svn-id: r28297
2007-07-29 16:33:11 +00:00
Johannes Schickel
076d6b1bc1 Restructure Kyrandia sourcecode (part 2, compiling works again)
svn-id: r28296
2007-07-29 16:31:29 +00:00
Johannes Schickel
bf5bb9280b - Restructure Kyrandia sourcecode (part 1, breaks compiling)
svn-id: r28294
2007-07-29 16:28:25 +00:00
Max Horn
11b2806741 Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway)
svn-id: r28110
2007-07-15 18:29:05 +00:00
Johannes Schickel
3e652273cc Some more fixes for Italian fan translation.
svn-id: r28055
2007-07-13 14:22:11 +00:00
Johannes Schickel
24344fe6ce Should fix gui strings in Italian fan translation.
svn-id: r28028
2007-07-11 13:25:21 +00:00
Johannes Schickel
728fe1ff86 Add md5sum for Italian fan translation of CD version (see fr#1727941 "KYRA: add Italian CD Version to kyra.dat").
svn-id: r28007
2007-07-10 13:25:54 +00:00
David Corrales
9bfe5d5354 Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
2007-07-08 16:58:54 +00:00