Commit Graph
71 Commits
Author SHA1 Message Date
Lars Persson 5755b5a97e Fixed problem when building and debugging using Symbian Emulator.
svn-id: r22820
2006-06-01 22:43:19 +00:00
Eugene Sandulenko 14ec3f45fa - Heavily modified patch #1214784: "Disable overlay scaling"
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes
  is applied as is. It lacks resolution switch on-the-fly.
- GUI widgets are repositioned on the fly and use most space, even aspect
  ratio corrected screen is used without scaling
- Heavy tesing is required, but works for me in all cases except for bug
  #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more
  work.
- I probavly broke some backend or two

svn-id: r22505
2006-05-17 23:52:45 +00:00
Max Horn bf73598811 * Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
* Removed Engine_Empty (obsolete now that engines can return actual error codes)

svn-id: r22199
2006-04-29 00:27:20 +00:00
Eugene Sandulenko 35098dbd9f Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
svn-id: r22165
2006-04-26 00:59:13 +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
Max Horn fa085439b9 Removed GameDetector::createMixer(), GameDetector::createEngine(), GameDetector::_plugin
svn-id: r21913
2006-04-15 16:37:48 +00:00
Max Horn 3628629007 - Replaced ConfigManager::_globalDomains by _appDomain (we don't support multiple global domains anymore)
- Restructured parts of the ConfigManager to be more consistent and a bit easier to understand
- Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs)
- Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain
- Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits
- Introduced various hidden easter bugs. Happy easter, and have fun searching!

svn-id: r21906
2006-04-15 13:12:03 +00:00
Max Horn edd8557a0e cleanup
svn-id: r21888
2006-04-14 14:26:34 +00:00
Travis Howell a2c4795f32 Update gameDataPath() calls in engine, to fix compile
svn-id: r21541
2006-04-01 23:31:51 +00:00
Max Horn 2197597f9a Moved File::resetDefaultDirectories from Engine destructor to runGame (since that is the main spot where we call addDefaultDirectory)
svn-id: r21535
2006-04-01 21:52:33 +00:00
Max Horn d61b104568 Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)
svn-id: r21534
2006-04-01 21:43:49 +00:00
Max Horn a96760a2fd Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
svn-id: r20738
2006-02-17 00:01:18 +00:00
Max Horn 405733e044 - Fixed a bug that prevented you from overriding the scaler from the command
line for 640x480 games.
- Updated NEWS file a bit

svn-id: r20736
2006-02-16 23:24:23 +00:00
Max Horn 24a5ba86a7 No need to force engines to implement errorString()
svn-id: r20589
2006-02-12 01:23:58 +00:00
Lars Persson 0b847325e1 'Changed Symbian configuration handling so it is using the basepath of the application installation as a path for Savegames, ini files etc
*Updated list.h so it also compiles for Symbian codewarrior and gcce compilers

