Commit Graph

157 Commits

Author SHA1 Message Date
Filippos Karapetis
855b5320b3 DREAMWEB: Use ScummVM's save/load dialogs by default 2011-12-17 19:30:48 +02:00
Max Horn
719f3ec178 DREAMWEB: Convert a bunch of stuff to C++
Specifically, I started with openOb() and withWhat() which allowed to
remove offset_commandline and offset_openchangesize. A clean conversion of
these required a conversion of printMessage2 and getOpenedSize.
2011-12-15 13:44:40 +01:00
Max Horn
6b226d5943 DREAMWEB: Do savefile reading directly in loadPosition() / scanForNames() 2011-12-11 10:02:50 +01:00
Max Horn
3d753794e6 DREAMWEB: Move savefile creation into DreamGenContext::savePosition
Also, make sure the save file is properly finalized before being closed.
2011-12-11 10:01:28 +01:00
Max Horn
dfeb31e187 DREAMWEB: Add DreamWebEngine::getSavegameFilename 2011-12-11 10:01:28 +01:00
Max Horn
364b30425a DREAMWEB: Make use of member vars of class Engine 2011-12-11 10:01:28 +01:00
Max Horn
5b43fb6be7 DREAMWEB: Code formatting 2011-12-08 19:52:10 +01:00
Filippos Karapetis
5b5a684c05 Merge pull request #128 from fingolfin/dreamweb-segments
DREAMWEB: Refactor segment management
2011-12-08 00:31:33 -08:00
Max Horn
cb0a12033b DREAMWEB: Move more stuff to DreamBase 2011-12-08 00:24:25 +01:00
Max Horn
45a99e7276 DREAMWEB: Move sound related code to a new source file 2011-12-07 21:58:31 +01:00
Max Horn
4c64f87892 DREAMWEB: Some more workspace cleanup 2011-12-07 14:19:44 +01:00
Max Horn
0737888e0f DREAMWEB: Avoid accessing DreamWebEngine::_context whenever possible 2011-12-07 11:50:06 +01:00
Max Horn
3056c39a75 DREAMWEB: Convert volumeAdjust 2011-12-07 11:47:21 +01:00
Max Horn
f37b748676 DREAMWEB: Merge DreamWeb::fadeDos into DreamGenContext::fadeDOS 2011-12-07 11:19:48 +01:00
Max Horn
ce8b1e06c7 DREAMWEB: Merge DreamWebEngine::setPalette into DreamGenContext::showGroup 2011-12-07 11:15:37 +01:00
Max Horn
641e1bff59 DREAMWEB: Make DreamBase::engine protected 2011-12-07 11:07:42 +01:00
Max Horn
dc34fc1dfb DREAMWEB: Move generated constants out of class DreamGenContext 2011-12-07 10:32:22 +01:00
Bertrand Augereau
dfd1ff2db3 DREAMWEB: kTempCharset and kCurrentSet are managed out of the VM 2011-12-04 18:54:08 +01:00
Bertrand Augereau
87ac82db27 DREAMWEB: kIcons1 and kIcons2 ownership transferred from the VM to the engine 2011-12-04 18:23:30 +01:00
Willem Jan Palenstijn
d9e31be349 DREAMWEB: Convert 'readKey' and the keyboard buffer 2011-12-04 10:11:28 +01:00
Willem Jan Palenstijn
94fffc4327 DREAMWEB: Replace hardcoded constants by their symbolic names 2011-12-03 18:48:44 +01:00
D G Turner
349cbc527f DREAMWEB: Fix compilation due to dreamgen.* function renaming. 2011-12-01 19:43:43 +00:00
Bertrand Augereau
991370542b DREAMWEB: Fix (bad stride) 2011-11-18 14:57:01 +01:00
Bertrand Augereau
4a641764f7 DREAMWEB: No register dirtying in DreamWebEngine::printUnderMonitor 2011-11-18 11:55:25 +01:00
Willem Jan Palenstijn
21260b35c6 DREAMWEB: Fix OOM check 2011-11-01 16:00:59 +01:00
Bertrand Augereau
0baa0afb38 DREAMWEB: Better 'mouseCall' api, DreamWebEngine should not use _context, ideally 2011-08-25 07:46:23 +02:00
Willem Jan Palenstijn
8a5c8f3320 DREAMWEB: Add/fix loading from launcher
This is very error-prone, and needs testing.
2011-08-18 00:29:17 +02:00
Willem Jan Palenstijn
7280a569cb DREAMWEB: Hook up ScummVM save/load menu
The ScummVM menu will be used if dreamweb_originalsaveload
is set to true. This is very error-prone, and needs testing.
2011-08-18 00:28:08 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
eriktorbjorn
e25e85fbb0 DREAMWEB: Blacklist and reimplement cancelch0() and cancelch1()
Now any sound playing on the channels is stopped immediately. This
fixes missing voice-overs in the intro, makes it possible to skip
lines of conversation, and fixes a problem where the sound effect
from the Altar Room would keep playing after leaving the room.
Possibly other glitches as well.
2011-07-20 13:15:30 +02:00
Eugene Sandulenko
540d0260e6 DREAMWEB: Add ScummVM headers, remove SVN keywords. 2011-07-19 11:26:40 +01:00
eriktorbjorn
c378aadc3f DREAMWEB: Fix Valgrind warning 2011-07-18 10:31:13 +02:00
Vladimir Menshakov
7cf07dfa24 DREAMWEB: Fixed ß in german version(typo) 2011-07-07 13:35:08 +04:00
Vladimir Menshakov
08c8d3ca10 DREAMWEB: Minor cleanup in playSound, added kSpeechSoundType for speech 2011-06-25 18:46:10 +04:00
Vladimir Menshakov
dfb041ee2b DREAMWEB: Added missing syncSoundSettings() 2011-06-25 18:27:59 +04:00
Vladimir Menshakov
545e482b5a DREAMWEB: Reimplemented modifychar and language switching 2011-06-25 18:21:37 +04:00
Vladimir Menshakov
375298f69a DREAMWEB: Replaced foreign-guarded code with "foreignrelease" variable, added modifychar stub 2011-06-25 18:21:37 +04:00
Vladimir Menshakov
8148f4d81d DREAMWEB: Added ui settings integration 2011-06-23 23:52:59 +04:00
Vladimir Menshakov
e30b41b28e DREAMWEB: Added subtitle option 2011-06-23 23:30:12 +04:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Vladimir Menshakov
4ede98d748 DREAMWEB: Removed getback = 4 hack, added clean exit from every menus and credits 2011-06-19 15:50:22 +04:00
Vladimir Menshakov
41a399231b DREAMWEB: added stubs for loading from lancher (disabled). 2011-06-18 14:29:10 +04:00
Vladimir Menshakov
cf671227fe DREAMWEB: do not call updatescreen before quitting, fixed crash on dosreturn, cleaned up dosreturn stub 2011-06-18 13:33:58 +04:00
Vladimir Menshakov
4cdc9c9f8e DREAMWEB: implemented clean exit 2011-06-18 13:33:58 +04:00
Vladimir Menshakov
6fe3e63ed1 DREAMWEB: replaced generated code with c++ style stubs 2011-06-17 00:31:36 +04:00
Vladimir Menshakov
4fd3cdf984 DREAMWEB: Improved code formatting 2011-06-16 16:31:17 +04:00
Vladimir Menshakov
14121a6f57 DREAMWEB: moved stubs into stubs.cpp 2011-06-16 01:03:29 +04:00
eriktorbjorn
1cafd2de98 DREAMWEB: Reinstate some "hardware key" handling that got lost
It's still not quite as the original. In the original, Ctrl-<letter>
would be treated as <letter>. Is that worth fixing? Probably not.
2011-06-15 17:35:03 +02:00
Vladimir Menshakov
9c7c46bfde DREAMWEB: fixed final scene, better sound channel handling 2011-06-15 17:35:02 +02:00