Commit Graph

35 Commits

Author SHA1 Message Date
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
653cf4c971 Initial support of the psychic profile in IHNM (still buggy)
svn-id: r28323
2007-07-30 11:55: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
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
2c3cbf444a Improvements to the SAGA compressed sound support
svn-id: r27717
2007-06-25 20:20:59 +00:00
Filippos Karapetis
23c8240048 Add support for compressed sound effects, digital music and speech to the SAGA engine
svn-id: r27713
2007-06-25 18:23:01 +00:00
Filippos Karapetis
99c65ce24d IHNM: Button texts are read from the game data files, instead of the hardcoded ITE strings. The IHNM-specific strings have been removed from the ITE hardcoded strings. Also did some cleanup
svn-id: r27396
2007-06-13 22:23:12 +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
7af7e3f192 Fix the quit panel in IHNM
svn-id: r27387
2007-06-13 15:31:45 +00:00
Filippos Karapetis
ee78a7427b Fixed several colors and fonts in IHNM
svn-id: r27382
2007-06-12 22:47:12 +00:00
Filippos Karapetis
9b14f5faed Implemented the sfGetMouseClicks and sfResetMouseClicks opcodes and created the skeleton for sfScriptStartVideo, sfScriptReturnFromVideo and sfScriptEndVideo opcodes
svn-id: r27145
2007-06-06 19:46:10 +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
Andrew Kurushin
85082dc8a0 speedup SAGA::Actor::pathLine & SAGA::Actor::scanPathLine calculation
svn-id: r26791
2007-05-09 13:25:14 +00:00
Max Horn
60aec5b9f1 SAGA: Moved displayinfo stuff into its own header file
svn-id: r26635
2007-04-27 23:11:12 +00:00
Max Horn
3924a2587f Renamed sagagame.cpp -> detection_tables.h; merged sagagame.h into saga.h
svn-id: r26632
2007-04-27 22:35:05 +00:00
Max Horn
94739cdbca SAGA: Make use of EventManager::getMousePos
svn-id: r26223
2007-03-18 18:45:36 +00:00
Eugene Sandulenko
d3b0ff8ade Reduce dependency from common/advancedDetector.h
svn-id: r25156
2007-01-21 20:24:38 +00:00
Max Horn
d8d32812c8 Merged SagaEngine::postInitGame() into SagaEngine::initGame()
svn-id: r24887
2006-12-19 13:50:34 +00:00
Eugene Sandulenko
a977988058 Next step in AdvancedDetector unification. Moved all common functions to
macroses. Now typical usage is just list of macros with parameters and 
array of game details.

svn-id: r24670
2006-11-10 22:43:10 +00:00
Eugene Sandulenko
9142322cb0 More const madness.
svn-id: r24191
2006-10-08 07:48:19 +00:00
Eugene Sandulenko
107a9f3bef Moved unrelated fields out of ADGameDescription structure.
svn-id: r24090
2006-10-02 23:31:14 +00:00
Eugene Sandulenko
988ddf2b36 Unify SAGA/AGOS detection code so other engines could also reuse it
without further code duplication.

svn-id: r24083
2006-10-02 22:21:57 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Eugene Sandulenko
de95d463a8 Support of new subtitles code. Patch from salty-horse.
svn-id: r23031
2006-06-11 20:30:43 +00:00
Andrew Kurushin
64c3407500 extract GameDescriptions to separate files (this will help compress_saga tool to detect sound resource)
svn-id: r22433
2006-05-13 10:30:38 +00:00
Max Horn
6c076f80d7 Reduced dependencies on base/plugins.h
svn-id: r21940
2006-04-16 13:12:23 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Andrew Kurushin
7191d474a4 improve game detection:
- start process speedup (remove already scanned files)
- merge md5 & game files list

svn-id: r21468
2006-03-27 16:56:08 +00:00
Max Horn
ab1694aef9 Compute the full game title when detecting games & creating engine instances, and also use that for savegames (all for debugging)
svn-id: r21285
2006-03-14 13:28:28 +00:00
Max Horn
6db0289f30 Moved SAGA plugin interface code from saga.cpp to game.cpp
svn-id: r21181
2006-03-09 14:33:07 +00:00
Max Horn
aad520026c Modified SAGA engine to use DetectedGame::updateDesc (note: there is a new TODO in the saveload code now)
svn-id: r21171
2006-03-09 13:22:30 +00:00
Max Horn
d2f78184af - added new toDetectedGame() template function (analog to toGameSettings)
- made use of the new DetectedGame constructor from my last commit
- some related cleanup

svn-id: r21149
2006-03-09 01:42:56 +00:00
Max Horn
81798556db - Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER

svn-id: r20747
2006-02-18 00:12:36 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00