aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.cpp
AgeCommit message (Collapse)Author
2005-01-13A few subtitle-related changes:Torbjörn Andersson
* 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-11- remove game.h & image.hAndrew Kurushin
- 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-09small fixes:Andrew Kurushin
- actor barrier rects - unreachable code svn-id: r16510
2005-01-09Added proper IHNM scripts lut and run scripts, though not much to see.Eugene Sandulenko
svn-id: r16509
2005-01-09rewritten sprite classAndrew Kurushin
- sprites decoded on first load - some speed optimization - actors uses kExtended flag to append spriteList svn-id: r16497
2005-01-08begining of verb implementationAndrew Kurushin
introduced getObjectName svn-id: r16491
2005-01-07Eliminate _scene->getMode() and use scene flags insteadEugene Sandulenko
svn-id: r16482
2005-01-07fixing scene transitionAndrew Kurushin
svn-id: r16480
2005-01-07o Add reported German IHNM and ITEEugene Sandulenko
o Fix IHNM. It does not have actors now (all actors in IHNM are in resources, not hardcoded) svn-id: r16478
2005-01-06- compiles debug path displaying only if ACTOR_DEBUG definedAndrew Kurushin
- removed some temporary variable svn-id: r16469
2005-01-06small fixes to previousAndrew Kurushin
svn-id: r16465
2005-01-06non tile mode full actor path finding - previewAndrew Kurushin
svn-id: r16464
2005-01-06- implement faceTowards (script function & etc)Andrew Kurushin
- implement debug actor walk path (press f6) svn-id: r16456
2005-01-06some actor walking fixesAndrew Kurushin
svn-id: r16445
2005-01-06Removed unused variable.Torbjörn Andersson
svn-id: r16439
2005-01-05- path finding work in progressAndrew Kurushin
svn-id: r16438
2005-01-05IndentationTorbjörn Andersson
svn-id: r16437
2005-01-04- some walking additionAndrew Kurushin
svn-id: r16426
2005-01-04- added setup of followers position at start of sceneAndrew Kurushin
svn-id: r16423
2005-01-02o Started putting all panels stuff in order. Still incompleteEugene Sandulenko
o Proper detection for Mac Wyrmkeep CD o Support for wyrmkeep logos svn-id: r16415
2005-01-02Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,Torbjörn Andersson
and used ARRAYSIZE() instead in two cases. svn-id: r16408
2005-01-01oops, correct copyright stringMax Horn
svn-id: r16399
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-30o COde formattingEugene Sandulenko
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-30Fixed warning.Torbjörn Andersson
svn-id: r16386
2004-12-29- some updateAndrew Kurushin
svn-id: r16377
2004-12-29- fixing compilationAndrew Kurushin
svn-id: r16376
2004-12-29- some work in progressAndrew Kurushin
svn-id: r16375
2004-12-29- fixed fingolfin notificationAndrew Kurushin
svn-id: r16369
2004-12-29Fix warning. SAGA coders should fix this properly :-)Max Horn
svn-id: r16367
2004-12-28Fix regression with IHNM.Eugene Sandulenko
Add IHNM demo MD5s. demo does not work at all yet svn-id: r16365
2004-12-28- many actor walk related functions addedAndrew Kurushin
- implemented script functions for scriptDoors (except iso mode) - introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset() svn-id: r16363
2004-12-27Removed unused variable.Torbjörn Andersson
svn-id: r16339
2004-12-25- some "actors walk" work progressionAndrew Kurushin
svn-id: r16308
2004-12-24- compile error fixAndrew Kurushin
svn-id: r16300
2004-12-24- remove old stuffAndrew Kurushin
- work on "walking" in progress svn-id: r16298
2004-12-24- fixed actors state after end of speechAndrew Kurushin
svn-id: r16297
2004-12-24- resolved protagonist swapping problemAndrew Kurushin
svn-id: r16296
2004-12-24-fixing second speech line cutAndrew Kurushin
svn-id: r16295
2004-12-24Add FIXME to newly added actor animation codeEugene Sandulenko
svn-id: r16293
2004-12-24- aninamation cycle now approach to originalAndrew Kurushin
svn-id: r16290
2004-12-24- fix of 8 to 4 direction conversionAndrew Kurushin
- added sfSetActorState function svn-id: r16288
2004-12-22- rewriten actors action handling (now uses all original flags etc)Andrew Kurushin
- added some script functions (swapactors...) - many things were renamed according scummvm covention - resource id definintions should begin with "RID_" prefix - intro temporary broken - work in progress todo: - walking hanling also should be rewriten - timings for speech and actor cycling should be more accurate svn-id: r16263
2004-12-22o Moved GAME_* to SagaEngine objectEugene Sandulenko
o Renamed GAME_ITE_* to GID_ITE_* o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM svn-id: r16258
2004-12-21- some fixes for previous commit (incrementation of sampleResourceId)Andrew Kurushin
- previous commit also introduce sound speech of first scene in ITE DOS version svn-id: r16240
2004-12-21- rewritten actors speech engine :Andrew Kurushin
1) there are three types of speech: one acor, multiple actor, non actor 2) slow speech implemented 3) uses native engine flags (async,noanimate...) instead of semaphores - proper timings implemented svn-id: r16237
2004-12-19- implemented perspective actors calculationAndrew Kurushin
TODO: decodeRLESprite must do scale svn-id: r16135
2004-12-18now actors will not stuck in the middle of dialogAndrew Kurushin
svn-id: r16123
2004-12-18- updating actors state so they can be clipped on drawing (intro now runs ↵Andrew Kurushin
without artefact) - order list now uses only in draw section - drawList rename to drawActors svn-id: r16122
2004-12-18sprite loading fix in win demoAndrew Kurushin
svn-id: r16119