Commit Graph
224 Commits
Author SHA1 Message Date
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
Vladimir Menshakov 04ee3aefae DREAMWEB: implemented doshake 2011-06-15 17:34:22 +02:00
Vladimir Menshakov bd28564594 DREAMWEB: removed ugly static engine 2011-06-15 17:34:21 +02:00
Vladimir Menshakov 5fda321a80 DREAMWEB: added the same magic for opening files 2011-06-15 17:34:21 +02:00
Vladimir Menshakov b673130bf4 DREAMWEB: implemented somewhat hackish read from currently open file 2011-06-15 17:34:20 +02:00
Vladimir Menshakov f592fe1881 DREAMWEB: unstubbed scanfornames 2011-06-15 17:34:20 +02:00
Vladimir Menshakov c5ab591b79 DREAMWEB: unstabbed save 2011-06-15 17:34:19 +02:00
Vladimir Menshakov 8ddbbc0c50 DREAMWEB: moved out file write/read from sources 2011-06-15 17:34:18 +02:00
eriktorbjorn fdcb21ffee DREAMWEB: Unstub dosreturn().
Note that clicking on the "Return to DOS" button still calls a stub
function, but at least it no longer dies on mouse-over.
2011-06-15 17:34:18 +02:00
Vladimir Menshakov a3e9cef4d0 DREAMWEB: fixed a typo 2011-06-15 17:34:18 +02:00
Vladimir Menshakov 7eb8e0bbe7 DREAMWEB: unstubbed dontloadseg 2011-06-15 17:34:17 +02:00
Vladimir Menshakov 2bcc06f9ea DREAMWEB: cleanup frameoutnm 2011-06-15 17:34:16 +02:00
Vladimir Menshakov 92e2dc8899 DREAMWEB: cut rendering box to the screen size 2011-06-15 17:34:13 +02:00
eriktorbjorn 985d2facf2 DREAMWEB: Notice when the user presses ESC.
Unfortunately, skipping the intro does not work because of a stack
underrun. I have no idea what's wrong.
2011-06-15 17:34:13 +02:00
Vladimir Menshakov 3ecd3f9ca1 DREAMWEB: commented out noisy debug 2011-06-15 17:34:12 +02:00
Vladimir Menshakov 9b7b93e8ea DREAMWEB: fixed fades and palette setting 2011-06-15 17:34:12 +02:00
eriktorbjorn b01af82d09 DREAMWEB: Make it easier to quit (albeit not yet very gracefully) 2011-06-15 17:34:12 +02:00
Vladimir Menshakov d0404f4b61 DREAMWEB: moved palette fixes into set/getPalette 2011-06-15 17:34:11 +02:00
Vladimir Menshakov 938c14ddac DREAMWEB: increased vga frequency to 70Hz, fixed data segments 2011-06-15 17:34:11 +02:00
Vladimir Menshakov fd1360096b DREAMWEB: replace pitch with kScreenwidth 2011-06-15 17:34:10 +02:00
Vladimir Menshakov d70bc05b8e DREAMWEB: added assertion 2011-06-15 17:34:10 +02:00
eriktorbjorn c8be54bbd8 DREAMWEB: Cleaned up the PCX decoder slightly 2011-06-15 17:34:10 +02:00
Vladimir Menshakov 9034191796 DREAMWEB: removed dummy video segment, blacklisted video-related functions. 2011-06-15 17:34:07 +02:00
eriktorbjorn 038f19dfe9 DREAMWEB: The PCX decode works now.
There will be cleanups, and quite possibly a complete rewrite,
later. For now, this is encouraging enough. (The image looks wrong,
but that's because something else draws over it almost immediately.)

It currently cheats and sets the palette, where the original seems
to just store it in a buffer. I don't know where this should be
done.
2011-06-15 17:34:04 +02:00
eriktorbjorn 47ed2ce385 DREAMWEB: Fix typo 2011-06-15 17:34:04 +02:00
Vladimir Menshakov 9109f36c04 DREAMWEB: fixed typo in multidump 2011-06-15 17:34:00 +02:00
Vladimir Menshakov 5c629e3849 DREAMWEB: fixed invalid memcpys 2011-06-15 17:33:57 +02:00
Vladimir Menshakov e535e6e295 DREAMWEB: added keyboard handling 2011-06-15 17:33:56 +02:00
Vladimir Menshakov b04f590898 DREAMWEB: added forgotten updateScreen() 2011-06-15 17:33:56 +02:00
Vladimir Menshakov 8a72645c16 DREAMWEB: added setPalette instead of showgroup + framenm 2011-06-15 17:33:56 +02:00
Vladimir Menshakov 4c54bf9799 DREAMWEB: implemented multiXXX vga functions 2011-06-15 17:33:55 +02:00
Vladimir Menshakov 8cc8e73d1f DREAMWEB: blacklisted vga blitting functions 2011-06-15 17:33:55 +02:00
Vladimir Menshakov 2cb4eac5e0 DREAMWEB: removed hardcoded constant 2011-06-15 17:33:53 +02:00
Vladimir Menshakov 25a937e156 DREAMWEB: added fadedos 2011-06-15 17:33:52 +02:00
Vladimir Menshakov 33bb7c3f72 DREAMWEB: fixed memory deallocation 2011-06-15 17:33:51 +02:00
Vladimir Menshakov 834816db60 DREAMWEB: fixed loadseg 2011-06-15 17:33:50 +02:00
Vladimir Menshakov e654b50632 DREAMWEB: removed generated code 2011-06-15 17:33:48 +02:00
Torbjörn Andersson 4cea3245fe DREAMWEB: First attempt at unstubbing showpcx()
This is untested and incomplete, but I'm too tired to do an more
with it tonight, and it doesn't seem to cause any catastrophic
failures. Yet.
2011-06-15 17:33:47 +02:00
Vladimir 66ee7b20f5 DREAMWEB: removed noisy palette log 2011-06-15 17:33:45 +02:00
Vladimir bea919c9b4 DREAMWEB: fixed hardcoded offsets 2011-06-15 17:33:38 +02:00
Torbjörn Andersson a5bd71858b DREAMWEB: Adjusted mode640x480 slightly
I can't imagine it makes any diffrence, but I guess this function
should set these registers just in case...
2011-06-15 17:33:37 +02:00
Vladimir 83d7320712 DREAMWEB: fixed bogus logs 2011-06-15 17:33:33 +02:00
Vladimir fe40748d1a DREAMWEB: implemented loadseg 2011-06-15 17:33:30 +02:00
Vladimir 3bd7cb1902 DREAMWEB: fixed loadfromfile 2011-06-15 17:33:27 +02:00