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
65393be446
Removed unused (and wrong) code for IHNM
...
svn-id: r39931
2009-04-11 12:08:02 +00:00
Filippos Karapetis
7287457672
Got rid of SortedList
...
svn-id: r39928
2009-04-11 09:54:55 +00:00
Filippos Karapetis
02ca56eec8
Removed all but one of the functions of the SortedList, apart from the custom insert() operation. It's only used in one place now (in _drawOrderList)
...
svn-id: r39925
2009-04-11 09:23:40 +00:00
Max Horn
7412b0f8e8
SAGA: Stop needlessly using operator*() and operator->() (many of the resulting &* uses can be removed if references are used instead of pointers everywhere, which would be a good idea anyway)
...
svn-id: r39920
2009-04-11 00:29:12 +00:00
Filippos Karapetis
c65013faf2
Fixed a regression of commit #35473 . Fixes bug #2703595 - "ITE: Crash when clicking on items inside the hangar"
...
svn-id: r39664
2009-03-24 13:33:47 +00:00
Filippos Karapetis
d5b6996c45
- Split the IHNM script functions into a different file
...
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS)
svn-id: r35672
2009-01-02 16:52:38 +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
9a57f42399
logicalWidth -> width
...
logicalHeight -> height
svn-id: r35488
2008-12-22 14:36:58 +00:00
Filippos Karapetis
437384a838
- Split the SAGA resource manager in 3 different ones, depending on the resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub
...
- Added detection for the voice file of FTA2
svn-id: r35484
2008-12-22 14:13:15 +00:00
Filippos Karapetis
f3db2bf1c3
Added some more stubs for FTA2
...
svn-id: r35475
2008-12-21 23:43:12 +00:00
Filippos Karapetis
2257db88d3
- Added some stubs for the SAGA2 games dino and fta2
...
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM)
- Removed getDisplayWidth() and getDisplayHeight()
svn-id: r35473
2008-12-21 22:52:44 +00:00
Filippos Karapetis
d0f4f97ea9
Cleaned up the mess with game IDs and game types: removed game types, reduced the game IDs and added game features where necessary
...
svn-id: r35467
2008-12-21 15:59:05 +00:00
Filippos Karapetis
cfa939d151
- Stop passing the scene clip rectangle around for no reason
...
- More changes for dirty rectangle handling
- Stop adding dirty rectangles that cover the whole screen for no reason
- Dirty rectangle handling is still very buggy, so it's still disabled
svn-id: r35314
2008-12-12 14:23:02 +00:00
Filippos Karapetis
9c04b0c229
All the screen drawing functions draw to the back buffer, so there is no point in passing it everywhere
...
svn-id: r35260
2008-12-06 14:24:40 +00:00
Filippos Karapetis
f3a60a8c96
Cleanup
...
svn-id: r35259
2008-12-06 13:35:27 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Filippos Karapetis
966239fc52
Code cleanup:
...
- Removed sagaresnames.h
- Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP)
- Moved all resources which were used by the ITE intro into ite_introproc.cpp
- Removed several defines which were only used once (e.g. the SFX names)
- Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end
- Updated the comment about the IHNM Mac music
- Changed the callocs in loadPalAnim to mallocs, like in the rest of the code
- Removed the MEM error
svn-id: r32282
2008-05-26 11:10:46 +00:00
Andrew Kurushin
040d8e10fe
fix bug 1900244 "ITE: Strange animation when returning to prison cell"
...
svn-id: r30924
2008-02-23 14:42:46 +00:00
Filippos Karapetis
3581257ceb
Fix for bug #1900220 - "ITE: Missing text outline"
...
svn-id: r30920
2008-02-23 13:54:58 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +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
Filippos Karapetis
335e9da41d
Removed clamp() and used the common CLIP template instead
...
svn-id: r29927
2007-12-20 19:00:10 +00:00
Filippos Karapetis
1e483cc857
Use CLIP template for clipping in the SAGA engine
...
svn-id: r29855
2007-12-13 20:10:13 +00:00
Filippos Karapetis
6e6a864c17
Don't draw objects with negative x/y values. Now, "ghost" objects are no longer created in the top left corner of the screen when picked up/used. The creation of such ghost objects is a script bug which exists in the original interpreter of IHNM as well. Also, removed a relevant workaround for the note in the first screen of Gorrister's chapter, as it's no longer needed
...
svn-id: r29477
2007-11-11 18:12:55 +00:00
Eugene Sandulenko
83802f795b
Several subtitles-related IHNM fixes. Still not perfect.
...
svn-id: r29427
2007-11-05 23:40:30 +00:00
Filippos Karapetis
9b528826f8
Fixed Ellen's state when loading a saved game in her chapter
...
svn-id: r28938
2007-09-18 14:56:42 +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
5fa2b1a3c5
Palette fade in when a cutaway starts in IHNM is working now. Also, the fade mode is properly set in all cases where palette fadeout is used. Some code formatting
...
svn-id: r28904
2007-09-15 12:09:56 +00:00
Filippos Karapetis
541b68e0e4
Removed an obsolete FIXME. The code in that part matches the original, so there doesn't seem to be any obvious reason for that FIXME
...
svn-id: r28891
2007-09-11 11:10:23 +00:00
Max Horn
4a4fc235f2
Change SAGA engine to properly use KeyState structs for handling keyboard input
...
svn-id: r28889
2007-09-11 09:19:23 +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
ef7c66893a
Updated some comments
...
svn-id: r28706
2007-08-24 11:44:18 +00:00
Filippos Karapetis
9a9e42a1f6
Sprite priorities are now calculated correctly for IHNM
...
svn-id: r28694
2007-08-22 11:11:33 +00:00
Filippos Karapetis
a6171ec349
Fix for bug #1776993 - "ITE: Cannot exit a room (regression)"
...
svn-id: r28679
2007-08-20 19:14:22 +00:00
Filippos Karapetis
617a500ef2
IHNM and ITE: ScummVM will no longer crash when loading games from the command line
...
svn-id: r28394
2007-08-01 21:47:17 +00:00
Filippos Karapetis
165f7fcf73
Implement some differences to the actor walking code in IHNM
...
svn-id: r28352
2007-07-31 04:19:23 +00:00
Filippos Karapetis
9efa640f9c
Fix graphics glitch in the rat caves in ITE. Closes bug #1735437 - "ITE: Sprite priority in rat caves"
...
svn-id: r28064
2007-07-14 03:44:47 +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
3efcdd7a43
Modified ticksToMSec in IHNM, so that it waits for the correct amount of time. Many animations which were not displayed quite right are fixed now, including some small syncing issues with video and sound in some places
...
svn-id: r27939
2007-07-06 13:21:43 +00:00
Filippos Karapetis
7a709b3c79
Added a workaround to prevent the making fire animation from breaking at the beehive scene in ITE
...
svn-id: r27756
2007-06-28 06:55:00 +00:00
Filippos Karapetis
5624ba23d0
Added a workaround in IHNM for the compact disk in Ellen's chapter
...
svn-id: r27557
2007-06-20 16:36:29 +00:00
Filippos Karapetis
6dc0a1b234
Some more updates for saving/loading in IHNM
...
svn-id: r27512
2007-06-17 15:45:09 +00:00
Filippos Karapetis
5e587fde8e
Clear the forced text flag if it's set when a speech with forced text finishes. Now, ScummVM won't wait forever when talking to an actor after using the computer screen in the elder's screen at Ben's chapter in IHNM
...
svn-id: r27428
2007-06-15 18:28:44 +00:00
Filippos Karapetis
585e0781dd
SAGA: Added sanity checks for speech box coordinates, like the original. Now, there won't be missing subtitles in certain scenes
...
svn-id: r27397
2007-06-14 04:22:23 +00:00
Filippos Karapetis
0d4a3c28d9
IHNM: Button textures are loaded correctly now for buttons in the option and quit panel. Also, implemented the voices/subtitles toggle functionality and fixed widget placement a bit
...
svn-id: r27388
2007-06-13 19:41:27 +00:00
Filippos Karapetis
ee78a7427b
Fixed several colors and fonts in IHNM
...
svn-id: r27382
2007-06-12 22:47:12 +00:00