Torbjörn Andersson
5628ee7417
cleanup
...
svn-id: r10308
2003-09-19 06:42:22 +00:00
Torbjörn Andersson
ccf2eb2cc6
Removed some #includes that seem to be unnecessary. I think we're going to
...
have to clean up the header files at some point...
svn-id: r10271
2003-09-17 14:03:11 +00:00
Torbjörn Andersson
5bf1974a08
Our ServiceWindows() never returns RDERR_APPCLOSED, and we always behave as
...
if we have the focus, so there's no need to check.
svn-id: r10130
2003-09-09 12:45:33 +00:00
Torbjörn Andersson
bb5f479a8c
Added a WaitForFade() function, to replace numerous while-loops scattered
...
througout the code.
svn-id: r10127
2003-09-09 12:14:08 +00:00
Torbjörn Andersson
aff37c083b
Hide the menus when displaying full-screen messages, e.g. error messages
...
from the save/load dialog. (This probably happened automagically in the
original, but we handle screen updates a bit differently now.)
svn-id: r10078
2003-09-08 06:32:37 +00:00
Torbjörn Andersson
66cdc7900e
Re-formatted the code to be a bit more in line with the rest of ScummVM.
...
svn-id: r9964
2003-09-02 09:54:42 +00:00
Torbjörn Andersson
fb060c6cbd
Disabled debug output. (I really need to get the debug message level to
...
work for BS2! :-)
svn-id: r9906
2003-08-29 06:46:52 +00:00
Torbjörn Andersson
ed698cb635
Added some code to stop producing interpolation frames if the scene has
...
already reached its scroll target. This keeps BS2 from using all available
CPU time all of the time.
It may still be that we need a mechanism for throttling the frame rate when
the scene is moving towards a scroll target, but my computer isn't really
fast enough to test that.
Two other bugs fixed in the process:
* I think the last frame of the render cycle was rendered, but not
displayed. If so, that should be fixed now.
* I discovered that there are cases where we do need to clear the screen
(e.g. at the "Meanwhile..." message when George has found out about the
Glease Gallery), so I've re-enabled the function and disabled it in the
render cycle.
svn-id: r9904
2003-08-29 06:42:34 +00:00
Torbjörn Andersson
259fb42459
I forgot to commit this file earlier. (It's only a FIXME comment anyway.)
...
svn-id: r9892
2003-08-28 12:26:28 +00:00
Max Horn
01f020da2b
SetPalette conflicts with an OS symbol on OS X
...
svn-id: r9829
2003-08-23 14:42:37 +00:00
Torbjörn Andersson
df247cff62
Unstubbed the Create/Draw/DeleteSurface() functions, and removed some
...
unnecessary stuff from our own Surface class. The former allows the in-game
dialogs to at least sort of work, and the latter gained me a few frames per
second, according to the built-in FPS counter.
svn-id: r9825
2003-08-23 13:02:21 +00:00
James Brown
ec447fdfbb
Remove a bunch of unneeded cruft - but barely the surface of it. This code is depressing and duplicated all over the place... I don't think I can bear to touch this code until it's undergone some MAJOR cleanup :)
...
svn-id: r9782
2003-08-19 14:57:26 +00:00
Oliver Kiehl
0f85cc3061
rename bs2 to sword2 to have the same name as the original engine.
...
besides this way all our engines start with an "s" ;)
svn-id: r9301
2003-07-30 19:25:31 +00:00
Jonathan Gray
2b0c2a20b2
match prototype
...
svn-id: r9238
2003-07-28 10:28:29 +00:00
Jonathan Gray
f22cca2be2
rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VC
...
svn-id: r9237
2003-07-28 09:49:46 +00:00
Jonathan Gray
98b1a0d7ff
replace DWORD usage with uint32
...
svn-id: r9235
2003-07-28 08:04:03 +00:00
Jonathan Gray
d520390cc5
rename functions with windows specific names
...
svn-id: r9233
2003-07-28 07:47:21 +00:00
Travis Howell
42ba111063
A few warnings
...
svn-id: r9224
2003-07-28 03:49:25 +00:00
Travis Howell
ccc40eecc9
Compiles on mingw now
...
svn-id: r9222
2003-07-28 03:12:49 +00:00
Max Horn
80bea5bc72
fixed some warnings
...
svn-id: r9216
2003-07-28 02:10:24 +00:00
Jonathan Gray
f020d28b5e
bs2
...
svn-id: r9211
2003-07-28 01:44:38 +00:00