Commit Graph

23202 Commits

Author SHA1 Message Date
Nicola Mettifogo
78bc71e6f5 Cleanup.
svn-id: r29238
2007-10-21 13:09:53 +00:00
Paul Gilbert
f1958a2218 Removed deprecated YNKeyStruct structure
svn-id: r29237
2007-10-21 05:13:44 +00:00
Paul Gilbert
1aab730e6b Finally got the room layering to work correctly
svn-id: r29236
2007-10-20 22:35:23 +00:00
Sven Hesse
dd5be6826a Fixing the Gob3 CD crash on ARM systems/ports
svn-id: r29235
2007-10-19 23:00:43 +00:00
Oystein Eftevaag
41d67964b1 Committing [ 1816080 ] KYRA: Intro Patch for HoF, from Florian, with some cleanup and a minor fix
svn-id: r29233
2007-10-19 22:16:00 +00:00
Nicola Mettifogo
359efa4f28 Fixed formatting of debug command output.
svn-id: r29232
2007-10-19 21:26:35 +00:00
Nicola Mettifogo
e45f4c25af Fixed loadgame bug: old game state wasn't fully wiped out before loading, thus creating bogus game states in memory. As a result, most savefiles should be ditched. A savefile is sure to be safe if it was *never* loaded from in-game, but nothing can be said in the opposite case.
svn-id: r29231
2007-10-19 21:26:05 +00:00
Nicola Mettifogo
ef14311c99 Added new debugger command 'localflags' and changed Table object to provide debug info for it.
svn-id: r29230
2007-10-19 20:27:10 +00:00
Joost Peters
281767f19e fix compile after recent fs code rename
svn-id: r29229
2007-10-17 19:45:23 +00:00
David Corrales
ec38b85a44 Committing the set of patches #1814434, thanks to jvprat. They improve the documentation and parameter naming of the lookFile methods inside Common::FS.
svn-id: r29228
2007-10-16 20:24:39 +00:00
David Corrales
6bf925cb6e Make the exists() method take into account default directories. This makes the method more robust, since previously it checked absolute paths only.
svn-id: r29227
2007-10-16 20:03:23 +00:00
Nicola Mettifogo
485b70b2b0 * Changed IFF/8SVX audio to use signed data (int8), and modified Parallaction accordingly.
* Implemented proper beep in Parallaction for Amiga.

svn-id: r29226
2007-10-15 20:20:50 +00:00
Nicola Mettifogo
db19310ad1 Cut down screen updates when palette is not animated: should lead to performance increase on systems with low resources
svn-id: r29225
2007-10-15 19:00:46 +00:00
Nicola Mettifogo
652866117a Fixed bug #1814061. Special effect routine was overflowing palette size.
svn-id: r29224
2007-10-15 18:59:32 +00:00
Nicola Mettifogo
913ef56024 Now correctly disposing of audio data only when it was allocated on the heap, thus fixing bug #1813367.
svn-id: r29223
2007-10-15 09:21:13 +00:00
Nicola Mettifogo
f9b8c8a0d4 Turned the 'unexpected keyword' warning into a debug message and added a nifty line number to aid debugging.
svn-id: r29222
2007-10-14 21:35:02 +00:00
Nicola Mettifogo
963e63d985 Integrated low-level routines into the Script class, turning it into a self-contained parser for location, program and table scripts.
svn-id: r29221
2007-10-14 21:32:43 +00:00
Nicola Mettifogo
652069f1a6 Made location parser more fault-tolerant, in that it prints out a warning message instead of exiting ScummVM when it encounters an unexpected keywords in the scripts.
svn-id: r29220
2007-10-14 20:59:46 +00:00
Oystein Eftevaag
0e693cbbfb Fixed a struct size issue
svn-id: r29219
2007-10-14 18:44:50 +00:00
Oystein Eftevaag
979121ae12 A change got lost while resolving a conflict
svn-id: r29218
2007-10-14 17:00:44 +00:00
Oystein Eftevaag
af3b84c297 TIM file loading/unloading for HoF
svn-id: r29217
2007-10-14 16:58:11 +00:00
Sven Hesse
a84c9504e9 Fixing compilation
svn-id: r29216
2007-10-13 23:51:08 +00:00
Filippos Karapetis
a08b6606a6 Add a debug console in Winnie (patch by clone2727)
svn-id: r29215
2007-10-13 23:48:59 +00:00
Paweł Kołodziejski
86b6429e97 clear ald after release
svn-id: r29214
2007-10-13 21:54:37 +00:00
Nicola Mettifogo
1c52ea0562 Decoupled password request from actual rendering of the dialogue screen, thus making it possible to fix bug #1765300. This bug was present in the original game, causing garbled text to appear when asking for password (only in the English version).
svn-id: r29213
2007-10-13 21:49:38 +00:00
Paweł Kołodziejski
16175cf368 fixed walking bug in execute wrong animation function and fix previous warning cast types
svn-id: r29212
2007-10-13 21:20:24 +00:00
Johannes Schickel
706888358d HoF:
- implemented opcodes
  -> o2_checkForItem 32
  -> o2_countItemInInventory 37
  -> o2_setMousePos 47
  -> o2_countItemInstances 136

svn-id: r29211
2007-10-13 19:17:58 +00:00
Johannes Schickel
8d678b8705 HoF:
- implemented opcode
  -> o2_setCharacterPos 1

svn-id: r29210
2007-10-13 18:53:49 +00:00
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
Neil Millstone
5ddb1b0057 Added extra includes for the DS port now that stdafx.h is no longer included
svn-id: r29205
2007-10-13 15:44:56 +00:00
Neil Millstone
688f074ea5 Fixed a load of compile errors, reverted additions to lastPathComponent() which were clearly in error.
svn-id: r29204
2007-10-13 15:41:34 +00:00
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