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
Eugene Sandulenko
0523480a70
Applied patch #1106775 "SAGA colours". This simplifies code considerably, and
...
moreover getBlack() didn't always work correctly for some reason. If IHNM
uses different colors we will switch to variables, but that could be addressed
later or at least when someone will start to work on it more time than now.
svn-id: r16647
2005-01-27 20:07:04 +00:00
Eugene Sandulenko
212306044d
Picky indentation. Main reason is to make version 1.100 :P.
...
svn-id: r16626
2005-01-23 21:55:13 +00:00
Andrew Kurushin
58ec0f0aad
problems solved:
...
- Allow more than one script work at once
- Proper implementation of address methods
some opcodes may be broken - cause work in progress
todo: rewrite opcodes with new address functionality
svn-id: r16604
2005-01-21 21:55:54 +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
0b4fd4adbf
- merged ActionMap and ObjectMap
...
- remove ActionMap.h & ActionMap.cpp
- ObjectMap names move to Scene::_sceneStrings as in original engine
- fix wrong StringsTable::stringsCount calculation
svn-id: r16592
2005-01-18 11:55:31 +00:00
Torbjörn Andersson
3211739728
Whitespace changes
...
svn-id: r16585
2005-01-17 14:57:28 +00:00
Torbjörn Andersson
f8865304bd
Initialize a few variables to fix Valgrind warnings. (I'm hoping they were
...
the reason the ITE intro crashed for me.) I still get read warnings in
Sprite::decodeRLEBuffer() though.
Also added a couple of hacks to keep the IHNM intro alive. Once we support
IHNM actors, we'll be able to remove them.
svn-id: r16579
2005-01-17 07:21:08 +00:00
Andrew Kurushin
9d1f2b670e
-small pathfind fix
...
-pathfind speedup
svn-id: r16576
2005-01-16 20:30:57 +00:00
Andrew Kurushin
f9b4b2cd99
actors entry list implemented
...
test: in ITE type "scene_change 130" at console
svn-id: r16574
2005-01-16 19:06:04 +00:00
Torbjörn Andersson
34565795e8
Slowed down actor movement a bit.
...
svn-id: r16571
2005-01-16 16:10:06 +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
244b227b19
- remove game.h & image.h
...
- all display information of current game goes to SagaEngine
- remove GameFontIds
- hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType()
svn-id: r16545
2005-01-11 21:10:36 +00:00
Andrew Kurushin
7a8e1c1efd
small fixes:
...
- actor barrier rects
- unreachable code
svn-id: r16510
2005-01-09 21:36:20 +00:00
Eugene Sandulenko
ce9f5bd29a
Added proper IHNM scripts lut and run scripts, though not much to see.
...
svn-id: r16509
2005-01-09 21:07:19 +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
bdb1b1eb1c
begining of verb implementation
...
introduced getObjectName
svn-id: r16491
2005-01-08 20:30:07 +00:00
Eugene Sandulenko
c316ab62cf
Eliminate _scene->getMode() and use scene flags instead
...
svn-id: r16482
2005-01-07 22:18:53 +00:00
Andrew Kurushin
12b5c5f855
fixing scene transition
...
svn-id: r16480
2005-01-07 21:24:26 +00:00
Eugene Sandulenko
0a89a28e45
o Add reported German IHNM and ITE
...
o Fix IHNM. It does not have actors now (all actors in IHNM are in resources,
not hardcoded)
svn-id: r16478
2005-01-07 15:49:47 +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
Andrew Kurushin
c9ce466720
some actor walking fixes
...
svn-id: r16445
2005-01-06 14:32:14 +00:00
Torbjörn Andersson
7da6fd64e0
Removed unused variable.
...
svn-id: r16439
2005-01-06 10:48:53 +00:00
Andrew Kurushin
c93c1cab8f
- path finding work in progress
...
svn-id: r16438
2005-01-05 19:03:49 +00:00
Torbjörn Andersson
c53c4f13d9
Indentation
...
svn-id: r16437
2005-01-05 07:19:58 +00:00
Andrew Kurushin
b514251efe
- some walking addition
...
svn-id: r16426
2005-01-04 18:54:29 +00:00
Andrew Kurushin
e733d05fef
- added setup of followers position at start of scene
...
svn-id: r16423
2005-01-04 16:10:43 +00:00
Eugene Sandulenko
63be4b6435
o Started putting all panels stuff in order. Still incomplete
...
o Proper detection for Mac Wyrmkeep CD
o Support for wyrmkeep logos
svn-id: r16415
2005-01-02 20:29:27 +00:00
Torbjörn Andersson
5f6108052e
Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,
...
and used ARRAYSIZE() instead in two cases.
svn-id: r16408
2005-01-02 14:52:11 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Eugene Sandulenko
75f31d28c9
o COde formatting
...
o Improved debug output
o Do not produce a lot of frameCount < 0 messages
o Okk now appears after first scene
o implemented yet another animation function
o Renamed SF_* -> sf* for functions I know are correct
svn-id: r16390
2004-12-30 18:45:48 +00:00
Torbjörn Andersson
8ce71ebb20
Fixed warning.
...
svn-id: r16386
2004-12-30 14:54:08 +00:00
Andrew Kurushin
5019da43bd
- some update
...
svn-id: r16377
2004-12-29 22:31:21 +00:00
Andrew Kurushin
cc2f79394b
- fixing compilation
...
svn-id: r16376
2004-12-29 22:00:47 +00:00
Andrew Kurushin
41a5251e28
- some work in progress
...
svn-id: r16375
2004-12-29 21:49:25 +00:00
Andrew Kurushin
6b4264d3a8
- fixed fingolfin notification
...
svn-id: r16369
2004-12-29 14:33:14 +00:00
Max Horn
44531e4aee
Fix warning. SAGA coders should fix this properly :-)
...
svn-id: r16367
2004-12-29 12:59:17 +00:00
Eugene Sandulenko
db249a8fe1
Fix regression with IHNM.
...
Add IHNM demo MD5s. demo does not work at all yet
svn-id: r16365
2004-12-28 23:18:11 +00:00
Andrew Kurushin
d6a4ffc2b0
- many actor walk related functions added
...
- implemented script functions for scriptDoors (except iso mode)
- introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset()
svn-id: r16363
2004-12-28 21:27:18 +00:00
Torbjörn Andersson
e582a244db
Removed unused variable.
...
svn-id: r16339
2004-12-27 16:46:24 +00:00
Andrew Kurushin
a66080b80a
- some "actors walk" work progression
...
svn-id: r16308
2004-12-25 11:17:03 +00:00