23018 Commits

Author SHA1 Message Date
Neil Millstone
4deb3f1b4f Fixed a huge number of compile errors, moved over features from 0.10.0 branch.
svn-id: r29203
2007-10-13 15:40:11 +00:00
Paweł Kołodziejski
0b1933a51d few more fixes
svn-id: r29202
2007-10-13 12:42:32 +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
Max Horn
efcc80dffa Fix warning
svn-id: r29197
2007-10-12 21:57:56 +00:00
Filippos Karapetis
85f157e940 Updated the MSVC8 kyra project file for commit #29187
svn-id: r29196
2007-10-12 19:59:11 +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
Paweł Kołodziejski
dd661390ba disable spanish version for now
svn-id: r29185
2007-10-11 18:24:21 +00:00
Paweł Kołodziejski
b44531dae6 fixed braces and changed vez() all references to int
svn-id: r29184
2007-10-11 07:44:22 +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
Paweł Kołodziejski
8db35c8a62 fixes after merges
svn-id: r29174
2007-10-08 09:37:57 +00:00
Paweł Kołodziejski
521f0a2987 fixes after merges, more will come
svn-id: r29173
2007-10-07 22:00:43 +00:00
David Corrales
9cdb195df7 Fixed a missing return value in the lastPathComponent function. Thanks to Raziel_AOne :)
svn-id: r29172
2007-10-07 20:42:46 +00:00
Nicola Mettifogo
8a73ce38bb Added beep sound to Nippon Safes for Amiga.
svn-id: r29171
2007-10-07 19:18:41 +00:00
Max Horn
205b65ba11 cleanup
svn-id: r29170
2007-10-07 12:35:30 +00:00
Paul Gilbert
8ec0e447c2 Added support for setting animations by their index rather than their offset, allowing for easier multi-language support. Also fixed translation of inventory window
svn-id: r29169
2007-10-07 11:12:46 +00:00
Paul Gilbert
d817f530e8 Changed string constant name to avoid clashing with inventory display constants
svn-id: r29168
2007-10-07 11:11:06 +00:00
Paul Gilbert
09d706481b Added loading of new give talk Id list
svn-id: r29167
2007-10-07 11:09:20 +00:00
Paul Gilbert
8ff665c58f Replaced incorrect key constants being used for fight commands
svn-id: r29166
2007-10-07 11:07:45 +00:00
Paul Gilbert
d0d454c5da Added new string Ids used for inventory display
svn-id: r29165
2007-10-07 11:06:48 +00:00
Paul Gilbert
199e60b9a0 Finally tracked down a bug that sometimes caused word wrapping to fail
svn-id: r29164
2007-10-07 11:05:09 +00:00
Paul Gilbert
fbd356f98e Changed predefined records to be at the start of the animation list so indexes can be hardcoded, added a dynamic list of Give talk Id responses, and corrected the fight segment data
svn-id: r29162
2007-10-07 11:02:25 +00:00
Nicola Mettifogo
6351ed5379 Fixed bug #1808529. One must use memmove() when copying overlapping blocks of memory (blush).
svn-id: r29161
2007-10-07 07:11:09 +00:00
Johannes Schickel
5ad7870775 - little bit more input handling
- implemented item pickup

svn-id: r29160
2007-10-07 00:35:22 +00:00
David Corrales
aba30d7ea8 Commit of patch #1804861. It implements a static lastPathComponent() function in each backend, used to extract the last path component of a given path, returned by getName().
svn-id: r29159
2007-10-07 00:28:38 +00:00
Nicola Mettifogo
0fab64817f Fixed bug #1808615. An unexpected (but harmless) 'ENDCOMMANDS' statement was spotted in the game scripts by the new stricter parser.
svn-id: r29158
2007-10-06 21:15:53 +00:00
Nicola Mettifogo
9280c25a36 Fixed bug #1808620. The original Inventory::addItem routine relied on a trick that went undetected until r29060 actually broke it. Not all regression is bad, after all.
svn-id: r29157
2007-10-06 20:56:17 +00:00
Filippos Karapetis
abed92e2fa Removed the MD5 check of sfx.res for the English version of IHNM, since there are two English versions of the game with a different sfx.res file. Closes bug #1800226 - "IHNM: unsupported version"
svn-id: r29156
2007-10-06 18:53:47 +00:00
Nicola Mettifogo
439c6e1d53 Fixed bug #1803287. The inner block was changing the test condition causing unwanted behavior.
svn-id: r29155
2007-10-04 16:19:42 +00:00
Max Horn
51f082dcde Patch #1805208: move matchString to Common::Util
svn-id: r29154
2007-10-04 08:04:18 +00:00
Marcus Comstedt
9e8167b10c * Added removeSavefile()
* New style listSavefiles() using a glob

svn-id: r29153
2007-10-03 22:04:36 +00:00
Marcus Comstedt
151e0cfa05 Provide dummy remove() function for DC...
svn-id: r29152
2007-10-03 21:50:20 +00:00
Filippos Karapetis
8ced5d58df Show the cursor when opening the options screen. Also, fixed a regression with some strings in the game interface
svn-id: r29151
2007-09-30 14:46:49 +00:00
Torbjörn Andersson
6cd700f776 Of course, that also means that 'slot' should be 3 characters, not 2.
svn-id: r29150
2007-09-30 14:32:21 +00:00
Torbjörn Andersson
44216e2837 Terminate the string used to hold the save slot number, or strange things may
happen. (In my case, it was looking for slot 10, 20, 30, ... instead of the
correct 1, 2, 3...)

svn-id: r29149
2007-09-30 14:31:47 +00:00
Filippos Karapetis
1717ab8ccd Some updates to the hard coded strings of the Spanish version of IHNM (thanks jvprat)
svn-id: r29148
2007-09-30 14:24:06 +00:00
Filippos Karapetis
0175cf13b2 Fixed the placement of the save game reminder icon in IHNM
svn-id: r29147
2007-09-30 13:47:09 +00:00
Filippos Karapetis
93a31a7b6b Removed all the unneeded hard coded strings from the Italian fan translation of IHNM, added the hard coded strings of the Spanish version of IHNM
svn-id: r29146
2007-09-30 13:37:05 +00:00
Filippos Karapetis
f002fcf98a IHNM does not have excuse texts
svn-id: r29145
2007-09-30 13:19:31 +00:00
Paul Gilbert
cb2f6ce092 Fixed action lists to sort correctly for non-English languages
svn-id: r29144
2007-09-30 12:35:37 +00:00
Max Horn
23c38f0b62 Mention DMedia MIDI driver in NEWS
svn-id: r29143
2007-09-30 12:13:30 +00:00