Commit Graph

56 Commits

Author SHA1 Message Date
Max Horn
efcfb40da9 SAGA: Add some const qualifiers to SagaEngine methods
svn-id: r53737
2010-10-23 15:45:22 +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
8b72f49460 SAGA: replace Script and Thread "::*alloc" & "::free" with Common::Array
svn-id: r53678
2010-10-21 22:32:50 +00:00
Filippos Karapetis
80acb21a56 Added automatic detection of the IHNM demo
svn-id: r49047
2010-05-16 10:36:21 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Andrew Kurushin
802ed6eb40 Fix bug #2963556: SAGA: Memory leaks #2
isomap-malloc to Common::Array conversation

svn-id: r48232
2010-03-10 21:44:58 +00:00
Torbjörn Andersson
1928a7ba38 Silenced some cppcheck warnings.
svn-id: r47427
2010-01-21 23:05:33 +00:00
Eugene Sandulenko
aaf66f20ef Implement FR #2827944: "SAGA: Hide in-game GUI on thumbnails"
svn-id: r46879
2010-01-02 11:03:12 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Max Horn
65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00
Filippos Karapetis
2d54d2717e Removed obsolete TODO
svn-id: r39914
2009-04-10 21:47:10 +00:00
Torbjörn Andersson
d3d641e487 Sort the list of savegames. (I suppose this fix, or a better one, should go
into 0.13.1 as well.)

svn-id: r39906
2009-04-09 15:59:22 +00:00
Filippos Karapetis
56f75b4c41 Fixed bug #2057987 - "IHNM: Music stops in Ellen's chapter"
svn-id: r35884
2009-01-17 21:45:53 +00:00
Filippos Karapetis
e399865ee8 IHNM save games no longer contain ITE-related variables
svn-id: r35828
2009-01-11 14:44:29 +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
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
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Filippos Karapetis
a859e2c1c9 Cleanup
svn-id: r34988
2008-11-10 18:51:51 +00:00
Filippos Karapetis
3ccfce260f SAGA save games now contain thumbnails and creation date/time (visible from the GMM save/load screens)
svn-id: r34986
2008-11-10 14:11:30 +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
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
c07894bcea ioFailed() is now checked when saving a game
svn-id: r29767
2007-12-08 17:48:51 +00:00
Torbjörn Andersson
6cd700f776 Of course, that also means that 'slot' should be 3 characters, not 2.
svn-id: r29150
2007-09-30 14:32:21 +00:00
Torbjörn Andersson
44216e2837 Terminate the string used to hold the save slot number, or strange things may
happen. (In my case, it was looking for slot 10, 20, 30, ... instead of the
correct 1, 2, 3...)

svn-id: r29149
2007-09-30 14:31:47 +00:00
Andrew Kurushin
f50e162c25 remove _saveMarks from SAGA load and save implementation
svn-id: r29053
2007-09-23 15:53:49 +00:00
Filippos Karapetis
4333fafe76 Fix for bug #1800276 - "IHNM: Problem in saving". A bug in the logic of the save slot allocation algorithm became apparent with the FS node merge. It should be working correctly now
svn-id: r29031
2007-09-22 22:37:20 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
c3d3aebe87 Patch #1768757: Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
svn-id: r28944
2007-09-18 20:02:04 +00:00
Filippos Karapetis
bd454d0c79 Fixed regression with save games that have an inset and an outset scene
svn-id: r28913
2007-09-16 03:20:10 +00:00
Filippos Karapetis
4e5d819732 IHNM's ending is shown correctly now (but the credits still aren't). Slight update on the music of chapter 6
svn-id: r28753
2007-08-27 09:30:23 +00:00
Filippos Karapetis
3ce737eb2a Cleanup
svn-id: r28748
2007-08-26 15:57:30 +00:00
Filippos Karapetis
6358d6bb07 One more place where music for chapter 6 shouldn't be played for now
svn-id: r28745
2007-08-26 05:03:59 +00:00
Filippos Karapetis
a6048447fc Don't play a music track when loading a saved game from chapter 6 in IHNM for now either, until the cause for the incorrect music table for that chapter is found
svn-id: r28744
2007-08-26 03:32:18 +00:00
Filippos Karapetis
b7f7c8683f Games saved in the character selection screen should work correctly now
svn-id: r28739
2007-08-26 00:45:07 +00:00
Filippos Karapetis
c50c20b2c2 Cleanup: Removed obsolete TODOs
svn-id: r28682
2007-08-20 20:00:40 +00:00
Filippos Karapetis
d5b7a57536 Fix for some cases where the protagonist from some savegames in IHNM was not loaded correctly
svn-id: r28596
2007-08-13 15:57:04 +00:00
David Corrales
6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +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
3ee5ee2c06 Loading saved games in the demo version of IHNM should work now
svn-id: r28345
2007-07-31 00:06:57 +00:00
David Corrales
720c974faf Changed SaveFileManager::listSavegames() function to be engine agnostic. It now returns a list will the full paths of existing files that match a given regex.
Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly.

svn-id: r28046
2007-07-12 17:58:15 +00:00
Filippos Karapetis
6689a6607b Fix crashes with some savegames in IHNM
svn-id: r27553
2007-06-20 01:45:38 +00:00
Filippos Karapetis
aeb9668d66 When loading a game from the same chapter as the current chapter in IHNM, the game will now be loaded correctly
svn-id: r27546
2007-06-19 11:41:06 +00:00
Filippos Karapetis
8bc226b0e5 The correct music track is now played when loading a game in IHNM. The save/load mechanism in IHNM seems to be working correctly now (although it needs testing), however there are still some graphical glitches with the save/load dialogs. Also, moved some unfinished code for returning to the chapter selection screen to a more appropriate place
svn-id: r27542
2007-06-19 02:42:59 +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
6dc0a1b234 Some more updates for saving/loading in IHNM
svn-id: r27512
2007-06-17 15:45:09 +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
Max Horn
b8aeefaffb Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
svn-id: r25660
2007-02-17 18:55:51 +00:00
Eugene Sandulenko
423cbd8a2e Fix bug #1502021: "ITE: January 2006 Release menu problem"
svn-id: r22977
2006-06-07 09:31:52 +00:00