aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2009-07-09Cleanup rollDice (the results of the old and the new function are almost ↵Johannes Schickel
identical). svn-id: r42293
2009-07-09Cleanup.Johannes Schickel
svn-id: r42292
2009-07-09Renamed sound/iff.* to sound/iff_sound.* to fix an issue with the upcoming ↵Filippos Karapetis
changes to the MSVC project files (sound/iff.* produces iff.obj, which clashes with iff.obj from graphics/iff.*) svn-id: r42287
2009-07-09Giving Font its own real classSven Hesse
svn-id: r42277
2009-07-08LOL: cleanupFlorian Kagerer
svn-id: r42271
2009-07-08LOL: rename new function in last commit according to LordHoto's suggestionFlorian Kagerer
svn-id: r42270
2009-07-08LOL: fix long standing bugs in the battle system (hit chance, damage, etc) ↵Florian Kagerer
by adapting original style random number generator svn-id: r42269
2009-07-08- Moved printObject inside the Console classFilippos Karapetis
- Enabled the parts where disassemble() is called svn-id: r42263
2009-07-08Only the kernel needs to be initialized before anything else, when ↵Filippos Karapetis
saving/loading svn-id: r42262
2009-07-08Fixed saving/loading again (broken with the latest changes for game feature ↵Filippos Karapetis
auto-detection) svn-id: r42261
2009-07-08Some cleanup for the script debugger code:Filippos Karapetis
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260
2009-07-08Fix recent regression in vc61().Travis Howell
svn-id: r42252
2009-07-07Silenced the very chatty song iterator console messages by converting them ↵Filippos Karapetis
to appropriate debug messages svn-id: r42240
2009-07-07Improved the LSL1VGA workaround after talking with waltervnFilippos Karapetis
svn-id: r42239
2009-07-07Added a workaround for incorrect font references in LSL1VGA (which was the ↵Filippos Karapetis
original purpose of the code removed in rev. 42219) svn-id: r42238
2009-07-07Change all uses of FM-Towns/fm-towns to FM-TOWNS.Johannes Schickel
svn-id: r42235
2009-07-07Change "FM-Towns" to "FM-TOWNS" for consistency.Johannes Schickel
svn-id: r42232
2009-07-07- Rename FontSJIS::enableShadow to enableOutline.Johannes Schickel
- Initialize outline to false by default in FontTowns. svn-id: r42231
2009-07-07- Added support for outlined FM-Towns ROM drawingJohannes Schickel
- Adapted KYRA to use that svn-id: r42230
2009-07-07kFeatures800 -> kFeatures800x600 in order to have more meaningful nameEugene Sandulenko
svn-id: r42229
2009-07-07Adapt KYRA to use the new Graphics::FontSJIS code.Johannes Schickel
svn-id: r42222
2009-07-07Removed the weird checks for a maximum resource number (the ↵Filippos Karapetis
sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges). svn-id: r42219
2009-07-07Change SaveLoad_Playtoons caseArnaud Boutonné
svn-id: r42217
2009-07-07Removed the superfluous sci_version_types array (it's essentially the same ↵Filippos Karapetis
as the versionNames array) svn-id: r42216
2009-07-07- Add a new gametype for 'The Land of the Magic Stones'Arnaud Boutonné
- Add detection of the french version - Add a new game feature for 800*600 svn-id: r42215
2009-07-07- Separate Playtoons gametypes from in GobEngine::initGameParts()Arnaud Boutonné
- Add a specific save/load class for Playtoons as some specific files need to be tested svn-id: r42214
2009-07-07Cleanup: added an enum for the auto-detected features, removed the selectors ↵Filippos Karapetis
which are only used for auto-detection from the convenience selector map and placed feature auto-detection in a separate function. Also, now the automatically detected graphics resources are shown in the console. svn-id: r42212
2009-07-07Added auto-detection for games with older headers for script blocks, and ↵Filippos Karapetis
removed game flag GF_SCI0_OLD svn-id: r42211
2009-07-07Added a SCI1.1 case in the lofss opcode, like in the lofsa opcode ↵Filippos Karapetis
(essentially, lofss and lofsa both load an offset, with lofsa loading it in the accumulator and lofss in the stack). lofss is rarely used in SCI1.1 games, which explains why no lofss-related crashes have been observed in SCI1.1 svn-id: r42209
2009-07-07Add detection of Playtoons 2 EnArnaud Boutonné
svn-id: r42208
2009-07-07- Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA ↵Filippos Karapetis
has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01 - Simplified the checks for EGA and VGA graphics - Fixed a bug in script_adjust_opcode_formats() - Simplified the code in GfxResManager::getView() a bit svn-id: r42206
2009-07-07Removed the shooting workaround delay - the overlay number can vary, so it ↵Paul Gilbert
isn't a reliable way of identifying the specific message svn-id: r42205
2009-07-07Set the correct sound rate for Personal Nightmare.Travis Howell
svn-id: r42202
2009-07-07Prevent a crash when the engine errors out before the game state is initializedFilippos Karapetis
svn-id: r42201
2009-07-07Removed unused defineFilippos Karapetis
svn-id: r42200
2009-07-07Fix to the return values of the Op_GetMouseButton library function now ↵Paul Gilbert
allows the game's "Fisticuffs path" to work properly svn-id: r42199
2009-07-07Added workaround to briefly pause when displaying the first message of the ↵Paul Gilbert
shooting cut-scene, so it can be read properly svn-id: r42198
2009-07-07Bugfix so that user delays work correctlyPaul Gilbert
svn-id: r42197
2009-07-07Bugfix so the game speed will correctly change after showing the credits ↵Paul Gilbert
when the game is restarted svn-id: r42196
2009-07-06Renamed SCI_VERSION_01 -> SCI_VERSION_01_EGAFilippos Karapetis
svn-id: r42181
2009-07-06Fix RTL from Kyra3 main menu. (It now doesn't quit ScummVM anymore)Johannes Schickel
svn-id: r42180
2009-07-06Swapped the music and audio resource check for SCI1.1 games. Digital sound ↵Filippos Karapetis
effects are now preferred over the synthesized ones svn-id: r42179
2009-07-06KQ6CD should be working correctly againFilippos Karapetis
svn-id: r42178
2009-07-06Groovie: Improve ROQ timing and audio sync (noticeable at least in the ↵Jordi Vilalta Prat
Clandestiny trailer) svn-id: r42177
2009-07-06Loop over the string instead of copying and then editing it (hopefully, the ↵Sven Hesse
PSP GCC won't ICE again here :P) svn-id: r42176
2009-07-06add workaround for PSP compiler ICEJoost Peters
svn-id: r42175
2009-07-06Proper handling of sound effects marked as music resourcesFilippos Karapetis
svn-id: r42174
2009-07-06Removed all the current special cases coding for user (mouse press) waiting, ↵Paul Gilbert
and reimplemented it exactly the way the original did svn-id: r42173
2009-07-06When a song isn't found, send a "stop handle" event so that the engine won't ↵Filippos Karapetis
wait forever (e.g. in SQ4CD, perhaps others) svn-id: r42172
2009-07-06Splitting up the big evaluate() functionSven Hesse
svn-id: r42171