svn-id: r20586
2006-02-12 00:33:04 +00:00
Max Horn ee6fa83b1b Change CVS keywords to SVN keywords
svn-id: r20509
2006-02-11 09:53:21 +00:00
Eugene Sandulenko ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Lars Persson 6ed67205ec 1. New build structure for Symbian builds to allow easier build and project updates
2. Updated framework files for new structure
3. Uncommented Debug statements in vorbis.cpp (Should probably be removed alltogether.
4. Incorporated Sevs code formatting changes in the new Symbian source structure.
5. Removed/Changed EScummVM to ScummVM instead, hopefully most cases covered.
6. Beginning vibration support to be used for Scumm shake effects (Work ongoing by SumthinWicked)
7. Replaced the ScummVM icon for the FavIcon and upscaled the icon to 32x32. I think it looks ok, comments are welcome.
8. Built for S60V1 and UIQ2 targets from the cvs
9. Updated Readme with new build instructions.

Any comments are welcome.  Hopefully the other builds are not affected by this and all Sevs code updates are also incorporated.

svn-id: r19739
2005-12-03 21:29:13 +00:00
Eugene Sandulenko edfae828f6 Patch #1341626: "New GP32 port"
svn-id: r19710
2005-11-27 02:35:57 +00:00
Gregory Montoir fe9def0ac0 Made the autosave period a configuration option and updated the engines using that feature (SCUMM, Queen and Sky). The value is supposed to be in seconds ; if it's set to 0 then autosaving is disabled. See also tracker item #1350187.
svn-id: r19700
2005-11-23 19:11:33 +00:00
Eugene Sandulenko b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers f7fb3bf7a8 Change PalmOS ident
svn-id: r18743
2005-09-03 16:05:28 +00:00
Travis Howell 7556e064d2 mingw can handle heap checking now.
NOTE: Requires mingw-runtime-3.8

svn-id: r18714
2005-08-28 11:15:38 +00:00
Jonathan Gray 603a5e4d6f Don't explicity check for tremor and vorbis everywhere and
require both USE_TREMOR and USE_VORBIS to be defined when
using tremor.

svn-id: r18642
2005-08-10 12:42:56 +00:00
Jonathan Gray 3c1b5648ae Rest of the changes required for tremor to actually work.
Based on patches against 0.7.1 by Jolan Luff.

svn-id: r18641
2005-08-10 06:16:26 +00:00
Eugene Sandulenko 6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Lars Persson caf6151bba Last modifications for Actions to WinCE.
svn-id: r18500
2005-07-05 20:51:54 +00:00
Max Horn 8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson b9881d63f6 replaced #if defined(_MSC_VER)
with #if defined (WIN32)

svn-id: r18432
2005-06-21 22:23:53 +00:00
Lars Persson 1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Torbjörn Andersson dc3372b580 Applied patch #1208299. A warning message about the "playing from CD under
Windows" bug is better than nothing, even if a proper bugfix - if one is
possible - would be preferable.

svn-id: r18389
2005-06-14 08:54:11 +00:00
Max Horn 72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn c9455a8806 oops
svn-id: r17522
2005-04-10 16:55:37 +00:00
Max Horn 3aba4997f4 Moved the GFX_ constants to sdl-common.h, where they belong.
svn-id: r17479
2005-04-09 13:31:47 +00:00
Jonathan Gray 24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Eugene Sandulenko 284c209bad Fix bug #1109687 buffer overflow causes crash from env-var HOME and some
other places with such overflows.

svn-id: r16640
2005-01-26 11:01:41 +00:00
Max Horn 6f6668ce21 Reduce dependencies on common/savefile.h from 88 to 14
svn-id: r16528
2005-01-10 22:18:39 +00:00
Max Horn 47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn d299f0601b Reducing header dependencies a bit
svn-id: r16347
2004-12-27 22:08:20 +00:00
Max Horn d138a880bf Fix for bug #1091748 (DIG: Starting new games takes a long time); turns out querying the debuglevel from the config-manager very often is too slow
svn-id: r16345
2004-12-27 21:54:20 +00:00
Andrew Kurushin d59a929114 - fix win32 with USE_WINDBG compile error
svn-id: r16320
2004-12-25 19:58:00 +00:00
Max Horn d6872dba6b Get rid of g_debugLevel (this fixes bug #1091142)
svn-id: r16318
2004-12-25 19:04:18 +00:00
Max Horn 791db21a6c Fix for bug #1082105 (GUI: ScummVM returns to window mode automatically)
svn-id: r16038
2004-12-12 00:02:44 +00:00
Max Horn 876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Eugene Sandulenko 31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Max Horn fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Paweł Kołodziejski 20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Chris Apers 2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Torbjörn Andersson 79ef36cf0e Clear g_engine when an Engine is deleted. This avoids a crash in error()
when quitting Broken Sword II. (I still get the error message, of course,
but that's a lot more helpful than an SDL parachute.)

svn-id: r15535
2004-10-13 06:35:13 +00:00