aboutsummaryrefslogtreecommitdiff
path: root/saga/actor.cpp
AgeCommit message (Collapse)Author
2005-05-08fixed sfSceneEq bugAndrew Kurushin
fixed load actors entrance removed some orphans svn-id: r17964
2005-04-28 save load preparetionAndrew Kurushin
svn-id: r17852
2005-04-27some load-save preparetionAndrew Kurushin
svn-id: r17836
2005-04-24fixed object frawingAndrew Kurushin
implemented sfGetObjImage, sfSetObjImage, sfSetObjName svn-id: r17789
2005-04-24I believe this is the correct fix for the sanctuary door bug.Torbjörn Andersson
svn-id: r17786
2005-04-22implemented inventoryAndrew Kurushin
todo: timeout catchup & capital 'U' & 'D' handling svn-id: r17748
2005-04-21Add not yet correctly working save/load. Use key F7 for savingEugene Sandulenko
and F8 for loading. Now works only within current scene and restores to entrance #0 which is wrong. svn-id: r17726
2005-04-20fixed actors bug after all demo passedAndrew Kurushin
svn-id: r17717
2005-04-19fixed speech lockAndrew Kurushin
svn-id: r17689
2005-04-18converse support improved (still has some bugs)Andrew Kurushin
fixed: now protagonist can't be target object fixed: statusbar color added: *mouseButtonPressed in SagaEngine svn-id: r17672
2005-04-18o Unstubbed sfPreDialog -- we have enough code for thatEugene Sandulenko
o Started to restore inventory functionality svn-id: r17666
2005-04-16fixed: sprite hittest, speech draws in screen boundsAndrew Kurushin
svn-id: r17635
2005-04-02some world map fix:Andrew Kurushin
-only riff shows as small point -change scene from world map todo: in original talk_to not shows for riff on world map svn-id: r17340
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