aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/actor.h
AgeCommit message (Collapse)Author
2014-10-27SAGA: Remove the buggy actor swapping fixup code for IHNMFilippos Karapetis
This was a hack that was implemented while IHNM was being developed. That code should no longer be needed. If this issue does occur again, the actual cause should be investigated, instead of hiding it with workarounds. The code was buggy anyway, as _currentProtag was not initialized properly
2014-02-18SAGA: Make GPL headers consistent in themselves.Johannes Schickel
2011-07-10SAGA: Use #error instead of a deliberate syntax error.eriktorbjorn
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-01-31SAGA: Simplified loadActorResources() and removed the unused _disabled fieldFilippos Karapetis
svn-id: r55687
2010-11-18ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; ↵Max Horn
avoid using 'using' svn-id: r54323
2010-10-24SAGA: replace Actor::_actors and _objs malloc base arrays with Common::ArrayAndrew Kurushin
svn-id: r53766
2010-10-22SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, ↵Andrew Kurushin
Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation add ByteArray type fix debug Tile Hittest frame drawing debug 0x%x => 0x%X svn-id: r53719
2010-10-19SAGA: SAGA: replace SpriteList "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53628
2010-10-19SAGA: replace Actors "::realloc" with Common::ArrayAndrew Kurushin
svn-id: r53627
2010-10-12JANITORIAL: Cleanup (mostly whitespace)Torbjörn Andersson
svn-id: r53161
2009-08-18Applied agent-q's patch to the SAGA pathfinding code for all platforms - x ↵Filippos Karapetis
and y should not ever be greater than 640 and 480 respectively, so it looks safe enough to be applied svn-id: r43500
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-01SAGA: move Actor::_pathList into a Common::Array<Point>Andrew Kurushin
svn-id: r40232
2009-05-01SAGA: fix SAGA_DEBUG&ACTOR_DEBUG enabled compilation; move ↵Andrew Kurushin
Actor::_debugPoints into a Common::Array<DebugPoint> svn-id: r40227
2009-04-28SAGA: turned Actor::_pathNodeList into a Common::Array<PathNode>; likewise ↵Max Horn
for Actor::_newPathNodeList which also turned from a member var into a function local var svn-id: r40180
2009-04-28SAGA: Moved some code from actor.h to actor.cpp; replaced ↵Max Horn
Actor::_pathDirectionList and related members by a Common::Array<PathDirectionData> inside Actor::fillPathArray() svn-id: r40179
2009-04-11Got rid of SortedListFilippos Karapetis
svn-id: r39928
2008-12-23Enumerated the different actor directions and fixed spellingFilippos Karapetis
svn-id: r35496
2008-12-04Disabled all the test functions in SAGA. They can be enabled again by ↵Filippos Karapetis
defining SAGA_DEBUG to 1 in saga.h. This cuts down on the engine size a bit, for devices with little memory (e.g. the DS) svn-id: r35238
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-27Possible fix for the errors under older versions of GCC (e.g. under BeOS)Filippos Karapetis
svn-id: r30661
2008-01-27Disabled a debug function which throws warnings in older versions of GCC ↵Filippos Karapetis
(e.g. under BeOS) svn-id: r30655
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2007-09-23Moved MemoryStreamEndian from Saga to Common.Eugene Sandulenko
svn-id: r29038
2007-09-15Slight cleanup of the actor class: moved all of the actor walk code in a new ↵Filippos Karapetis
file and removed many unneeded includes svn-id: r28908
2007-08-25Removed the showactors flag and substituted it with RF_DISABLE_ACTORSFilippos Karapetis
svn-id: r28736
2007-07-31Cleanup: removed dead code, fixed some comments and did some layout changesFilippos Karapetis
svn-id: r28362
2007-07-13Oops, deactivated the actor debug flag again, which was incorrectly ↵Filippos Karapetis
activated in commit #28058 svn-id: r28059
2007-07-13Rewrote and greatly simplified the SAGA detector, removing many duplicate ↵Filippos Karapetis
and unneeded entries - Digital music will now always be enabled for all versions if the digital music file is present. The duplicate game entries with and without this file have been removed - Changed the way compressed sound files are detected. All the duplicate compressed sound entries have been removed - The Wyrmkeep Windows CD version is now properly distinguished from the DOS CD version - Unified all the different patch file entries (apart from the Mac patch file entries, which are of a different type). If a patch file is not found, it's ignored svn-id: r28058
2007-07-07When loading a scene, start showing actors only after the scene background ↵Filippos Karapetis
has been shown. This prevents some cases where some actors are shown prematurely before the next scene is loaded (e.g. in IHNM, when entering a chapter, after AM finishes his speech) svn-id: r27946
2007-06-19More updates for the save/load system in IHNMFilippos Karapetis
svn-id: r27540
2007-06-15Forced text is now handled correctly. It's now possible to interact with the ↵Filippos Karapetis
video screen in the elder's cave svn-id: r27410
2007-06-09fix IHNM protagonist state loading routine. now Ellen's animations are ↵Andrew Kurushin
showing well svn-id: r27263
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-29Corrected actor walk speed in IHNMFilippos Karapetis
svn-id: r27003
2007-05-09speedup SAGA::Actor::pathLine & SAGA::Actor::scanPathLine calculationAndrew Kurushin
svn-id: r26791
2007-05-08small pathfind speedup: validate coords only with debug definitionAndrew Kurushin
svn-id: r26788
2006-07-23Changed SAGA_ACTOR_H__ to SAGA_ACTOR_H etc for consistency.Torbjörn Andersson
svn-id: r23583
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582