Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
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-06-20 00:59:48 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Filippos Karapetis
4a07ae6829
SAGA: Simplified loadActorResources() and removed the unused _disabled field
...
svn-id: r55687
2011-01-31 16:11:49 +00:00
Max Horn
a008d14055
ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
...
svn-id: r54323
2010-11-18 16:38:03 +00:00
Andrew Kurushin
fa7e8a8eb3
SAGA: replace Actor::_actors and _objs malloc base arrays with Common::Array
...
svn-id: r53766
2010-10-24 17:42:45 +00:00
Andrew Kurushin
f24394b85f
SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, 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-22 23:13:17 +00:00
Andrew Kurushin
e4029f6f0e
SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
...
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
bfb0986cd4
SAGA: replace Actors "::realloc" with Common::Array
...
svn-id: r53627
2010-10-19 21:40:24 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Filippos Karapetis
c9402c5559
Applied agent-q's patch to the SAGA pathfinding code for all platforms - x and y should not ever be greater than 640 and 480 respectively, so it looks safe enough to be applied
...
svn-id: r43500
2009-08-18 06:43:06 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Andrew Kurushin
52ccf2af94
SAGA: move Actor::_pathList into a Common::Array<Point>
...
svn-id: r40232
2009-05-01 15:32:15 +00:00
Andrew Kurushin
600a471122
SAGA: fix SAGA_DEBUG&ACTOR_DEBUG enabled compilation; move Actor::_debugPoints into a Common::Array<DebugPoint>
...
svn-id: r40227
2009-05-01 10:37:41 +00:00
Max Horn
a4cb413d70
SAGA: turned Actor::_pathNodeList into a Common::Array<PathNode>; likewise for Actor::_newPathNodeList which also turned from a member var into a function local var
...
svn-id: r40180
2009-04-28 12:33:59 +00:00
Max Horn
7cfa3bb6d9
SAGA: Moved some code from actor.h to actor.cpp; replaced Actor::_pathDirectionList and related members by a Common::Array<PathDirectionData> inside Actor::fillPathArray()
...
svn-id: r40179
2009-04-28 12:33:38 +00:00
Filippos Karapetis
7287457672
Got rid of SortedList
...
svn-id: r39928
2009-04-11 09:54:55 +00:00
Filippos Karapetis
350943f291
Enumerated the different actor directions and fixed spelling
...
svn-id: r35496
2008-12-23 15:26:55 +00:00
Filippos Karapetis
b4cc40166e
Disabled all the test functions in SAGA. They can be enabled again by 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-12-04 18:38:02 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Filippos Karapetis
278857698d
Possible fix for the errors under older versions of GCC (e.g. under BeOS)
...
svn-id: r30661
2008-01-27 16:52:50 +00:00
Filippos Karapetis
e431f827ec
Disabled a debug function which throws warnings in older versions of GCC (e.g. under BeOS)
...
svn-id: r30655
2008-01-27 15:54:16 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Eugene Sandulenko
9a9e9d21a8
Moved MemoryStreamEndian from Saga to Common.
...
svn-id: r29038
2007-09-23 09:59:10 +00:00
Filippos Karapetis
22ce3aa9e1
Slight cleanup of the actor class: moved all of the actor walk code in a new file and removed many unneeded includes
...
svn-id: r28908
2007-09-15 15:02:40 +00:00
Filippos Karapetis
7534944c83
Removed the showactors flag and substituted it with RF_DISABLE_ACTORS
...
svn-id: r28736
2007-08-25 23:19:55 +00:00
Filippos Karapetis
cd20f09a9d
Cleanup: removed dead code, fixed some comments and did some layout changes
...
svn-id: r28362
2007-07-31 18:08:40 +00:00
Filippos Karapetis
355ac5db2f
Oops, deactivated the actor debug flag again, which was incorrectly activated in commit #28058
...
svn-id: r28059
2007-07-13 16:45:11 +00:00
Filippos Karapetis
eedec897f8
Rewrote and greatly simplified the SAGA detector, removing many duplicate 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-13 16:37:37 +00:00
Filippos Karapetis
737216e52e
When loading a scene, start showing actors only after the scene background 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-07-07 00:36:10 +00:00
Filippos Karapetis
153f325004
More updates for the save/load system in IHNM
...
svn-id: r27540
2007-06-19 01:37:48 +00:00
Filippos Karapetis
4f8f854ee6
Forced text is now handled correctly. It's now possible to interact with the video screen in the elder's cave
...
svn-id: r27410
2007-06-15 03:58:21 +00:00
Andrew Kurushin
86f6aaf206
fix IHNM protagonist state loading routine. now Ellen's animations are showing well
...
svn-id: r27263
2007-06-09 22:45:03 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Filippos Karapetis
438ba78387
Corrected actor walk speed in IHNM
...
svn-id: r27003
2007-05-29 12:55:17 +00:00
Andrew Kurushin
85082dc8a0
speedup SAGA::Actor::pathLine & SAGA::Actor::scanPathLine calculation
...
svn-id: r26791
2007-05-09 13:25:14 +00:00
Andrew Kurushin
21412b821c
small pathfind speedup: validate coords only with debug definition
...
svn-id: r26788
2007-05-08 16:09:47 +00:00
Torbjörn Andersson
6050989bd8
Changed SAGA_ACTOR_H__ to SAGA_ACTOR_H etc for consistency.
...
svn-id: r23583
2006-07-23 15:16:50 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00