Commit graph

217 commits

Author SHA1 Message Date
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
eriktorbjorn
dfaa1e32b7 DREAMWEB: Filter out "illegal" characters
This is fairly restrictive (just like the original) so we may went
to let through a few more characters eventually. For now, let's be
conservative. It was possible to enter characters that would show
up in the save dialog as weird or underlined characters.
2011-06-15 17:35:02 +02:00
eriktorbjorn
cde28452f7 DREAMWEB: The readabyte() function is no longer needed. 2011-06-15 17:35:01 +02:00
Vladimir Menshakov
cd4b0a8b6a DREAMWEB: cleaned up keys handling 2011-06-15 17:35:01 +02:00
Vladimir Menshakov
cf942d9308 DREAMWEB: cleanup keys handling, added turbo shortcut 2011-06-15 17:35:00 +02:00
Vladimir Menshakov
5826ae88ae DREAMWEB: cut upper volume limit 2011-06-15 17:34:59 +02:00
Vladimir Menshakov
8a87835638 DREAMWEB: added comment about volumes 2011-06-15 17:34:59 +02:00
Vladimir Menshakov
9008f2c442 DREAMWEB: added volume setting (maybe wrong) 2011-06-15 17:34:58 +02:00
Vladimir Menshakov
dca78aa964 DREAMWEB: fixed cd-version without savefiles 2011-06-15 17:34:58 +02:00
Vladimir Menshakov
84745add6e DREAMWEB: added volume support (stubs for now) 2011-06-15 17:34:58 +02:00
Vladimir Menshakov
25824b20ed DREAMWEB: added sound status check 2011-06-15 17:34:57 +02:00
Vladimir Menshakov
074436985f DREAMWEB: renamed playSpeech to loadSpeech 2011-06-15 17:34:57 +02:00
Vladimir Menshakov
932abf8c3b DREAMWEB: regenerated sources with CD option on 2011-06-15 17:34:56 +02:00
Vladimir Menshakov
bf28698bca DREAMWEB: fixed shakeTable to do not pass negative values into backend, added CTRL-c statue puzzle solver shortcut 2011-06-15 17:34:56 +02:00
Vladimir Menshakov
78b1a60611 DREAMWEB: patch sprite table after deallocating segment with sprites. 2011-06-15 17:34:55 +02:00
Vladimir Menshakov
8ede458e77 DREAMWEB: fixed invalid channel, removed junk 2011-06-15 17:34:48 +02:00
Vladimir Menshakov
daab18a7be DREAMWEB: stop previous sound if it's still active 2011-06-15 17:34:47 +02:00
Vladimir Menshakov
7e7152df28 DREAMWEB: removed looping on channel1 2011-06-15 17:34:47 +02:00
Vladimir Menshakov
1955df129f DREAMWEB: added sound support 2011-06-15 17:34:46 +02:00
Vladimir Menshakov
74dfc34937 DREAMWEB: added sounds loading 2011-06-15 17:34:46 +02:00
Vladimir Menshakov
5a8b1dbfff DREAMWEB: catch the sample changing, more stubs 2011-06-15 17:34:45 +02:00
Vladimir Menshakov
09346f01d7 DREAMWEB: added sound handling stub 2011-06-15 17:34:45 +02:00
Vladimir Menshakov
e7b6859274 DREAMWEB: fixed memory corruption in multiput/multiget 2011-06-15 17:34:44 +02:00
Vladimir Menshakov
49e7c7a735 DREAMWEB: fixed occasional stripping of the strings in data segment 2011-06-15 17:34:43 +02:00
Vladimir Menshakov
f46a889e6d DREAMWEB: fixed invalid buffer len 2011-06-15 17:34:43 +02:00
Vladimir Menshakov
cf6b88b174 DREAMWEB: report uppercased letters to the code 2011-06-15 17:34:42 +02:00
Vladimir Menshakov
167d401ad7 DREAMWEB: fix registers on exit from stubs 2011-06-15 17:34:42 +02:00
Vladimir Menshakov
93cf9993ea DREAMWEB: report click only once, this fixes phantom clicks after loading or between screens. 2011-06-15 17:34:42 +02:00
Vladimir Menshakov
d69e437d42 DREAMWEB: do not return invalid register from the deallocate memory 2011-06-15 17:34:41 +02:00
Vladimir Menshakov
55c366b988 DREAMWEB: fixed monitor scrolling 2011-06-15 17:34:41 +02:00
Vladimir Menshakov
308fcf0953 DREAMWEB: added setSpeed, CTRL-F shortcut and removed erik's comment because it's good idea :) 2011-06-15 17:34:40 +02:00
eriktorbjorn
92a11ea59d DREAMWEB: Make new function for getting name of file to open. 2011-06-15 17:34:39 +02:00
eriktorbjorn
4547e7314c DREAMWEB: Make it possible to type the letter D 2011-06-15 17:34:38 +02:00
Vladimir Menshakov
edf7d9b42b DREAMWEB: unstubbed printundermon 2011-06-15 17:34:38 +02:00
eriktorbjorn
de65cf35c1 DREAMWEB: Simplify the tracking of the mouse position and buttons
The event manager keeps track of the mouse position and button
state, so using that should be both simpler and more reliable
than tracking it ourselves.

This loses the support for middle-clicking, but it's not clear
that this is needed anyway. (If necessary, it could be added to
the event manager.)
2011-06-15 17:34:36 +02:00
eriktorbjorn
0f8eacf0bd DREAMWEB: Fix the maingamepal offset. (It changed recently.) 2011-06-15 17:34:26 +02:00
Vladimir Menshakov
c330f5d0b8 DREAMWEB: modify register after raster operations 2011-06-15 17:34:25 +02:00
eriktorbjorn
562f1ed8b8 DREAMWEB: Rewrite the PCX decoder i C++ 2011-06-15 17:34:23 +02:00
Vladimir Menshakov
3f53cb9244 DREAMWEB: removed warning about 16 colors palette, initialize mouseState 2011-06-15 17:34:23 +02:00
Vladimir Menshakov
1ac23aa858 DREAMWEB: added middle mouse key handling 2011-06-15 17:34:22 +02:00
Vladimir Menshakov
4ba74f73e1 DREAMWEB: moved quit() into engine's method 2011-06-15 17:34:22 +02:00