aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-01SYMBIAN platform. Correct building of SDL refacturing for Symbian.Lars Persson
svn-id: r51587
2010-08-01OPENGL: Remove use of floats for aspect ratio correction. Improved ↵Alejandro Marzini
fullscreen toggling default mode selection. Floats can lead to calculation errors because, now uints are used and aspect ratio values are handled with a x 10000 scale. When entering fullscreen, it will be looked for the fullscreen mode with the smallest metric that mantains the game screen aspect ratio. svn-id: r51563
2010-07-31OPENGL: Switch to native resolution fullscreen as default.Alejandro Marzini
svn-id: r51560
2010-07-31OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵Alejandro Marzini
GLES). General cleanup and commenting. svn-id: r51559
2010-07-31OPENGL: For GLES, add glOrthox and do not use GL_BGR.Alejandro Marzini
svn-id: r51552
2010-07-31Add OpenGL dependencies to MinGW configure.Alejandro Marzini
svn-id: r51551
2010-07-31OPENGL: Fix texture updating.Alejandro Marzini
svn-id: r51549
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-30SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers.Alejandro Marzini
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager. svn-id: r51493
2010-07-30OSYSTEM: Add resetGraphicsScale() method.Alejandro Marzini
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager. svn-id: r51492
2010-07-30OPENGL: Fix crash on Broken Sword 2 when refreshing screen.Alejandro Marzini
I must admit that I do not know why it does crash, but it seems that updating row by row is safer and does not makes problems. svn-id: r51491
2010-07-30SDL: Add SDL backend subfolders paths to makefile MODULE_DIRS.Alejandro Marzini
This should fix subfolders sources not recompiling after a header change. svn-id: r51489
2010-07-29SCI: Fixed script bug #3036601 - "LONGBOW: Druid hand code brings up ScummVM ↵Filippos Karapetis
console", along with a related bug after giving an answer through the hand code svn-id: r51486
2010-07-29SCI: fixing hoyle 3Martin Kiewitz
hoyle 3 is using kCanBeHere, but it has cantBeHere and canBeHere selectors so our auto detection would fail it also has a cantBeHere stub in Actor, thus it won't set acc at all. We reset acc because of that before calling cantBeHere selector (!) of the actors (canBeHere isnt used) so that we wont get a collision otherwise because acc is non zero when calling kDoBresen (fixes all sorts of bugs, clone2727 should clean it up :P svn-id: r51485
2010-07-29SCI: reverting r51479 and adding TODOs for fixing the hoyle issue (fixing ↵Martin Kiewitz
this properly should make credits etc. appear and solve all the other issues that clone submitted) svn-id: r51484
2010-07-29SCI: finished logkernel commandMartin Kiewitz
use 'logkernel DoSound' on to log calls to all kDoSound subfunctions. use 'logkernel DoSoundPlay' to log calls to kDoSound(play) svn-id: r51483
2010-07-29SCI: midi hold behaviour fixedMartin Kiewitz
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392) svn-id: r51482
2010-07-29DC: Let scummvm.ini override autodetect of gamesMarcus Comstedt
If a game CD has a scummvm.ini file with at least one game domain in it, the normal autodetection is now bypassed and a menu of only the games in the .ini file is presented instead. The descriptions of the games are taken from the .ini file, but icons are still scanned for in the old fashion. Note that previously ScummVM would read global options from the scummvm.ini file on the boot disc (if present), but now global options are instead taken from the scummvm.ini on the game disc (in case of a disc swap). svn-id: r51480
2010-07-29SCI: Fixed Hoyle 3 bugs #3035077, #3035080, #3035081 and #3035242, by using ↵Filippos Karapetis
the "completed" case removed in rev #50921 for Hoyle 3 svn-id: r51479
2010-07-29DC: Specialize createConfig{Read,Write}Stream Marcus Comstedt
Implement platform-specific variants of createConfigReadStream() and createConfigWriteStream(), instead of inheriting the BaseBackend definitions. Nonstandard behavious is as follows: * createConfigWriteStream() always returns 0 (read-only filesystem) * createConfigReadStream() returns an empty MemoryReadStream instead of NULL if scummvm.ini does not exist. This is to make sure that loadDefaultConfigFile() always clears out any old config data, as I'll want to restart config parsing from scratch after a disc swap. svn-id: r51478
2010-07-29SCI: Ignore setAttribute() on any non-existent menu itemsMatthew Hoops
This fixes two fan games: Al Pond 2 and Aquarius. The original interpreter did this as well. svn-id: r51477
2010-07-29SCI: fixing qfg1 workaroundMartin Kiewitz
svn-id: r51476
2010-07-29SCI: some subfunction support for logkernelMartin Kiewitz
svn-id: r51475
2010-07-29DS: Add WRAP_MALLOC support to ds.mk, update commentsMax Horn
svn-id: r51474
2010-07-29DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILDMax Horn
svn-id: r51473
2010-07-29SCI: Removed the language check from the Filippos Karapetis
KQ5 workaround, as there could be an issue with other non-English versions, too (e.g. the Spanish floppy version) svn-id: r51472
2010-07-29Extended the workaround for KQ5 French floppy for the German floppy too. ↵Filippos Karapetis
Fixes bug #3035396 - "KQ5: Crash when start the game" svn-id: r51471
2010-07-29SCI: Fixed bug #3036331 - "KQ5: Floppy versionFilippos Karapetis
crashes after title", together with a related problem (kRedrawBox is called erroneously with an additional parameter when any dialog is closed) svn-id: r51470
2010-07-29SCI: Add detection for the April 2010 competition template (fan game)Matthew Hoops
svn-id: r51469
2010-07-29BUILD: Unify how MODULE_DIRS is computed for backendsMax Horn
This should help avoid situations where MODULE_DIRS is not set to a complete list of build dirs (which causes troubles with the automatic header dependency detection logic). On the long run, we should replace the relevant code by a macro or also use rules.mk for this (with yet another if/else case add to it). svn-id: r51467
2010-07-29BUILD: Fix MODULE_DIRS for WinCE portMax Horn
svn-id: r51466
2010-07-29BUILD: Compile & link certain files only for specific BACKEND valuesMax Horn
svn-id: r51465
2010-07-29BUILD: Remove redundant MODULE_DIRS modificationMax Horn
svn-id: r51464
2010-07-29SCI: Fixed script bug #3036483 - "LSL2: Crash at the ship"Filippos Karapetis
svn-id: r51463
2010-07-29M4: Added further code fragments to enable player to move againPaul Gilbert
svn-id: r51462
2010-07-29M4: Further work done on the setup and starting of actionsPaul Gilbert
svn-id: r51461
2010-07-29SCI: Added back debug output to sound commandsFilippos Karapetis
svn-id: r51460
2010-07-29SCI: updating screen within kAnimate as well - fixes pseudo hang in eq1 ↵Martin Kiewitz
credits (bug #3036154) svn-id: r51459
2010-07-29SCI: also break in AvoidPath instead of continuing, when the start point is ↵Filippos Karapetis
contained in multiple polygons, otherwise we'll end up in an infinite loop svn-id: r51458
2010-07-29Oops, removed leftover codeFilippos Karapetis
svn-id: r51457
2010-07-29SCI: Silenced warning when exiting in LSL6 (bug report #3035533), and ↵Filippos Karapetis
commented out a related unused variable in kSetQuitStr svn-id: r51456
2010-07-29SCI: Fixed bug #3036390 - "QFG3: Crash when talking to King Rajah", along ↵Filippos Karapetis
with a similar problem later on while talking to the king svn-id: r51455
2010-07-29SCI: Re-enable the throttle for kFrameout, I must have been asleep that dayMatthew Hoops
svn-id: r51451
2010-07-28SCI: Break out instead of continuing when an end point is contained in ↵Filippos Karapetis
multiple polygons, while running the avoidpath algorithm (or we'll end up in an infinite loop). Fixes bug #3036299 - "LB2CD: Game Hangs at Speakeasy" svn-id: r51450
2010-07-28SCI: Added forgotten bug number to the previous workaroundFilippos Karapetis
svn-id: r51448
2010-07-28SCI: Fixed bug #3036291, "LB2CD: Crash in Docks, actor animation"Filippos Karapetis
svn-id: r51446
2010-07-28SCI: Changed another warning into debug outputFilippos Karapetis
svn-id: r51445
2010-07-28SCI: Changed a warning into a debug messageFilippos Karapetis
svn-id: r51444
2010-07-28SCI: Extended the LB2 workaround for bug #3035068 to all rooms. Fixes bug ↵Filippos Karapetis
#3036274, "LB2CD: Crash in Police Station, asking about Ziggy" svn-id: r51443
2010-07-28SCI: changed kRandom signatureMartin Kiewitz
accepts 1-3 parameters now for all SCI versions (shouldnt hurt and argc 3 will error() out anyway) changed comments a bit svn-id: r51438