Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Johannes Schickel
c50940bbf4
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
...
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +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
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Filippos Karapetis
7273d02528
Implemented getDebugger()
...
svn-id: r35967
2009-01-20 23:40:35 +00:00
Max Horn
6b3d5db09f
Disabled use of OSystem::kFeatureAutoComputeDirtyRects in SAGA for now
...
svn-id: r35915
2009-01-18 20:42:33 +00:00
Filippos Karapetis
203358bcb7
Improved handling of sound resources
...
svn-id: r35724
2009-01-04 14:38:03 +00:00
Filippos Karapetis
40d6a3c1e5
Split the script module into two parts, for SAGA1 and SAGA2 games
...
svn-id: r35689
2009-01-02 23:16:08 +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
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
cae6bdac08
Preliminary Shorten audio support for SAGA 2 games. It's still very wrong and needs further work, but it's a start
...
svn-id: r35626
2008-12-31 11:46:21 +00:00
Filippos Karapetis
c8ca4d59bc
- Implemented the SAGA2 resource loader
...
- Some cleanup
svn-id: r35536
2008-12-25 12:09:24 +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
6baa803dff
Removed defaults which are set in base/commandLine.cpp
...
svn-id: r35444
2008-12-19 19:12:29 +00:00
Filippos Karapetis
0410d6dfae
Removed the hasKey() hackery of my previous commit and used ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default
...
svn-id: r35437
2008-12-19 12:03:22 +00:00
Filippos Karapetis
2911aa04c1
Fixed bug #2424530 - "IHNM: SFX are no longer played", by assigning correct default values for missing config manager settings
...
svn-id: r35436
2008-12-19 10:54:05 +00:00
Filippos Karapetis
6ccf57d789
Fixed crash when returning to launcher from the GMM
...
svn-id: r35050
2008-11-13 23:19:25 +00:00
Filippos Karapetis
8e3485f158
Added better checks for the current music status in pauseEngineIntern()
...
svn-id: r35035
2008-11-13 09:19:42 +00:00
Torbjörn Andersson
c29dfd1f17
Fixed warning. (GCC doesn't like the variable 'isPaused' because there already is
...
an isPaused() function.)
svn-id: r35009
2008-11-11 20:25:44 +00:00
Filippos Karapetis
113a83c0da
Implemented pauseEngineIntern() for the SAGA engine
...
svn-id: r35007
2008-11-11 17:34:52 +00:00
Filippos Karapetis
a859e2c1c9
Cleanup
...
svn-id: r34988
2008-11-10 18:51:51 +00:00
Filippos Karapetis
4e7f7064a3
Limit places where saving from the GMM is permitted
...
svn-id: r34984
2008-11-10 11:43:02 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
55c10e0ec6
Patch #2122869 : ALL: Common load dialog
...
svn-id: r34883
2008-11-03 18:32:16 +00:00
Filippos Karapetis
26642748f9
Removed FIXME and reverted commit #34855 , as it's now possible to add a subfolder to a non-existing folder without crashes with the change in commit #34857
...
svn-id: r34858
2008-10-27 11:04:36 +00:00
Filippos Karapetis
c03f0219ca
Using getChild() with getChild() throws an assertion (a regression of the latest FS node changes). Commenting out this line with a FIXME so that SAGA games can work once again under Windows
...
svn-id: r34855
2008-10-26 18:40:59 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
2bc093828f
Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
...
svn-id: r34434
2008-09-07 22:10:58 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
2a06141644
Merging more of the GSoC 2008 RTL branch: SAGA
...
svn-id: r34252
2008-09-01 20:19:28 +00:00
Filippos Karapetis
15722c8ee8
Fix for bug #2057194 - "IHNM: -x option crashes ScummVM, if savegame doesn't exist"
...
svn-id: r34023
2008-08-19 08:49:53 +00:00
Christopher Page
370cc6615e
Fixed volume change after loading a game in Saga
...
svn-id: r33952
2008-08-16 22:30:19 +00:00
Christopher Page
9560a4c3d3
Separated Speech from SFX in SAGA, improved configuration of SAGA sound settings through the GMM
...
svn-id: r33176
2008-07-21 19:15:28 +00:00
Christopher Page
cbadb51ce7
SAGA works with new GMM implementation
...
svn-id: r33000
2008-07-11 01:09:48 +00:00
Christopher Page
9c60fd183c
Sound settings for Saga can be configured from the GMM
...
svn-id: r32863
2008-07-01 03:01:11 +00:00
Christopher Page
7d0eb4f4f0
Queen and Saga now use the new _quit flag
...
svn-id: r32774
2008-06-25 02:14:55 +00:00
Christopher Page
dd423f803b
SAGA: Fixed memory leaks in the SAGA engine
...
svn-id: r32673
2008-06-12 16:58:02 +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
Filippos Karapetis
a7269c6009
Fix for bug #1895205 - "IHNM: end game text/caption error"
...
svn-id: r30985
2008-02-27 15:11:16 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +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
5b74b676ce
Disable voices when voice files do not exist (like the original interpreter does), instead of exiting with an error. This is necessary for devices with little space
...
svn-id: r29956
2007-12-23 02:33:58 +00:00
Filippos Karapetis
18dd1881c5
Added some hard coded strings for the Italian fan translation of ITE (still not supported). Merged those strings with the hard coded strings for the Italian fan translation of IHNM
...
svn-id: r29933
2007-12-21 02:08:30 +00:00
Filippos Karapetis
9ec7588e49
Fix for bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)". The colors of the default palette in the Spanish version of the game are shifted by 1.
...
svn-id: r29828
2007-12-11 22:40:39 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00