Max Horn
82f862c6b2
SAGA: Simplified Scene::skipScene, changed loadScene to take a LoadSceneParams ref instead of a ptr
...
svn-id: r39943
2009-04-11 21:38:14 +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
9d7111006d
- Reworked the different file types a bit
...
- Some initial work on Dinotopia's intro sequence
svn-id: r39234
2009-03-08 15:39:19 +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
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
e27c494371
Some more dirty rectangle changes (still incomplete)
...
svn-id: r35288
2008-12-08 22:07:14 +00:00
Filippos Karapetis
78fd335a42
More dirty rectangle related changes (dirty rectangle handling is still broken)
...
svn-id: r35281
2008-12-07 18:49:35 +00:00
Filippos Karapetis
4946e6584e
Disabled more debug code
...
svn-id: r35265
2008-12-07 00:13:55 +00:00
Filippos Karapetis
065694dbb1
- Prevented direct reference to the back buffer in many cases (apart from a few, where it's modified directly)
...
- Added skeleton code for dirty rectangle handling (still unfinished and non-working)
- Added wrapper functions to access the back buffer, which add the appropriate dirty rectangles automatically
svn-id: r35264
2008-12-06 18:23:34 +00:00
Filippos Karapetis
668eaea68c
Also remove explicit surface passing to IsoMap::draw()
...
svn-id: r35261
2008-12-06 14:37:09 +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
Max Horn
6aa12974bd
SAGA: Some code cleanup
...
svn-id: r34703
2008-09-30 12:58:27 +00:00
Christopher Page
cbadb51ce7
SAGA works with new GMM implementation
...
svn-id: r33000
2008-07-11 01:09:48 +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
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
422e88aa20
Slight fix for off screen path calculation
...
svn-id: r29454
2007-11-08 23:35:46 +00:00
Eugene Sandulenko
9a9e9d21a8
Moved MemoryStreamEndian from Saga to Common.
...
svn-id: r29038
2007-09-23 09:59:10 +00:00
Filippos Karapetis
f1091ec8bb
Fixed some glitches which occured when closing the psychic profile in IHNM
...
svn-id: r28953
2007-09-18 23:15:48 +00:00
Filippos Karapetis
990e9a7828
Script modules are now unloaded correctly when changing chapters in IHNM
...
svn-id: r28918
2007-09-16 04:22:52 +00:00
Filippos Karapetis
0bb109d59d
Stop the intro music after the intro in ITE/IHNM is finished
...
svn-id: r28911
2007-09-15 16:54:22 +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
c84ff65720
Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non needed check
...
svn-id: r28901
2007-09-14 12:42:47 +00:00
Torbjörn Andersson
490586a0ae
Initialise _chapterNumber to fix Valgrind warning.
...
svn-id: r28774
2007-08-31 18:13:16 +00:00
Filippos Karapetis
2fa39d8ce7
The IHNM credits sequence is shown now. However, only half of the sequence is played at the moment
...
svn-id: r28768
2007-08-31 07:24:41 +00:00
Filippos Karapetis
b39c4cbdba
Added some skeleton code for the IHNM credits movie. Also, changed the location of the RF_DISABLE_ACTORS is set from loadScene to endScene
...
svn-id: r28757
2007-08-27 13:04:35 +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
71ce45faa0
Reset the protagonist's portrait when a chapter ends
...
svn-id: r28732
2007-08-25 19:33:25 +00:00
Filippos Karapetis
57ee1e15be
Stop showing actors before a scene's background is shown. Removed a relevant hack
...
svn-id: r28725
2007-08-25 16:02:48 +00:00
Filippos Karapetis
84d2dda5ed
Code cleanup for the IHNM demo
...
svn-id: r28707
2007-08-24 12:05:05 +00:00
Filippos Karapetis
c50c20b2c2
Cleanup: Removed obsolete TODOs
...
svn-id: r28682
2007-08-20 20:00:40 +00:00
Filippos Karapetis
769dd1d7a2
Several bugfixes:
...
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene
- sf92 is sfDemoSetInteractive
- It's now possible to use dashes and underscores in savegames
- Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black
- The interface mode is now correctly set in the non-interactive part of the IHNM demo
- sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed
svn-id: r28643
2007-08-17 06:08:18 +00:00
Filippos Karapetis
3e9c4be280
The help screen in the IHNM demo is shown correctly now
...
svn-id: r28406
2007-08-02 14:43:10 +00:00
Filippos Karapetis
ec4a240b50
The help screens in the IHNM demo are shown a bit more correctly now, though they're still buggy
...
svn-id: r28399
2007-08-02 01:56:45 +00:00
Filippos Karapetis
63f3d5b253
Partially implemented opcodes 87, 88 and 89, used in the help system of the IHNM demo. It's still buggy, though
...
svn-id: r28398
2007-08-02 01:04:44 +00:00
Filippos Karapetis
03d7990a34
Some updates to the psychic profile in IHNM. sfPsychicProfileOff has been enabled again
...
svn-id: r28361
2007-07-31 17:41:10 +00:00
Filippos Karapetis
89451cfa43
It's now possible to return to the chapter selection screen correctly in IHNM
...
svn-id: r28358
2007-07-31 15:36:38 +00:00
Filippos Karapetis
889d1a4aee
The interactive part of the IHNM demo fully works now. Also, made the options screen work in the non-interactive part of the demo
...
svn-id: r28344
2007-07-30 23:37:18 +00:00
Filippos Karapetis
7498c6b43e
It's now possible to exit from the psychic profile screen in IHNM
...
svn-id: r28325
2007-07-30 14:22:53 +00:00
Filippos Karapetis
6c108f552c
The IHNM demo uses the NULL panel
...
svn-id: r28253
2007-07-28 01:03:54 +00:00
Filippos Karapetis
994a191858
IHNM: Narrowed down the places where the actors stop being drawn when changing scenes
...
svn-id: r28022
2007-07-11 03:21:29 +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
4ffd38a199
When saving the game in IHNM after a chapter point change, the chapter point change music will no longer be incorrectly saved, and the normal chapter music will be saved instead
...
svn-id: r27545
2007-06-19 11:23:20 +00:00