Commit Graph

96 Commits

Author SHA1 Message Date
Torbjörn Andersson
18d33dc078 Read IHNM actor and object strings from the resource file. (This does not
keep whichObject() from crashing, but I don't know why.)

svn-id: r18980
2005-10-08 22:09:21 +00:00
Andrew Kurushin
4e5cc8d080 fix #1269037 Rif walks off-screen when looking at screen at desk
svn-id: r18774
2005-09-04 17:40:16 +00:00
Eugene Sandulenko
cd5502916a o Fix bug #1258633 "ITE: Second Rif appears in wall of dog castle prison"
o Added debug output method to Location structure
o Fixed long-standing bug with save version being saved not in constant
  endianness

svn-id: r18740
2005-09-03 07:56:42 +00:00
Eugene Sandulenko
da25b8fd4f Improved debug output on stub script functions.
Impelmented sfSetSpeechBox, though it is not yet functional.

svn-id: r18651
2005-08-10 17:39:29 +00:00
Eugene Sandulenko
37f2a10ef6 Rename Actor class members to _members.
svn-id: r18645
2005-08-10 14:53:17 +00:00
Andrew Kurushin
d3b229b051 loadList -> loadActorList
some checkups

svn-id: r18625
2005-08-07 11:20:43 +00:00
Eugene Sandulenko
215a94ae30 WIP on metaResources. Most resources are load. Now we start correct
scene. But there are following problems:

  o Inclomplete support for actors speech, so opSpeak is skipped
  o For some weird reason actors do not appear at all. Actually code seems to
    be trying to read only protagonist frames
  o It crashes on reading sprites due to wrong input

svn-id: r18624
2005-08-07 00:00:43 +00:00
Andrew Kurushin
5956747e2e ihnm actors list WIP
svn-id: r18623
2005-08-06 18:28:43 +00:00
Eugene Sandulenko
6886f7865c o Fix uint -> int with scene numbers
o WIP for metaResources

svn-id: r18620
2005-08-06 14:26:59 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Andrew Kurushin
50c2d8954d finally Resource manager rewritten:
-adds patch file support
-global _vm removed

cleanups

svn-id: r18560
2005-07-19 19:05:52 +00:00
Torbjörn Andersson
51e76c703f Added the puzzle voices from the CD version. I don't know if this breaks
the floppy version, and it's still not flawless. But it's a start.

svn-id: r18544
2005-07-15 15:23:19 +00:00
Andrew Kurushin
528eedb2de font & text related changes:
-rewritten font loading
-actors box text output implemented
-many fixes
-implemented nonactors textoutput

svn-id: r18542
2005-07-14 17:46:21 +00:00
Andrew Kurushin
d944bd7793 implemented per scene actors clipping
so last sequence should look much better (not perfect)

svn-id: r18516
2005-07-08 16:56:03 +00:00
Lars Persson
d4716a1fb5 * Start of generic key configuration support for ScummVM
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping.  LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.

svn-id: r18498
2005-07-05 20:22:56 +00:00
Andrew Kurushin
13b1802a45 implemented sfPickClimbOutPos, sfTossRif
Komodo dragon now works

svn-id: r18480
2005-07-01 17:29:23 +00:00
Andrew Kurushin
0a29c11bc9 dragon wip1
svn-id: r18476
2005-06-29 20:00:44 +00:00
Andrew Kurushin
e0d9d4eb4a some renames
svn-id: r18397
2005-06-15 19:26:32 +00:00
Andrew Kurushin
802780619a fix Hooneyfoot bug
svn-id: r18379
2005-06-12 15:58:37 +00:00
Andrew Kurushin
6128bb05e3 implements sfScriptClimb, sfThrowActor, sfChangeActorScene
so tunnel may be passed now

svn-id: r18358
2005-06-05 16:53:53 +00:00
Andrew Kurushin
b58348494e fixed doorkeeper's nonstop speech
svn-id: r18327
2005-06-03 19:04:21 +00:00
Eugene Sandulenko
0eb4e94116 Almost complete implementation of Puzzle. Now it is possible to solve it
successfully.

Things to do:
 o non-actors speech, it just doesn't get displayed, though generated
 o support for CD voices

svn-id: r18301
2005-05-31 01:03:13 +00:00
Andrew Kurushin
82b86d495e saveload WIP
svn-id: r18232
2005-05-23 18:53:36 +00:00
Eugene Sandulenko
0ccb1b726b Plug in Puzzle. Now it consists mainly of stubs but neverthless lets skip
the Puzzle and continue game pretending like you completed the Puzzle.

svn-id: r18225
2005-05-23 02:23:34 +00:00
Eugene Sandulenko
cf9049811e Implement sfSimulSpeech2 which is used in lodge when talking to Sakka.
Fixed sfSimulSpeech(), so it plays voices with CD version.

svn-id: r18212
2005-05-22 01:20:47 +00:00
Andrew Kurushin
284ef431e1 fixed loadsave item resource id
partialy fixed protect rat

svn-id: r18174
2005-05-18 18:28:10 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Andrew Kurushin
a81b093e65 fixed sfSceneEq bug
fixed load actors entrance
removed some orphans

svn-id: r17964
2005-05-08 14:04:06 +00:00
Andrew Kurushin
3b1f8da4be save load preparetion
svn-id: r17852
2005-04-28 17:19:43 +00:00
Andrew Kurushin
2c01219791 some load-save preparetion
svn-id: r17836
2005-04-27 11:51:11 +00:00
Andrew Kurushin
cdede6caa4 implemented inventory
todo: timeout catchup & capital 'U' & 'D' handling

svn-id: r17748
2005-04-22 14:11:04 +00:00
Eugene Sandulenko
283a9f35ac Add not yet correctly working save/load. Use key F7 for saving
and F8 for loading. Now works only within current scene and restores
to entrance #0 which is wrong.

svn-id: r17726
2005-04-21 01:30:07 +00:00
Andrew Kurushin
d9bb4aae1d fixed speech lock
svn-id: r17689
2005-04-19 11:07:06 +00:00
Andrew Kurushin
d52032c75c converse support improved (still has some bugs)
fixed: now protagonist can't be target object
fixed: statusbar color
added: *mouseButtonPressed in SagaEngine

svn-id: r17672
2005-04-18 20:03:14 +00:00
Eugene Sandulenko
769b2fed46 o Unstubbed sfPreDialog -- we have enough code for that
o Started to restore inventory functionality

svn-id: r17666
2005-04-18 10:26:43 +00:00
Andrew Kurushin
3025db0d07 - changescene on fair for tents
- some memory deallocation fixup

todo: fix follower stuckiness in tents

svn-id: r17180
2005-03-18 17:11:37 +00:00
Andrew Kurushin
7e256531fd fixed wrong tile drawing above actors
svn-id: r17129
2005-03-13 17:43:50 +00:00
Andrew Kurushin
343d59c9d4 implemented iso pathfinding
glitches: some tiles draws above figures

svn-id: r16935
2005-02-26 17:37:16 +00:00
Travis Howell
ca660a3512 Compile fix from wjp
svn-id: r16933
2005-02-26 12:12:15 +00:00
Andrew Kurushin
280003edee iso pathfining work in progress:
- all figures now stands in right way on iso scene startup

svn-id: r16931
2005-02-26 11:44:30 +00:00
Andrew Kurushin
bbbd3b5fbf iso mode drawing work in progress
svn-id: r16802
2005-02-18 00:00:00 +00:00
Andrew Kurushin
ea78766c46 first step in ISO mode implementation - trying to draw iso scene
svn-id: r16763
2005-02-09 20:30:45 +00:00
Eugene Sandulenko
ff8094aad5 Combine actordata.cpp and objectdata.cpp into itedata.cpp. These are
ITE specific and from other hand IHNM has these data in resources.

svn-id: r16662
2005-01-28 12:54:09 +00:00
Andrew Kurushin
9353d54f95 implemented Sprite::hitTest
Actors & Objects can be hited

svn-id: r16596
2005-01-18 23:15:41 +00:00
Andrew Kurushin
0ccf59faee partly implemented game objects
svn-id: r16595
2005-01-18 21:13:44 +00:00
Andrew Kurushin
b4b2e52df7 another step in verb implementation:
- objectMap responds to mouse move  (but respond script not run well ?)

loadStrings add some special count check
- so all other LUT based resource should implement this technique

svn-id: r16594
2005-01-18 15:01:21 +00:00
Andrew Kurushin
9d1f2b670e -small pathfind fix
-pathfind speedup

svn-id: r16576
2005-01-16 20:30:57 +00:00
Andrew Kurushin
fe424ed5ae - added partial scene change by actor's walking (todo:entrance should be supported)
svn-id: r16568
2005-01-15 23:46:43 +00:00
Andrew Kurushin
2f20dd57c2 some work in progress on verb stuff:
- many structers and fields renamed to proper names
- added missing functions

svn-id: r16562
2005-01-15 20:12:49 +00:00