Age | Commit message (Collapse) | Author |
|
Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
|
|
svn-id: r11025
|
|
svn-id: r10997
|
|
svn-id: r10995
|
|
svn-id: r10984
|
|
svn-id: r10982
|
|
console from the SCUMM engine. I decided that would be easier than to clean
up the original console code.
Unfortunately there's a bunch of code that I just copied - a pretty lousy
form of code-reusal. It'd be nice if the console could be made part of the
Engine class, or something like that.
Most of the debug commands seem to be working. Some aren't relevant for
ScummVM, and some are a bit obscure so I'm not quite sure what they're
supposed to be doing.
svn-id: r10978
|
|
touches a lot of the code, of course, and adds yet another global variable
(temporarily, I hope), but everything still seems to work.
Knock on wood.
svn-id: r10806
|
|
svn-id: r10769
|
|
analogous to the SkyAutoRoute class.
svn-id: r10754
|
|
global variable which will hopefully be dealt with later.)
svn-id: r10734
|
|
svn-id: r10682
|
|
and made some other minor cleanups.
svn-id: r10614
|
|
headers. Most (all?) of the ones we need should probably come from stdafx.h
instead.
svn-id: r10588
|
|
usage); renamed Sword2State to Sword2Engine
svn-id: r10583
|
|
svn-id: r10581
|
|
This pretty much concludes the first stage of the engine cleanup. All of
the files, except for console/debugging stuff and possibly some header
files, have been changed to use the ScummVM brace style.
As for the console, that one could probably do with some rewriting, in
which case cleaning it up first would just be unnecessary work.
The next stages of the cleanup should include renaming of variables and
functions to follow the ScummVM coding standards, and turning everything
into C++ classes. And so on.
Of course, the driver directory should go through a similar cleanup as
well.
This has all been enormously tedious, so don't count on me doing any of
these things at the moment. Particularly not turning everything into C++
classes. I'm really not that familiar with C++. :-)
svn-id: r10340
|
|
simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes
svn-id: r10278
|
|
for the making it a timer handler. This should eliminate the occasional
glitches I've been seeing with fades not being completed.
I'm also hoping that it will fix the problem where the game would sometimes
hang when moving between rooms. I know that at least once when I had that
happen to me the game was busy-waiting for the palette to fade.
At the very least, it's one place less to worry about thread-safety in.
svn-id: r9854
|
|
svn-id: r9845
|
|
than telling it to load a slot as it validates the saves and doesn't try to load a non existent save etc, its also similiar to what the original did (any command line params at all would load the restore menu)
svn-id: r9843
|
|
svn-id: r9828
|
|
svn-id: r9822
|
|
svn-id: r9330
|
|
svn-id: r9328
|
|
besides this way all our engines start with an "s" ;)
svn-id: r9301
|
|
svn-id: r9280
|
|
svn-id: r9229
|
|
svn-id: r9211
|