aboutsummaryrefslogtreecommitdiff
path: root/sword2/build_display.cpp
AgeCommit message (Collapse)Author
2003-09-27More cleanup, and I've replaced most - not quite all - of BS2's debugTorbjörn Andersson
message functions with our own. We still need to go through them and assign sensible debug levels to them. svn-id: r10422
2003-09-26Some more reformatting / cleanup, and removal of comments that did nothingTorbjörn Andersson
but say who added what when. (No disrespect intended, but this information means very little to us.) svn-id: r10413
2003-09-24Replaced abs() with ABS and BOOL with bool, plus some minor cleanups.Torbjörn Andersson
svn-id: r10391
2003-09-21ScummVM code formatting conventionsTorbjörn Andersson
svn-id: r10350
2003-09-19cleanupTorbjörn Andersson
svn-id: r10308
2003-09-17Removed some #includes that seem to be unnecessary. I think we're going toTorbjörn Andersson
have to clean up the header files at some point... svn-id: r10271
2003-09-09Our ServiceWindows() never returns RDERR_APPCLOSED, and we always behave asTorbjörn Andersson
if we have the focus, so there's no need to check. svn-id: r10130
2003-09-09Added a WaitForFade() function, to replace numerous while-loops scatteredTorbjörn Andersson
througout the code. svn-id: r10127
2003-09-08Hide the menus when displaying full-screen messages, e.g. error messagesTorbjörn Andersson
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-02Re-formatted the code to be a bit more in line with the rest of ScummVM.Torbjörn Andersson
svn-id: r9964
2003-08-29Disabled debug output. (I really need to get the debug message level toTorbjörn Andersson
work for BS2! :-) svn-id: r9906
2003-08-29Added some code to stop producing interpolation frames if the scene hasTorbjörn Andersson
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-28I forgot to commit this file earlier. (It's only a FIXME comment anyway.)Torbjörn Andersson
svn-id: r9892
2003-08-23SetPalette conflicts with an OS symbol on OS XMax Horn
svn-id: r9829
2003-08-23Unstubbed the Create/Draw/DeleteSurface() functions, and removed someTorbjörn Andersson
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-19Remove a bunch of unneeded cruft - but barely the surface of it. This code ↵James Brown
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-07-30rename bs2 to sword2 to have the same name as the original engine.Oliver Kiehl
besides this way all our engines start with an "s" ;) svn-id: r9301
2003-07-28match prototypeJonathan Gray
svn-id: r9238
2003-07-28rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VCJonathan Gray
svn-id: r9237
2003-07-28replace DWORD usage with uint32Jonathan Gray
svn-id: r9235
2003-07-28rename functions with windows specific namesJonathan Gray
svn-id: r9233
2003-07-28A few warningsTravis Howell
svn-id: r9224
2003-07-28Compiles on mingw nowTravis Howell
svn-id: r9222
2003-07-28fixed some warningsMax Horn
svn-id: r9216
2003-07-28bs2Jonathan Gray
svn-id: r9211