aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.cpp
AgeCommit message (Collapse)Author
2005-03-18- changescene on fair for tentsAndrew Kurushin
- some memory deallocation fixup todo: fix follower stuckiness in tents svn-id: r17180
2005-03-13fixed wrong tile drawing above actorsAndrew Kurushin
svn-id: r17129
2005-03-12rand() -> _rnd.getRandomNumber() in SAGA code.Eugene Sandulenko
svn-id: r17108
2005-03-09Indentation.Torbjörn Andersson
svn-id: r17048
2005-02-26fix iso mode object draw orderAndrew Kurushin
svn-id: r16936
2005-02-26implemented iso pathfindingAndrew Kurushin
glitches: some tiles draws above figures svn-id: r16935
2005-02-26iso pathfining work in progress:Andrew Kurushin
- all figures now stands in right way on iso scene startup svn-id: r16931
2005-02-18iso mode drawing work in progressAndrew Kurushin
svn-id: r16802
2005-02-09first step in ISO mode implementation - trying to draw iso sceneAndrew Kurushin
svn-id: r16763
2005-01-28Combine actordata.cpp and objectdata.cpp into itedata.cpp. These areEugene Sandulenko
ITE specific and from other hand IHNM has these data in resources. svn-id: r16662
2005-01-27Applied patch #1106775 "SAGA colours". This simplifies code considerably, andEugene Sandulenko
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-23Picky indentation. Main reason is to make version 1.100 :P.Eugene Sandulenko
svn-id: r16626
2005-01-21problems solved:Andrew Kurushin
- 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-18implemented Sprite::hitTestAndrew Kurushin
Actors & Objects can be hited svn-id: r16596
2005-01-18partly implemented game objectsAndrew Kurushin
svn-id: r16595
2005-01-18- merged ActionMap and ObjectMapAndrew Kurushin
- 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-17Whitespace changesTorbjörn Andersson
svn-id: r16585
2005-01-17Initialize a few variables to fix Valgrind warnings. (I'm hoping they wereTorbjörn Andersson
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-16-small pathfind fixAndrew Kurushin
-pathfind speedup svn-id: r16576
2005-01-16actors entry list implementedAndrew Kurushin
test: in ITE type "scene_change 130" at console svn-id: r16574
2005-01-16Slowed down actor movement a bit.Torbjörn Andersson
svn-id: r16571
2005-01-15- added partial scene change by actor's walking (todo:entrance should be ↵Andrew Kurushin
supported) svn-id: r16568
2005-01-15some work in progress on verb stuff:Andrew Kurushin
- many structers and fields renamed to proper names - added missing functions svn-id: r16562
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