Commit Graph
86814 Commits
Author SHA1 Message Date
Filippos Karapetis a542ce174b Proper fix for kernel name loading (regression from commit #49537)
svn-id: r49544
2010-06-09 15:28:14 +00:00
Filippos Karapetis 3c9ab81a07 Fixed regression from commit #49537
svn-id: r49543
2010-06-09 15:21:10 +00:00
Filippos Karapetis 32d7f7ddb0 Disabled the mouse warping code, as it can be annoying in windowed mode
svn-id: r49542
2010-06-09 14:16:00 +00:00
Yotam Barnoy f770156dcc PSP: fixed missing frame issue with kyrandia and possibly other games by calling updateScreen() from pollEvent() once in a while
svn-id: r49541
2010-06-09 14:15:51 +00:00
Filippos Karapetis 015262a0ee Fixed compilation when the old sound code is used
svn-id: r49540
2010-06-09 14:06:16 +00:00
Johannes Schickel 5b2a60d049 Rewind the underlying audio stream on LoopingAudioStream creation.
Also mention in the documentation that both LoopingAudioStream and
SubLoopingAudioStream do rewind the underlying in their constructor.

svn-id: r49539
2010-06-09 13:34:15 +00:00
Martin Kiewitz 0f2e6b0f85 SCI: fix multiple playing of the same sound in a row (without using looping) - thx to LordHoto for helping me finding this one out - fixes pharkas right at the start (hammering only played once)
svn-id: r49538
2010-06-09 13:27:59 +00:00
Filippos Karapetis 2c629a04dd Merged script_init_engine() and game_init() and cleaned up SciEngine::run() a bit
svn-id: r49537
2010-06-09 10:45:54 +00:00
Filippos Karapetis 536b2614e8 Globals from script 0 are now initialized in script_init_engine(), and are accessed from the relevant variables pointer. Removed direct reference to script 0 from the engine state
svn-id: r49536
2010-06-09 09:17:48 +00:00
Willem Jan Palenstijn 95b080f60b Fix compile errors
svn-id: r49535
2010-06-09 08:49:37 +00:00
Filippos Karapetis 5cb311ee2c Renamed the SciEvent class to EventManager, to separate it from the sciEvent structure, and removed it from the engine state
svn-id: r49534
2010-06-09 07:59:42 +00:00
Filippos Karapetis 10aeb33a42 Merged restAdjust and restAdjustCur, as we don't save the restAdjust modifier inside saved games (rightfully so). Also, the segment manager is now reset inside the main loop, when the game is restarted, not in game_exit()
svn-id: r49533
2010-06-09 07:32:17 +00:00
Alejandro Marzini 9f2358612a Created DefaultAudioCDManager and SdlAudioCDManager
svn-id: r49532
2010-06-09 05:39:27 +00:00
Alejandro Marzini 7840aa1966 Added directives for avoiding compilation of sdl managers on platforms that don't use them (Other platforms may also need to be added later)
svn-id: r49531
2010-06-09 05:29:14 +00:00
Tony Puccinelli d6b194aaa8 added tentative GDB flag to Makefile, changed calls to psp-functions to equivalent ps2-functions in ps2loader, minor rearrangement of code in systemps2
svn-id: r49530
2010-06-09 04:04:34 +00:00
Alejandro Marzini 5548548f95 Removed feature methods. Destructor made virtual.
svn-id: r49529
2010-06-09 03:38:57 +00:00
Alejandro Marzini 4fe0b4e1ad Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure virtual class GraphicsManager.
svn-id: r49528
2010-06-08 23:44:05 +00:00
Angus Lees b494d46fdd chmod +x mkmanifest.pl
svn-id: r49526
2010-06-08 23:29:48 +00:00
Filippos Karapetis 81907a8e6f Don't shrink the stack after reconstructing it, when loading a saved game. Fixes game restoring in some games (e.g. LSL3), a regression from commit #49376
svn-id: r49525
2010-06-08 23:29:35 +00:00
Martin Kiewitz dc8b826f5e SCI: set default palette after initializing music driver, fixes palette getting messed up when using mt32 emulation
svn-id: r49523
2010-06-08 22:00:59 +00:00
Filippos Karapetis eafc63e572 Cleanup
svn-id: r49521
2010-06-08 21:21:19 +00:00
Martin Kiewitz 6474eaa1b2 SCI: check for SOL header in audio36 patches
svn-id: r49520
2010-06-08 21:15:53 +00:00
Filippos Karapetis 9304b5fbeb Merged the restarting_flags, script_abort_flag, and restoring members of the EngineState class into one variable, abortScriptProcessing. The flag kept to signify a game restart has been placed in a boolean, gameWasRestarted
svn-id: r49518
2010-06-08 21:05:46 +00:00
David Turner 641ffa5ee3 Modification to remove false positive "Possible divide by zero" warnings given by cppcheck-1.43.
These are incorrect as '/' operator has precedence over >>, but this does improve readability anyway.

This bug in cppcheck has already been corrected: http://sourceforge.net/apps/trac/cppcheck/ticket/1714

svn-id: r49517
2010-06-08 20:29:33 +00:00
Neeraj Kumar 52cf6e4caa added working test for palettized cursors, tests mouse events as well
svn-id: r49516
2010-06-08 20:24:54 +00:00
Filippos Karapetis 73010518b2 Fixed compilation when the SCI32 code is disabled
svn-id: r49514
2010-06-08 19:36:33 +00:00
Filippos Karapetis 67690e89a3 Merged _game_run() inside game_run(). Some cleanup
svn-id: r49513
2010-06-08 18:44:27 +00:00
Filippos Karapetis 3d0ac2a676 Merged sync_SegManagerPtr() inside EngineState::saveLoadWithSerializer()
svn-id: r49512
2010-06-08 18:23:38 +00:00
Neeraj Kumar 207a5e0779 updated my outdate copy of trunk, added couple of more tests in gfxtests
svn-id: r49510
2010-06-08 17:24:29 +00:00
Martin Kiewitz 12ca735ceb SCI: use base36 sync/audio patches for sci1.1 as well and also check if patch filenames make sense, otherwise skip them - also remove hack for excluding bootdisk.* and aud*.drv
svn-id: r49509
2010-06-08 15:08:45 +00:00
Angus Lees 8a3837ff3a Add png icon files that were too binary to be part of original Android patch.
svn-id: r49508
2010-06-08 13:38:47 +00:00
Angus Lees f6b02e9986 Whitespace fixup in last submit. I'll get the hang of this eventually :/
svn-id: r49507
2010-06-08 13:27:46 +00:00
Angus Lees d72ae64e34 Provide a replacement for bionic's __assert().
The usual Android version doesn't actually print the assert message
before aborting.

svn-id: r49506
2010-06-08 13:25:00 +00:00
Angus Lees ec524e3705 Remove obsolete ANDROID_VERSION_GE macro
svn-id: r49505
2010-06-08 13:23:08 +00:00
Angus Lees 33c2e03ccc Remove unnecessary explicit _endian=little for Android
svn-id: r49504
2010-06-08 13:18:25 +00:00
Filippos Karapetis 5ba761a687 Made reconstruct_stack() a member of SegManager
svn-id: r49503
2010-06-08 13:16:30 +00:00
Angus Lees fb73cef4d9 Add a few files mistakenly left out of initial Android patch :(
svn-id: r49502
2010-06-08 13:15:15 +00:00
Filippos Karapetis 707ccdbac7 Add a version check for base36 encoded patches - they were introduced in SCI2
svn-id: r49501
2010-06-08 13:15:05 +00:00
Martin Kiewitz f743468ec7 SCI: if song isn't playing, set signal and don't set fadeout/fadein variables - fixes lsl3 music lost after entering/exiting tv room (bug #3007406)
svn-id: r49500
2010-06-08 09:36:27 +00:00
Alejandro Marzini 7ea78b1036 Merged from trunk.
svn-id: r49499
2010-06-08 03:31:27 +00:00
Alejandro Marzini 7e9d54a69a Added Graphics and Mutex managers to makefile.
svn-id: r49498
2010-06-08 03:03:03 +00:00
Alejandro Marzini b5a8fdc974 Made Mixer to subclass from Common::NonCopyable.
svn-id: r49497
2010-06-08 01:07:10 +00:00
Alejandro Marzini 8f5e39079c Deleted DefaultAudioManager.
svn-id: r49496
2010-06-08 01:00:21 +00:00
Martin Kiewitz ea2e2053f2 SCI: slight cleanup on processPatch, etc.
svn-id: r49495
2010-06-07 21:55:57 +00:00
Martin Kiewitz ae599e63c2 SCI: fix regression from #49484, we were ignoring 65535 patches and this broke kq6 - the check was previously for -1 and this case wasn't able to happen at all, maybe it was left-over code from freesci somehow
svn-id: r49494
2010-06-07 21:33:55 +00:00
Tony Puccinelli dcdebf60b0 rearranged Makefile for clarity and added comments
svn-id: r49493
2010-06-07 19:54:14 +00:00
Filippos Karapetis 419b4b7348 Added support for SCI2+ base36 encoded patches (audio36 and sync36)
svn-id: r49491
2010-06-07 17:44:17 +00:00
Jordi Vilalta Prat b0cb5e7b7e Document the Groovie engine news and reorder in order to match the previous releases.
svn-id: r49490
2010-06-07 17:27:22 +00:00
Jordi Vilalta Prat 9255d7c3cb Remove some extra spaces
svn-id: r49489
2010-06-07 17:18:25 +00:00
Jordi Vilalta Prat 354499c737 Fix some typos in a comment
svn-id: r49488
2010-06-07 17:17:41 +00:00