Commit Graph

86 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
8c708cce8e A few subtitle-related changes:
* Added speechCoords to the SpeechData structure so that talking actors
  don't drag their speech subtitles with them just because they're moving
  and talking at the same time. (Could this also be useful for non-actor
  speech?) If the actor has multiple strings, the coordinates are updated
  for each new string.

* Made speechColor and outlineCoor arrays so that simultaneous speech (i.e.
  where several actors are talking at the same time) multi-coloured. This
  is completely untested, though.

* Used getBlack() to get the black colour for the text outline. The
  original uses a constant, but we could always make getBlack() return
  that constant, if we want to.

svn-id: r16550
2005-01-13 07:47:04 +00:00
Andrew Kurushin
f3b8221dd6 rewritten sprite class
- sprites decoded on first load
- some speed optimization
- actors uses kExtended flag to append spriteList

svn-id: r16497
2005-01-09 15:07:49 +00:00
Andrew Kurushin
9c7a604c8b rename StringsList to StringsTable
svn-id: r16492
2005-01-08 21:06:06 +00:00
Andrew Kurushin
bdb1b1eb1c begining of verb implementation
introduced getObjectName

svn-id: r16491
2005-01-08 20:30:07 +00:00
Andrew Kurushin
37a858d6f5 - compiles debug path displaying only if ACTOR_DEBUG defined
- removed some temporary variable

svn-id: r16469
2005-01-06 23:02:53 +00:00
Andrew Kurushin
198d85eecd small fixes to previous
svn-id: r16465
2005-01-06 22:22:20 +00:00
Andrew Kurushin
59a93737db non tile mode full actor path finding - preview
svn-id: r16464
2005-01-06 21:57:10 +00:00
Andrew Kurushin
00c98c519e - implement faceTowards (script function & etc)
- implement debug actor walk path (press f6)

svn-id: r16456
2005-01-06 19:15:01 +00:00
Torbjörn Andersson
19f604b6ef Whitespace change.
svn-id: r16442
2005-01-06 12:42:05 +00:00
Andrew Kurushin
c93c1cab8f - path finding work in progress
svn-id: r16438
2005-01-05 19:03:49 +00:00